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

ben-manes / caffeine / #2524 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2020 11:21AM UTC
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

28 Nov 2020 10:34AM UTC coverage: 93.16% (-0.02%) from 93.175%
#2524.1

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

Source Files on job #2524.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2524
  • 2577ca8b on github
  • Prev Job for on master (##2523.1)
  • Next Job for on master (##2525.1)
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