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

grpc / grpc-java / #19961 / 1
89%
master: 89%

Build:
DEFAULT BRANCH: master
Ran 26 Aug 2025 02:04PM UTC
Files 615
Run time 20s
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

26 Aug 2025 01:53PM UTC coverage: 88.554% (-0.001%) from 88.555%
#19961.1

push

github

ejona86
api: Reduce allocations of Attributes.Builder

Modifying existing Attributes was virtually guaranteed to allocate
within build(), just because `base` was not considered for the new map
size. Discard was also allocation-heavy because it often created a new
map. Using a regular copy-on-write approach is enough to avoid the
unnecessary allocations in both cases.

This was noticed in a profile that included xds's
AddressFilter.setPathFilter(), where Attributes.Builder.build()
allocated 6x the memory of Attributes.Builder.data().

b/435208946#comment41

34690 of 39174 relevant lines covered (88.55%)

0.89 hits per line

Source Files on job #19961.1
  • Tree
  • List 615
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19961
  • 695014ad on github
  • Prev Job for on master (##19960.1)
  • Next Job for on master (##19962.1)
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

© 2025 Coveralls, Inc