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

ben-manes / caffeine / #5677
100%

Build:
DEFAULT BRANCH: master
Ran 23 Jul 2026 01:47AM UTC
Jobs 1
Files 78
Run time 1min
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

23 Jul 2026 12:47AM UTC coverage: 99.953%. Remained the same
#5677

push

github

ben-manes
Materialize the clairvoyant look-ahead to a shared file

opt.Clairvoyant and admission.Clairvoyant each held the whole trace in
memory to compute Belady's next-access times. Materialize them once, up
front, to a fixed-width temp file that every clairvoyant consumer shares
via a sequential cursor, so only the resident set stays on the heap. The
pass also freezes a synthetic trace so the admitter replays the same
sequence the policies see; it previously re-read the trace and threw on
synthetic input.

A forward pass appends the records and a backward pass fills each
next-access pointer from a nextSeen map, keeping the I/O sequential and
the heap at O(distinct keys); a key-only trace is read straight from its
LongStream with no per-event boxing. The reader reaches the policies
through a ScopedValue bound only while they are constructed.

On ARC's DS1 at 4M it runs ~2x faster than the in-memory version and
fits ~4x less heap (512 MB vs 2 GB), bit-for-bit identical.

4192 of 4203 branches covered (99.74%)

8471 of 8475 relevant lines covered (99.95%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5677.1 23 Jul 2026 01:47AM UTC 78
99.95
Source Files on build #5677
  • Tree
  • List 78
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 1226a679 on github
  • Prev Build on v3.dev
  • Next Build on master
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