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

mvdan / sh / 903
78%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2017 05:25PM UTC
Jobs 2
Files 20
Run time 40s
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
903

push

travis-ci

mvdan
syntax: remove need for a rune var in p.next

This was added for a noticeable performance improvement of around 3%
when parsing strings, due to how advancing ASCII runes is a very hot
path.

However, as it turns out, the compiler can realise this with a bit of
help - if we write p.r just before reading it. Then it can know that
it's safe to reuse the same value without the memory read.

Confirmed that the benchmarks do not change with the code
simplification.

5624 of 5967 relevant lines covered (94.25%)

2128.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 903.1 22 Oct 2017 05:25PM UTC 0
94.25
Travis Job 903.1
2 903.2 22 Oct 2017 05:25PM UTC 0
94.25
Travis Job 903.2
Source Files on build 903
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #903
  • 6582b4e9 on github
  • Prev Build on master (#902)
  • Next Build on master (#907)
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