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

jlfwong / speedscope / 5168730569
44%
master: 47%

Build:
Build:
LAST BUILD BRANCH: jlfwong/copy-summary-text
DEFAULT BRANCH: master
Ran 04 Jun 2023 11:07AM UTC
Jobs 3
Files 83
Run time 2s
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
5168730569

push

github

web-flow
Callgrind: Subposition compression and weight correction (#423)

This fixes a number of bugs with callgrind import. Dealing with this file format is a big pain because the documentation on https://www.valgrind.org/docs/manual/cl-format.html doesn't contain enough examples to disambiguate some of the behaviour, and because there's a fundamental impedance mismatch between call-trees and call-graphs.

In any case, after this PR, the behavior of callgrind file import is much better.
The file provided in #414 now imports correctly and, as far as I can tell, displays the same weights as what I see in KCacheGrind.

Some of the key changes:
- Implementing subposition compression. This was just a TODO in the code that was never implemented
- Fixing a misinterpretation of how `fe` and `fi` were intended to be used. Previously, I was using it to change the filename of a symbol, meaning that an `fi` or an `fe` line in the middle of a block describing costs for an `fn` would split a node in the call-graph into multiple nodes causing all manners of problems
- Fixing a bug where `cfn` was persisting beyond a single call, also resulting in call graph nodes being split when they shouldn't be

Fixes #414

1092 of 2703 branches covered (40.4%)

Branch coverage included in aggregate %.

42 of 47 new or added lines in 1 file covered. (89.36%)

4 existing lines in 1 file now uncovered.

2524 of 5900 relevant lines covered (42.78%)

6662.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-12.x - 5168730569.1 04 Jun 2023 11:08AM UTC 0
42.02
GitHub Action Run
2 run-10.x - 5168730569.2 04 Jun 2023 11:08AM UTC 0
42.03
GitHub Action Run
3 run-14.x - 5168730569.3 04 Jun 2023 11:07AM UTC 0
42.02
GitHub Action Run
Source Files on build 5168730569
Detailed source file information is not available for this build.
  • Back to Repo
  • f23f65b3 on github
  • Prev Build on main (#5167481759)
  • Next Build on main (#5168769449)
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