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

grpc / grpc-java / 14281
89%

Build:
DEFAULT BRANCH: master
Ran 07 Jun 2019 01:12AM UTC
Jobs 1
Files 261
Run time 12s
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
14281

push

travis-ci

web-flow
core, netty: add io.perfmark Annotations

This add perfmark annotations in some key places, notably on transport/application boundaries, and thread hop locations. Perfmark records to a thread-local buffer the events that happen in each thread. Perfmark is disabled by default, and will compile to a noop unless Perfmark.setEnabled is invoked. This should make it free when disable, and pretty fast when it is enabled.

It is important that started tasks are ended, so several places in our code are moved to either try-finally blocks, or moved into a private method. I realize this is ugly, but I think it is manageable. In the future, we can look at making an agent or compiler plugin that simplifies the recording.

Linking between threads is done with a Link object, which is created on the "outbound" task, and used on the "inbound" task. This is slightly more verbose, and does has a small amount of runtime overhead, even when disabled. (for null checks, slightly higher memory usage, etc.) I think this is okay to, because it makes other optimizations much easier.

14967 of 17169 relevant lines covered (87.17%)

0.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 14281.1 07 Jun 2019 01:12AM UTC 0
87.17
Travis Job 14281.1
Source Files on build 14281
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #14281
  • 71967622 on github
  • Prev Build on master (#14277)
  • Next Build on master (#14283)
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