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

parroty / extwitter / 118
83%

Build:
DEFAULT BRANCH: master
Ran 29 Jan 2015 02:54AM UTC
Jobs 2
Files 20
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
118

Pull #13

travis-ci

mroth
CRLF parsing micro-optimization

This is a tiny optimization on how CRLFs are checked
(`String.ends_with?` is faster than a regex), which speeds up the
stream processing process by a few percentage points.

There are of course bigger fish to fry than this.  E.g. it shouldn’t
make a huge difference but I wanted to do a quick example of the sort
of profiling/changes that should be possible now to encourage people to
look for optimization opportunities.

Before:
#process stream - single chunk:     100000   17.98 µs/op
#process stream - multi chunk:       50000   39.90 µs/op

After:
#process stream - single chunk:     100000   16.70 µs/op
#process stream - multi chunk:       50000   35.78 µs/op
Pull Request #13: CRLF parsing micro-optimization

218 of 269 relevant lines covered (81.04%)

8.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 118.1 (ELIXIR="v1.0.0") 29 Jan 2015 02:54AM UTC 0
80.83
Travis Job 118.1
2 118.2 (ELIXIR="v1.0.2") 29 Jan 2015 02:55AM UTC 0
81.04
Travis Job 118.2
Source Files on build 118
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #118
  • Pull Request #13
  • PR Base - master (#117)
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