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

ben-manes / caffeine / 2609 / 2
100%
master: 100%

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

18 Aug 2020 06:05AM UTC coverage: 93.03% (-0.3%) from 93.289%
TERM=dumb ORG_GRADLE_PROJECT_checksumFailOn=build_finish ORG_GRADLE_PROJECT_checksumPrint=true ORG_GRADLE_PROJECT_checksumIgnore=false GROUP=tests

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

Source Files on job 2609.2 (TERM=dumb ORG_GRADLE_PROJECT_checksumFailOn=build_finish ORG_GRADLE_PROJECT_checksumPrint=true ORG_GRADLE_PROJECT_checksumIgnore=false GROUP=tests)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2480
  • Travis Job 2609.2
  • ecd5e13e on github
  • Prev Job for TERM=dumb ORG_GRADLE_PROJECT_checksumFailOn=build_finish ORG_GRADLE_PROJECT_checksumPrint=true ORG_GRADLE_PROJECT_checksumIgnore=false GROUP=tests on master (#2608.2)
  • Next Job for TERM=dumb ORG_GRADLE_PROJECT_checksumFailOn=build_finish ORG_GRADLE_PROJECT_checksumPrint=true ORG_GRADLE_PROJECT_checksumIgnore=false GROUP=tests on master (#2612.2)
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