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

uber / tchannel-go / 3419 / 4
54%
dev: 88%

Build:
Build:
LAST BUILD BRANCH: delayed_frame_alloc
DEFAULT BRANCH: dev
Ran 12 Feb 2020 10:04AM UTC
Files 120
Run time 13s
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

10 Oct 2017 10:31PM UTC coverage: 54.143%. First build
NO_TEST=yes COVERAGE=yes LINT=yes

push

travis-ci

prashantv
Defer frame allocation in readFrames till we read a header

Currently, we allocate a `*Frame` before we call Read, which may block
for quite a while. With a large number of connections, we end up holding
on to a large amount of memory (64KiB per frame) even if those
connections are idle.

Instead of allocating before the `Read` call, wait till we read a
header, and then allocate a frame.

This will also allow us to allocate a frame based on the size of the
body rather than assuming a worst-case of 64KiB as we do now.

8416 of 15544 relevant lines covered (54.14%)

0.54 hits per line

Source Files on job 3419.4 (NO_TEST=yes COVERAGE=yes LINT=yes)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3419
  • Travis Job 3419.4
  • 3533c7fe 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