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

allegro / bigcache / 408 / 1
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: feature/176-migrate-to-codecov
DEFAULT BRANCH: master
Ran 26 Sep 2019 06:35PM UTC
Files 15
Run time 2s
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%
GO111MODULE=on

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

734 of 802 relevant lines covered (91.52%)

350475.37 hits per line

Source Files on job 408.1 (GO111MODULE=on)
  • Tree
  • List 0
  • Changed 10
  • Source Changed 2
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 335
  • Travis Job 408.1
  • ad141c71 on github
  • Prev Job for GO111MODULE=on on get_api_info (#405.1)
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

© 2026 Coveralls, Inc