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

grpc / grpc-java / #20245
89%

Build:
DEFAULT BRANCH: master
Ran 19 Apr 2026 08:13PM UTC
Jobs 1
Files 647
Run time 1min
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

17 Apr 2026 02:24PM UTC coverage: 88.788% (-0.02%) from 88.811%
#20245

push

github

web-flow
core: Reduce per-stream idle memory by 20%

Metadata was accidentally being retained after the start of the call.
That can be an overwhelming percentage of memory for an idle RPC; don't
do that. The other changes are considerably smaller, but I happened to
notice them and the changes are straight-forward without magic numbers
(e.g., there's many arrays that could be tuned).

The regular interop server uses 4600 bytes per full duplex stream while
idle, but much of that is Census recorded events hanging around. Keeping
the Census integration but removing the Census impl (so a noop is used)
drops that to 3000 bytes. This change brings that down to ~2450 bytes
(which is still including stuff from TestServiceImpl). But there's very
little Metadata in the interop tests, so absolute real-life savings
would be much higher (but relative real-life savings may be lower,
because the application will often have more state).

The measurements were captured using a modified
timeout_on_sleeping_server client that had 100,000 concurrent full
duplex calls on one connection.

36015 of 40563 relevant lines covered (88.79%)

0.89 hits per line

Coverage Regressions

Lines Coverage ∆ File
25
91.23
0.06% ../core/src/main/java/io/grpc/internal/ServerImpl.java
13
91.86
-4.41% ../api/src/main/java/io/grpc/Metadata.java
12
91.2
0.12% ../core/src/main/java/io/grpc/internal/MessageDeframer.java
5
74.14
-4.31% ../servlet/src/main/java/io/grpc/servlet/ServletServerStream.java
3
95.07
-0.44% ../core/src/main/java/io/grpc/internal/RetriableStream.java
1
87.88
-3.03% ../netty/src/main/java/io/grpc/netty/ClientTransportLifecycleManager.java
1
80.41
5.15% ../servlet/src/main/java/io/grpc/servlet/AsyncServletOutputStreamWriter.java
Jobs
ID Job ID Ran Files Coverage
1 #20245.1 19 Apr 2026 08:13PM UTC 647
88.79
Source Files on build #20245
  • Tree
  • List 647
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20245
  • b38df6c9 on github
  • Prev Build on master
  • Next Build on master
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