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

PragTob / benchee / 519
95%
master: 94%

Build:
Build:
LAST BUILD BRANCH: relative-statistics
DEFAULT BRANCH: master
Ran 30 Aug 2017 10:39AM UTC
Jobs 7
Files 23
Run time 1min
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
519

push

travis-ci

devonestes
Define behaviour for a formatter and output in parallel

In this commit I'm defining a behaviour for a Benchee Formatter, which
consistes of three functions:

* format/1 which takes a Benchee.Suite struct and formats results
* write/1 which takes the output from format/1 and writes it either to
a file or to the console, and
* output/1 which basically just calls `format/1` and then `write/1` and
returns the Benchee.Suite struct it was given.

I don't see why we can't eventually remove the `output/1` callback from
this behaviour once we've switched over to using `parallel_output/2`
and once we've implemented this behaviour in all the other formatters.

I also wrote a function that can do as much in parallel as possible for
formatting. We can't write the output in parallel, but we can generate
the output in parallel, so we're doing that here.

I haven't switched over to actually using this new function to do the
formatting in parallel, but we can do that in a later commit.

Resolves #53

297 of 313 relevant lines covered (94.89%)

26286.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 519.1 30 Aug 2017 10:40AM UTC 0
94.57
Travis Job 519.1
3 519.3 30 Aug 2017 10:39AM UTC 0
94.89
Travis Job 519.3
4 519.4 30 Aug 2017 10:39AM UTC 0
94.89
Travis Job 519.4
5 519.5 30 Aug 2017 10:40AM UTC 0
94.89
Travis Job 519.5
6 519.6 30 Aug 2017 10:41AM UTC 0
94.89
Travis Job 519.6
7 519.7 30 Aug 2017 10:41AM UTC 0
94.89
Travis Job 519.7
8 519.8 30 Aug 2017 10:41AM UTC 0
94.89
Travis Job 519.8
Source Files on build 519
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #519
  • aed5e9f4 on github
  • Prev Build on Issue-53 (#517)
  • Next Build on Issue-53 (#521)
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