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

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

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2020 11:45AM 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:47AM UTC coverage: 93.19% (+0.03%) from 93.16%
#2525.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 for the simulator and doubles the time for the trace
rewriter.

The forEach operation pulls on-demand, where our smaller I/O buffers
and concurrent prefetching keep the policies fed with a lower startup
overhead. This also greatly reduces the memory footprint to allow for
more easily analyzing large caches. However this coding structure is
slightly less pleasant.

6226 of 6681 relevant lines covered (93.19%)

0.93 hits per line

Source Files on job #2525.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2525
  • 5cc2c7d3 on github
  • Prev Job for on master (##2524.1)
  • Next Job for on master (##2526.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