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

ben-manes / caffeine / 2274
100%

Build:
DEFAULT BRANCH: master
Ran 12 May 2018 08:31PM UTC
Jobs 1
Files 66
Run time 5s
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
2274

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.

5732 of 6091 relevant lines covered (94.11%)

0.94 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
100.0
caffeine/src/main/java/com/github/benmanes/caffeine/SingleConsumerQueue.java
1
100.0
caffeine/src/main/java/com/github/benmanes/caffeine/cache/BoundedLocalCache.java
Jobs
ID Job ID Ran Files Coverage
2 2274.2 (GROUP=tests) 12 May 2018 08:31PM UTC 0
94.11
Travis Job 2274.2
Source Files on build 2274
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2274
  • a595c2c4 on github
  • Prev Build on master (#2273)
  • Next Build on master (#2275)
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