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

ben-manes / caffeine / #5626
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: v3.dev
DEFAULT BRANCH: master
Ran 13 Jul 2026 10:17PM 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

13 Jul 2026 10:03PM UTC coverage: 99.988%. Remained the same
#5626

push

github

ben-manes
Keep the simulator SimpleClimber faithful to BLC's climber

SimpleClimber is a readable reference for the production hill climber,
so it should represent the algorithm at full quality -- simpler only by
shedding library machinery, not by being a weaker climber. Two
algorithmic improvements BLC has were missing:

- Direction: it started every cache shrinking the window. BLC grows the
  window first for small caches (setStepSize's positive sign at
  maximum <= SMALL_CACHE_THRESHOLD, from "Improve hill climber
  adaptation at small cache sizes"). Start increaseWindow = isSmallCache.

- Freeze: the large-cache path set sampleSize = Integer.MAX_VALUE once
  the step decayed below 0.01, which made adapt()'s restart unreachable
  -- a permanent stall through any later workload shift. BLC never
  freezes; it keeps decaying the step and revives it on a hit-rate
  change. Drop the freeze and floor sampleSize at 1 so the restart
  stays reachable.

The default sample-decay-rate is 1.0, so the period was already fixed
like BLC's; only the freeze and initial direction diverged. Verified on
the corda_large + 5x loop + corda_large stress trace and a spread of
bundled LIRS traces at 512: net positive (corda +2.05, sprite +1.32,
multi3 +1.17; small losses within noise), tracking product.Caffeine.
Pinned by SimpleClimberTest.

4139 of 4150 branches covered (99.73%)

8411 of 8412 relevant lines covered (99.99%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #5626.1 13 Jul 2026 10:17PM UTC 78
99.99
Source Files on build #5626
  • 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
  • f539893a on github
  • Prev Build on v3.dev
  • Next Build on v3.dev
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