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

ben-manes / caffeine / 2272
100%

Build:
DEFAULT BRANCH: master
Ran 12 May 2018 01:41AM UTC
Jobs 1
Files 66
Run time 62min
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
2272

push

travis-ci

ben-manes
Added a compute time benchmark based on the traces

The goal of this benchmark is to simulate the performance benefit of
switching algorithms on a fixed workload. If the hit rate increases,
one would expect to see the execution time decrease as the cost of a
miss goes up. However, if the eviction policy's overhead outweighs
the workload's costs then the optimization is not worthwhile.

Therefore the goal is to show if the improvements by a more advanced
algorithm outweigh its costs. For example LRU is extremely cheap to
execute and, with a small penalty, TinyLFU can be added to increase
its hit rate. In a workload like ARC's DS1 trace (database), this is
clear cut. But if we introduced a new policy that was very expensive
to operate, it wouldn't be feasible in practice.

This isn't expected to be used as a microbenchmark to performance tune
with. Rather its an indicator of whether a technique, such as mini-sim
sampling, is feasible in practice.

5733 of 6091 relevant lines covered (94.12%)

0.94 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
100.0
caffeine/src/main/java/com/github/benmanes/caffeine/SingleConsumerQueue.java
Jobs
ID Job ID Ran Files Coverage
2 2272.2 (GROUP=tests) 12 May 2018 02:44AM UTC 0
94.12
Travis Job 2272.2
Source Files on build 2272
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2272
  • 3eef8c81 on github
  • Prev Build on master (#2271)
  • Next Build on master (#2273)
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