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

allegro / marathon-consul / 1087
91%

Build:
DEFAULT BRANCH: master
Ran 25 Jul 2017 07:56AM UTC
Jobs 1
Files 27
Run time 2s
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
1087

push

travis-ci

web-flow
Calculate common tags only once. (#250)

This PR extracts commonTags outside of loop.
They are not changed inside the loop so there is no
need to recalculate them every time.
Ta reduce allocations tags slice i create with
initial capacity equal to the lenght of application labels.

```
benchmark                              old ns/op     new ns/op     delta
BenchmarkApp_RegistrationIntents-8     438           415           -5.25%
BenchmarkApp_RegistrationIntents-8     436           419           -3.90%
BenchmarkApp_RegistrationIntents-8     432           415           -3.94%

benchmark                              old allocs     new allocs     delta
BenchmarkApp_RegistrationIntents-8     4              3              -25.00%
BenchmarkApp_RegistrationIntents-8     4              3              -25.00%
BenchmarkApp_RegistrationIntents-8     4              3              -25.00%

benchmark                              old bytes     new bytes     delta
BenchmarkApp_RegistrationIntents-8     128           208           +62.50%
BenchmarkApp_RegistrationIntents-8     128           208           +62.50%
BenchmarkApp_RegistrationIntents-8     128           208           +62.50%
```

1699 of 1901 relevant lines covered (89.37%)

21.68 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
sync/sync.go
3
100.0
events/sse_events.go
8
100.0
consul/consul.go
Jobs
ID Job ID Ran Files Coverage
1 1087.1 25 Jul 2017 07:56AM UTC 0
89.37
Travis Job 1087.1
Source Files on build 1087
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1087
  • 1c1b22fe on github
  • Prev Build on master (#1090)
  • Next Build on master (#1088)
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