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

ben-manes / caffeine / #2524
100%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2020 11:21AM UTC
Jobs 1
Files 77
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
#2524

push

other

ben-manes
Improved simulator runtime for large traces

Unfortunately, the elegant approach of partitioning a stream of events
into batches using the Iterator view comes with a hidden performance
cost. Instead of picking off events one-by-one, large internal buffers
are created and grown (SpinedBuffer) before the first element is
provided to the consumer. The maximum chunk size is 1M elements, which
can cause a long pause while the trace is read into memory before it
is processed by the simulator. For the DS1 trace this adds 10 seconds
of startup time.

The forEach operation pulls on-demand, where our smaller I/O buffers
and concurrent prefetching keep the policies fed with a lower startup
overhead. However this coding structure is less pleasant.

6224 of 6681 relevant lines covered (93.16%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #2524.1 28 Nov 2020 11:21AM UTC 0
93.16
Source Files on build #2524
Detailed source file information is not available for this build.
  • Back to Repo
  • 2577ca8b on github
  • Prev Build on master
  • Next Build on master
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