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

twitter / util / 198
38%

Build:
DEFAULT BRANCH: develop
Ran 24 Aug 2015 08:12PM UTC
Jobs 6
Files 177
Run time 3min
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
198

push

travis-ci

jenkins
util-hashing, finagle-memcached: Improve performance

Problem

Performance of cache clients can be optimized in terms
or CPU and allocations.

Solution

* finagle-memcached: Introduce `NotFound` which can be faster
  in some cases than `keys -- hits` for calculating cache misses.

* finagle-memcached: Constants for `c.t.f.memcachedx.protocol.Response`
  objects.

* finagle-memcached: Constant for `GetResult.Empty`

* finagle-memcached: Prefer "builders" when constructing
  immutable data structures.

* finagle-memcached: `KeyValidation.init` lifted the key validation
  function and improve `invalidByteIndex`.

* util-hashing: Avoid wrapping in an unnecessary `ByteBuffer` in
  `Hashable.MD5_LEInt`.

* util-hashing: Avoid unnecessary `Option` creation in
  `KetamaDistributor.mapEntryForHash`.

Result

Improved allocations in a production use case.

RB_ID=731829

23 of 23 new or added lines in 3 files covered. (100.0%)

4940 of 7544 relevant lines covered (65.48%)

3.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
util-hashing/src/main/scala/com/twitter/hashing/KetamaDistributor.scala
9
100.0
util-benchmark/src/main/scala/com/twitter/hashing/HashableBench.scala

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
util-core/src/main/scala/com/twitter/io/exp/ActivitySource.scala
1
100.0
util-core/src/main/scala/com/twitter/io/Files.scala
1
100.0
util-core/src/main/scala/com/twitter/util/Closable.scala
1
100.0
util-core/src/main/scala/com/twitter/util/Monitor.scala
1
100.0
util-jvm/src/main/scala/com/twitter/jvm/CpuProfile.scala
1
100.0
util-logging/src/main/scala/com/twitter/logging/App.scala
1
100.0
util-logging/src/main/scala/com/twitter/logging/LogRecord.scala
2
100.0
util-core/src/main/scala/com/twitter/util/Try.scala
4
100.0
util-core/src/main/scala/com/twitter/util/Event.scala
7
100.0
util-stats/src/main/scala/com/twitter/finagle/stats/CumulativeGauge.scala
25
100.0
util-core/src/main/scala/com/twitter/util/Future.scala
31
100.0
util-benchmark/src/main/scala/com/twitter/util/FutureBenchmark.scala
45
100.0
util-core/src/main/scala/com/twitter/util/Promise.scala
Jobs
ID Job ID Ran Files Coverage
1 198.1 24 Aug 2015 08:13PM UTC 0
64.84
Travis Job 198.1
2 198.2 24 Aug 2015 08:14PM UTC 0
64.84
Travis Job 198.2
3 198.3 24 Aug 2015 08:13PM UTC 0
64.78
Travis Job 198.3
4 198.4 24 Aug 2015 08:15PM UTC 0
64.75
Travis Job 198.4
5 198.5 24 Aug 2015 08:12PM UTC 0
64.68
Travis Job 198.5
6 198.6 24 Aug 2015 08:13PM UTC 0
64.63
Travis Job 198.6
Source Files on build 198
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #198
  • cb131c33 on github
  • Prev Build on develop (#197)
  • Next Build on develop (#199)
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

© 2025 Coveralls, Inc