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

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

Build:
DEFAULT BRANCH: master
Ran 31 Dec 2016 12:55AM UTC
Files 66
Run time 3s
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

30 Dec 2016 11:28PM UTC coverage: 93.606% (-0.07%) from 93.675%
TERM=dumb

push

travis-ci

ben-manes
Use simulated annealing to optimize window size

This builds on the simple hill climbing approach. The idea is that the
admission window size can be optimized by making an adjustment, observing
the hit rate change, and adjusting again. Ideally this climbs the hill to
the optimal configuration, up or down based on the feedback. The simple
approach had a lot of jitter and moved too slowly, but showed promise.

Simulated annealing uses a cool down rate to slow the adjustment process
as it nears an optimal value. This also lets us reduce the pivot to take
smaller steps as we zero in on the target. The process halts, thereby
ignoring jitter, until the hit rate changes dramatically (new workload)
or a random restart is triggered.

The adaption method should be further fine tuned. There may still be too
much noise, especially due to resetting the hit rates so frequently. We
should probably use a weighted average across a few hit rate samples to
avoid noise. But overall we see a nice improvement.

5387 of 5755 relevant lines covered (93.61%)

0.94 hits per line

Source Files on job 1939.1 (TERM=dumb)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1939
  • Travis Job 1939.1
  • 0d7a166e on github
  • Prev Job for TERM=dumb on master (#1938.1)
  • Next Job for TERM=dumb on master (#1940.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