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

ben-manes / caffeine / 1405 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 14 Oct 2015 04:46AM UTC
Files 61
Run time 1s
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

14 Oct 2015 04:08AM UTC coverage: 94.759% (-0.06%) from 94.814%
TERM=dumb

push

travis-ci

ben-manes
Add fast path read for hottest entries

An access that is recorded only for the maximum size policy can be
now be skipped if the entry is considered "hot". A hot entry resides
in the top region of the least-recently-used space of the MAIN queue.
This is sized at about 6.25% of the total entries.

The observation is that a cache typically obeys the power law, so the
hottest entries are requested the most frequently. When a hot entry's
status degrades there is a very high likelihood that it will be used
again before eviction, so it will regain its hot status. The impact in
the simulator showed roughly 0.05% change to the hit rate.

The distance count per entry is stored in the unused bits of the status
flag of whether the entry is in the EDEN or MAIN queue. The cost is
merely two entry integers on the cache.

This optimization is disabled if expireAfterAccess or reference caching
is used, as per-access recording is still needed.

Tests and benchmarks are the next step.

4104 of 4331 relevant lines covered (94.76%)

0.95 hits per line

Source Files on job 1405.1 (TERM=dumb)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1405
  • Travis Job 1405.1
  • be30125c on github
  • Prev Job for TERM=dumb on master (#1404.1)
  • Next Job for TERM=dumb on master (#1406.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc