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

ben-manes / caffeine / 1411
100%

Build:
DEFAULT BRANCH: master
Ran 14 Oct 2015 04:10PM UTC
Jobs 1
Files 61
Run time 2s
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
1411

push

travis-ci

ben-manes
Restore write performance

When rewriting the put() for correctness with zero weights, there were
major performance hits.

1. The loss of a fast-path to mimic a read when the update did not
require extra policy handling (e.g. replace with same weight). This
improved performance to 33% - 50% of the prior version.

2. The use of compute() to perform an mutation is slower than a get()
and requires creating a lambda (heap, not stack allocated). These two
reduce performance significantly, but cannot be worked around directly.
Instead they are only required for correctness of weights, which is not
the common case. The fix is then to use specialized put() methods
depending on if a custom weigher is used.

4151 of 4383 relevant lines covered (94.71%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1411.1 (TERM=dumb) 14 Oct 2015 04:10PM UTC 0
94.71
Travis Job 1411.1
Source Files on build 1411
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1411
  • 6fe1eb48 on github
  • Prev Build on master (#1408)
  • Next Build on master (#1412)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc