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

xapi-project / xen-api / 23233956462
80%

Build:
DEFAULT BRANCH: master
Ran 18 Mar 2026 07:34AM UTC
Jobs 1
Files 34
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

18 Mar 2026 07:25AM UTC coverage: 80.459%. Remained the same
23233956462

push

github

web-flow
CP-311892: optimize Pervasiveext.finally (#6954)

The important part of this optimization was merged in
f642b347a, which optimized
`Mutex.execute`.
I also had an optimization for `Pervasiveext.finally`, but initially it
didn't seem like the improvement is significant.
I wrote a better benchmark now, and it is: performance can be improved
55x on the error path. Previously I didn't call
`Debug.with_thread_associated` on the benchmark program's startup, which
disabled most of the `xapi-backtrace` code.
When it is active, then `Backtrace.is_important` becomes a lot slower.

Optimizing that would be the topic of another PR, meanwhile with a very
small change (2 lines) we can improve the performance of `finally`.
(Usually code shouldn't be raising exceptions all the time, but we've
got quite a few places in the code that raise `Not_found` and
equivalents).

The optimization passed a BVT+BST, and I tested that backtraces still
work.

3504 of 4355 relevant lines covered (80.46%)

0.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.11 - 23233956462.1 18 Mar 2026 07:34AM UTC 34
80.46
GitHub Action Run
Source Files on build 23233956462
  • Tree
  • List 34
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23233956462
  • b22e6370 on github
  • Prev Build on gh-readonly-queue/master/pr-6950-481913fc54ba04dd9b643976954879ac22266481 (#23197671479)
  • Next Build on master (#23235452644)
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