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

outworkers / phantom / 1644
86%

Build:
DEFAULT BRANCH: develop
Ran 23 Jun 2017 02:25PM UTC
Jobs 1
Files 104
Run time 5s
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
1644

push

travis-ci

alexflav23
Buffer up fetched rows in the spool (#704)

Rather than wrap each row in a future, carefully trying to prefetch to
avoid blocking, we simply drain the entire fetched page into a seq and
async fetch the next page. This fetch is a prefetch in the sense that it
happens whether the tail of the spool is materialized or not. This
eliminates a lot of branches, simplifies the code and seems to yield a
nice speed up.

Locally on my machine (in ms)

Before:
```
Parameters(size -> 10000): 124.270108
Parameters(size -> 20000): 286.841965
Parameters(size -> 30000): 392.405244
```

After:
```
Parameters(size -> 10000): 61.316181
Parameters(size -> 20000): 153.689973
Parameters(size -> 30000): 250.284154
```

16 of 16 new or added lines in 2 files covered. (100.0%)

2987 of 3547 relevant lines covered (84.21%)

0.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
phantom-finagle/src/main/scala/com/outworkers/phantom/finagle/ResultSpool.scala
1
100.0
phantom-finagle/src/main/scala/com/outworkers/phantom/finagle/package.scala

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
phantom-streams/src/main/scala/com/outworkers/phantom/streams/iteratee/Enumerator.scala
1
100.0
phantom-finagle/src/main/scala/com/outworkers/phantom/finagle/package.scala
1
100.0
phantom-dsl/src/main/scala/com/outworkers/phantom/builder/primitives/Primitives.scala
1
100.0
phantom-streams/src/main/scala/com/outworkers/phantom/streams/ReactiveCassandra.scala
Jobs
ID Job ID Ran Files Coverage
2 1644.2 23 Jun 2017 02:25PM UTC 0
84.21
Travis Job 1644.2
Source Files on build 1644
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1644
  • 6c10906f on github
  • Prev Build on develop (#1642)
  • Next Build on develop (#1646)
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