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

vcabbage / amqp
73%
master: 73%

Build:
Build:
LAST BUILD BRANCH: readme-issue205
DEFAULT BRANCH: master
Repo Added 07 May 2017 02:24AM UTC
Files 11
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

LAST BUILD ON BRANCH buffer
branch: buffer
CHANGE BRANCH
x
Reset
  • buffer
  • 0.4.0-notes
  • HEAD
  • channels
  • disable-pr-integration
  • goveralls-service
  • increase-integration-timeouts
  • integration-tests
  • issue191
  • link-nil-error
  • linting-fixes
  • marshal-allocations
  • marshal-tests
  • master
  • message-format
  • more-types
  • multidata
  • readme-issue205
  • refs/tags/v0.12.4
  • refs/tags/v0.12.5
  • rejected-disposition
  • selector-filter
  • test-options
  • todos
  • update-travis
  • v0.1.0
  • v0.2.0
  • v0.2.1
  • v0.3.0
  • v0.4.0

pending completion
103

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)

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

3596 of 4909 relevant lines covered (73.25%)

2.4 hits per line

Relevant lines Covered
Build:
Build:
4909 RELEVANT LINES 3596 COVERED LINES
2.4 HITS PER LINE
Source Files on buffer
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
103 buffer 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 avo... push 06 Feb 2018 03:36PM UTC vcabbage travis-ci pending completion  
100 buffer 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 avo... push 04 Feb 2018 10:28PM UTC vcabbage travis-ci pending completion  
99 buffer 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 avo... push 04 Feb 2018 09:39PM UTC vcabbage travis-ci pending completion  
See All Builds (253)
  • Repo on GitHub
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