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

PragTob / benchee / 1130
94%

Build:
DEFAULT BRANCH: master
Ran 01 Aug 2018 08:49PM UTC
Jobs 9
Files 38
Run time 2min
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
1130

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

22 of 22 new or added lines in 1 file covered. (100.0%)

572 of 601 relevant lines covered (95.17%)

15917.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1130.1 01 Aug 2018 08:49PM UTC 0
95.02
Travis Job 1130.1
2 1130.2 01 Aug 2018 08:49PM UTC 0
95.02
Travis Job 1130.2
3 1130.3 01 Aug 2018 08:49PM UTC 0
95.17
Travis Job 1130.3
4 1130.4 01 Aug 2018 08:49PM UTC 0
95.17
Travis Job 1130.4
5 1130.5 01 Aug 2018 08:49PM UTC 0
95.17
Travis Job 1130.5
6 1130.6 01 Aug 2018 08:51PM UTC 0
95.17
Travis Job 1130.6
7 1130.7 01 Aug 2018 08:50PM UTC 0
95.17
Travis Job 1130.7
8 1130.8 01 Aug 2018 08:50PM UTC 0
95.17
Travis Job 1130.8
9 1130.9 01 Aug 2018 08:51PM UTC 0
95.17
Travis Job 1130.9
Source Files on build 1130
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1130
  • 6821e051 on github
  • Prev Build on master (#1115)
  • Next Build on master (#1141)
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