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

ben-manes / caffeine / #2525
100%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2020 11:45AM UTC
Jobs 1
Files 77
Run time 6s
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
#2525

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

Jobs
ID Job ID Ran Files Coverage
1 #2525.1 28 Nov 2020 11:45AM UTC 0
93.19
Source Files on build #2525
Detailed source file information is not available for this build.
  • Back to Repo
  • 5cc2c7d3 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