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

PragTob / benchee / 1130 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 01 Aug 2018 08:49PM UTC
Files 38
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

01 Aug 2018 08:47PM UTC coverage: 95.017% (+0.3%) from 94.764%
1130.1

push

travis-ci

PragTob
Fix race condition in spawning tracer process (#239)

* Fix race condition in spawning tracer process

We were somewhat reliably missing the first garbage collection event
because when we spawned our tracer, we were setting the tracing flag in
the function to be executed in our tracer. This means the runner and
tracer were running concurrently for a moment, and the runner hit a GC
threshold before the tracer was able to set the appropriate tracing
flag!

Now we explicitly block the runner from running the function to be run
until the tracing flag is set.

* Re-write memory collection to be more accurate

This removes the `Process.info/1` check around the function to be
benchmarked to see what's still on the heap and relies solely on
garbage collection for our measurements. I had to make substantial
changes to the way we're collecting memory - including being much more
specific about turning on and off the collection of messages - but it's
yielding much more accurate results - and it works on OTP 21!

* Make it better thanks to feedback from Tobi

572 of 602 relevant lines covered (95.02%)

1583.53 hits per line

Source Files on job 1130.1
  • Tree
  • List 0
  • Changed 22
  • Source Changed 13
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 976
  • Travis Job 1130.1
  • 6821e051 on github
  • Prev Job for on master (#1115.1)
  • Next Job for on master (#1141.1)
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