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

vcabbage / amqp / 99
73%
master: 73%

Build:
Build:
LAST BUILD BRANCH: readme-issue205
DEFAULT BRANCH: master
Ran 04 Feb 2018 09:39PM UTC
Jobs 3
Files 10
Run time 3min
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
99

push

travis-ci

vcabbage
Additional encoding/decoding optimization

* Replace reader/writer interfaces with concrete `buffer` type.
* Avoid intermediate buffer during map encoding.
* Avoid `milliseconds` marshal allocation.
* Remove `errNull`/`isNull` from marshal and avoid defer in hot path.
* Cleanup of decoding code.
* Minimize bounds checks by adding hints.
* Check interface types last in type switches.
* Add fastpath in unmarshal for `**uint32`.

```
name                                       old time/op    new time/op    delta
FrameMarshal/transfer-8                       420ns ± 4%     197ns ± 5%   -53.04%  (p=0.000 n=10+10)
FrameUnmarshal/transfer-8                    1.84µs ± 0%    0.61µs ± 5%   -66.64%  (p=0.000 n=8+10)
Marshal/*amqp.performOpen-8                   787ns ± 3%     293ns ± 5%   -62.83%  (p=0.000 n=10+10)
Marshal/*amqp.performBegin-8                  621ns ± 1%     216ns ± 3%   -65.27%  (p=0.000 n=10+9)
Marshal/*amqp.performAttach-8                2.45µs ± 1%    1.12µs ± 3%   -54.13%  (p=0.000 n=10+10)
Marshal/amqp.role-8                          30.5ns ± 2%    20.5ns ± 2%   -32.75%  (p=0.000 n=10+10)
Marshal/*amqp.unsettled-8                     258ns ± 8%     100ns ± 3%   -61.10%  (p=0.000 n=10+9)
Marshal/*amqp.source-8                        900ns ± 1%     401ns ± 5%   -55.43%  (p=0.000 n=10+10)
Marshal/*amqp.target-8                        516ns ± 1%     244ns ± 3%   -52.79%  (p=0.000 n=10+10)
Marshal/*amqp.performFlow-8                   576ns ± 1%     193ns ± 4%   -66.42%  (p=0.000 n=10+10)
Marshal/*amqp.performTransfer-8               404ns ± 6%     184ns ± 2%   -54.35%  (p=0.000 n=10+10)
Marshal/*amqp.performDisposition-8            215ns ± 5%     102ns ± 4%   -52.54%  (p=0.000 n=10+10)
Marshal/*amqp.performDetach-8                 612ns ± 2%     279ns ± 0%   -54.37%  (p=0.000 n=10+6)
Marshal/*amqp.performDetach#01-8             1.23µs ± 8%    0.42µs ± 4%   -65.71%  (p=0.000 n=9+10)
Marshal/amqp.ErrorCondition-8                69.9ns ± 1%    27... (continued)

1126 of 1126 new or added lines in 8 files covered. (100.0%)

3588 of 4906 relevant lines covered (73.13%)

2.39 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
sasl.go
3
100.0
client.go
3
100.0
conn.go
5
100.0
buffer.go
23
100.0
decode.go
56
100.0
encode.go
57
100.0
types.go
Jobs
ID Job ID Ran Files Coverage
1 99.1 04 Feb 2018 09:39PM UTC 0
73.13
Travis Job 99.1
2 99.2 04 Feb 2018 09:39PM UTC 0
73.13
Travis Job 99.2
3 99.3 04 Feb 2018 09:42PM UTC 0
73.13
Travis Job 99.3
Source Files on build 99
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #99
  • a0e8b152 on github
  • Next Build on buffer (#100)
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