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

ben-manes / caffeine / 2269
100%

Build:
DEFAULT BRANCH: master
Ran 11 May 2018 09:40AM UTC
Jobs 1
Files 66
Run time 4s
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
2269

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.

5720 of 6091 relevant lines covered (93.91%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2269.2 (GROUP=tests) 11 May 2018 09:40AM UTC 0
93.91
Travis Job 2269.2
Source Files on build 2269
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2269
  • 9db2cbd8 on github
  • Prev Build on master (#2268)
  • Next Build on master (#2270)
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