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

shinnn / read-json-sync / 39
100%

Build:
DEFAULT BRANCH: master
Ran 08 Nov 2017 02:13AM UTC
Jobs 1
Files 1
Run time 0s
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
39

push

travis-ci

shinnn
introduce benchmark script and adopt the fastest implementation

$ node --version

v9.1.0

$ npm run-script bench

String#slice() (current implementation)
buffer            558.601922
string            409.608077
buffer with BOM   615.481398
string with BOM   420.899809
TOTAL            2006.154746

String#replace()
buffer            587.066339
string            454.360063
buffer with BOM   706.871325
string with BOM   509.46997
TOTAL            2259.27753

Buffer#slice() and String#slice()
buffer            544.465842
string            411.845965
buffer with BOM   704.706403
string with BOM   441.583735
TOTAL            2104.013344

8 of 8 branches covered (100.0%)

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

7 of 7 relevant lines covered (100.0%)

4.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39.1 08 Nov 2017 02:13AM UTC 0
100.0
Travis Job 39.1
Source Files on build 39
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #39
  • bfab5831 on github
  • Prev Build on master (#37)
  • Next Build on master (#40)
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