• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

allegro / bigcache / 408
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: feature/176-migrate-to-codecov
DEFAULT BRANCH: master
Ran 26 Sep 2019 06:35PM UTC
Jobs 2
Files 15
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Sep 2019 06:31PM UTC coverage: 91.521% (+0.8%) from 90.743%
408

Pull #168

travis-ci

web-flow
New Get API which returns additional information about the entry

enhancement: added new data struct Response, which will be returned when
calling GetWithInfo(). Caller can use this Response to check the status
of the Entry, whether its Expired or not. Default '0' means its still
in use.

Test: added test case for the api and made sure all tests cases are
successful. made sure that testing is above par level

Benchmarking Result:

GOROOT=/usr/local/Cellar/go@1.12/1.12.9/libexec #gosetup
GOPATH=/Users/jaygheewala/.go #gosetup
/usr/local/Cellar/go@1.12/1.12.9/libexec/bin/go test -c -o /private/var/folders/tr/0xbgwcsn60l6j_64qlfdxztm0000gp/T/___gobench_github_com_allegro_bigcache_v2 github.com/allegro/bigcache/v2 #gosetup
/private/var/folders/tr/0xbgwcsn60l6j_64qlfdxztm0000gp/T/___gobench_github_com_allegro_bigcache_v2 -test.v -test.bench . -test.run ^$ #gosetup
goos: darwin
goarch: amd64
pkg: github.com/allegro/bigcache/v2
BenchmarkWriteToCacheWith1Shard-12                             	 2000000	       694 ns/op	     579 B/op	       3 allocs/op
BenchmarkWriteToLimitedCacheWithSmallInitSizeAnd1Shard-12      	 3000000	       449 ns/op	      41 B/op	       3 allocs/op
BenchmarkWriteToUnlimitedCacheWithSmallInitSizeAnd1Shard-12    	 1000000	      1670 ns/op	    3448 B/op	       2 allocs/op
BenchmarkWriteToCache/1-shards-12                              	 2000000	       574 ns/op	     579 B/op	       3 allocs/op
BenchmarkWriteToCache/512-shards-12                            	10000000	       164 ns/op	     573 B/op	       3 allocs/op
BenchmarkWriteToCache/1024-shards-12                           	10000000	       151 ns/op	     574 B/op	       3 allocs/op
BenchmarkWriteToCache/8192-shards-12                           	10000000	       186 ns/op	     579 B/op	       3 allocs/op
BenchmarkReadFromCache/1-shards-12                             	 5000000	       324 ns/op	     271 B/op	       2 allocs/op
BenchmarkReadFromCache/512-shards-12                           	 5... (continued)
Pull Request #168: New Get API which returns additional information about the entry

49 of 49 new or added lines in 2 files covered. (100.0%)

734 of 802 relevant lines covered (91.52%)

350478.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 408.1 (GO111MODULE=on) 26 Sep 2019 06:35PM UTC 0
91.52
Travis Job 408.1
2 408.2 (GO111MODULE=on) 26 Sep 2019 06:38PM UTC 0
84.78
Travis Job 408.2
Source Files on build 408
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #408
  • Pull Request #168
  • PR Base - master (#405)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc