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

ben-manes / caffeine / 1689
100%

Build:
DEFAULT BRANCH: master
Ran 07 Apr 2016 09:44AM UTC
Jobs 1
Files 64
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

pending completion
1689

push

travis-ci

ben-manes
Initialize the frequency sketch if initial capacity set

The frequency sketch, like the hash table, is lazily sized as entries
are added. This is delayed until the cache is at least 50% full and only
then begins recording frequencies. For the maximum size the total entry
count is known, while for the maximum weight it resizes based on the
map's size.

The 50% full laziness is based on observing that many caches are over
sized to give a safety net bounding. This is especially true when
expirable.

In the case of a maximum weight, many times the user has a rough idea
of the expected entry count (e.g. maximum weight / avg entry byte size).
If they are already sizing the hash table then we should size the other
data structures similarly.

5074 of 5363 relevant lines covered (94.61%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1689.1 (TERM=dumb) 07 Apr 2016 09:44AM UTC 0
94.61
Travis Job 1689.1
Source Files on build 1689
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1689
  • 9711f8bb on github
  • Prev Build on master (#1688)
  • Next Build on master (#1690)
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