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

jtblin / gostatsd / 29
42%

Build:
DEFAULT BRANCH: master
Ran 20 Mar 2016 04:34AM UTC
Jobs 1
Files 7
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
29

push

travis-ci

jtblin
Optimise (5-10x) performance of line parser

Old parser benchmark:

BenchmarkParseLineCounter-8                                  	 1000000	      2493 ns/op
BenchmarkParseLineCounterWithSampleRate-8                    	 1000000	      2186 ns/op
BenchmarkParseLineCounterWithTags-8                          	  300000	      5582 ns/op
BenchmarkParseLineCounterWithTagsAndSampleRate-8             	  300000	      5649 ns/op
BenchmarkParseLineGauge-8                                    	 1000000	      2356 ns/op
BenchmarkParseLineTimer-8                                    	 1000000	      1897 ns/op
BenchmarkParseLineSet-8                                      	  500000	      2210 ns/op
BenchmarkParseLineCounterWithDefaultTags-8                   	  500000	      2656 ns/op
BenchmarkParseLineCounterWithDefaultTagsAndTags-8            	  200000	      5951 ns/op
BenchmarkParseLineCounterWithDefaultTagsAndTagsAndNameSpace-8	  200000	      6467 ns/op

New parser benchmark:

BenchmarkParseLineCounter-8                                  	 5000000	       348 ns/op
BenchmarkParseLineCounterWithSampleRate-8                    	 3000000	       420 ns/op
BenchmarkParseLineCounterWithTags-8                          	 2000000	       680 ns/op
BenchmarkParseLineCounterWithTagsAndSampleRate-8             	 2000000	       748 ns/op
BenchmarkParseLineGauge-8                                    	 5000000	       341 ns/op
BenchmarkParseLineTimer-8                                    	 5000000	       344 ns/op
BenchmarkParseLineSet-8                                      	 5000000	       314 ns/op
BenchmarkParseLineCounterWithDefaultTags-8                   	 3000000	       489 ns/op
BenchmarkParseLineCounterWithDefaultTagsAndTags-8            	 2000000	       752 ns/op
BenchmarkParseLineCounterWithDefaultTagsAndTagsAndNameSpace-8	 2000000	       830 ns/op

176 of 176 new or added lines in 2 files covered. (100.0%)

406 of 955 relevant lines covered (42.51%)

6.42 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
statsd/receiver.go
34
100.0
statsd/lexer.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
statsd/receiver.go
Jobs
ID Job ID Ran Files Coverage
1 29.1 20 Mar 2016 04:34AM UTC 0
42.51
Travis Job 29.1
Source Files on build 29
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #29
  • 271cb44f on github
  • Prev Build on master (#28)
  • Next Build on master (#32)
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