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

ben-manes / caffeine / 1695
100%

Build:
DEFAULT BRANCH: master
Ran 13 Apr 2016 04:35PM 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
1695

push

travis-ci

ben-manes
Improve correctness to match theoretical W-TinyLFU

When the same random hash seed is used, there was a 0.5% loss on the
multi1 trace. Likely other small traces had a similar difference. This
was due to a sizing difference and early promotion of eden entries into
the main space. That led to prematurely designating the warm-up entries
as protected, causing their eligibility for eviction to be delayed.

These were intentional, but for a conurrency optimization that didn't
pan out. The idea had been that the hottest entries could be detected and
the policy work skipped, thereby avoiding read buffer contention. Since
that trick wasn't beneficial it was never enabled and removed.

This won't effect large traces very much, but is confusing on small ones.
Now the only remaining difference is due to the buffer being lossy when
full, which causes a 0.01% difference. That could be fixed by an if
statement to convey full early instead of late, but it seems unnecessary
given Pareto principle.

5066 of 5365 relevant lines covered (94.43%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1695.1 (TERM=dumb) 13 Apr 2016 04:35PM UTC 0
94.43
Travis Job 1695.1
Source Files on build 1695
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1695
  • 5b46f8a7 on github
  • Prev Build on master (#1694)
  • Next Build on master (#1696)
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