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

parroty / extwitter / 118 / 2
83%
master: 83%

Build:
DEFAULT BRANCH: master
Ran 29 Jan 2015 02:55AM UTC
Files 20
Run time 16s
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

29 Jan 2015 02:52AM UTC coverage: 81.041%. Remained the same
ELIXIR="v1.0.2"

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%)

4.01 hits per line

Source Files on job 118.2 (ELIXIR="v1.0.2")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 118
  • Travis Job 118.2
  • 9acda860 on github
  • Prev Job for ELIXIR="v1.0.2" on master (#117.2)
  • Next Job for ELIXIR="v1.0.2" on master (#119.2)
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