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

ben-manes / caffeine / 2609
100%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2020 07:19AM UTC
Jobs 1
Files 76
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
2609

push

travis-ci

ben-manes
Support simulations of large caches in weighted policy types

In weight-based traces the entries have different sizes, e.g. bytes. The
policies that support this characteristic will evict multiple entries
until at its maximum-size contraint. This was an integer setting which
is too small for the Tencent Photo trace.

The setting was increased to a long and the weighted traces updated
accordingly. The other traces use a checked cast to an int value as a
minimal migration to minimize the chance of introducing bugs. The
linked policy was fixed to handle the entry's weight changing on a
cache hit.

The AdaptSize simulator compatibility was reduced to only its trace
reader. That simulator treats the same key with different weights as
distinct entries, rather than an update. The workaround of hashing
the key and weight as the entry's key causes noticable workload skew.
Since other simulators (like LHD from the same group) don't make this
odd choice, its now restricted to just their trace reader.

6113 of 6571 relevant lines covered (93.03%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2609.2 (TERM=dumb ORG_GRADLE_PROJECT_checksumFailOn=build_finish ORG_GRADLE_PROJECT_checksumPrint=true ORG_GRADLE_PROJECT_checksumIgnore=false GROUP=tests) 18 Aug 2020 07:19AM UTC 0
93.03
Travis Job 2609.2
Source Files on build 2609
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2609
  • ecd5e13e on github
  • Prev Build on master (#2608)
  • Next Build on master (#2612)
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