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

uber-go / tally / 494
91%

Build:
DEFAULT BRANCH: master
Ran 17 Jan 2020 06:19PM UTC
Jobs 5
Files 7
Run time 8min
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
494

push

travis-ci

web-flow
m3: Reduce allocations when emitting metrics (#120)

Similar to #116, emitting metrics requires allocations as TUDPTransport
does not implement TRichTransport, so we end up allocating to convert
`string` to `[]byte`.

Add a new benchmark BenchmarkEmitMetrics to measure the impact. This
change brings down allocations significantly:
```
benchmark                old ns/op     new ns/op     delta
BenchmarkEmitMetrics     119112        90897         -23.69%
benchmark                old allocs     new allocs     delta
BenchmarkEmitMetrics     1297           331            -74.48%
benchmark                old bytes     new bytes     delta
BenchmarkEmitMetrics     5284          3293          -37.68%
```

962 of 1029 relevant lines covered (93.49%)

1266.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 494.1 17 Jan 2020 06:19PM UTC 0
93.49
Travis Job 494.1
2 494.2 17 Jan 2020 06:19PM UTC 0
93.49
Travis Job 494.2
3 494.3 17 Jan 2020 06:24PM UTC 0
93.49
Travis Job 494.3
4 494.4 17 Jan 2020 06:19PM UTC 0
93.49
Travis Job 494.4
5 494.5 17 Jan 2020 06:27PM UTC 0
93.49
Travis Job 494.5
Source Files on build 494
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #494
  • 206736e8 on github
  • Prev Build on master (#487)
  • Next Build on master (#495)
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