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

pantsbuild / pants / 23066837214
93%

Build:
DEFAULT BRANCH: main
Ran 13 Mar 2026 07:41PM UTC
Jobs 12
Files 1725
Run time 3min
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

13 Mar 2026 07:18PM UTC coverage: 92.932% (-0.006%) from 92.938%
23066837214

push

github

web-flow
linux `perf` support for pants itself (#23147)

When Pants itself executes we are running a mix of C, Rust, and Python
code. Those languages historically all have their own performance
tooling and ecosystems. (Well C/Rust overlap, but that is the gist.) The
Linux perf tooling ecosystem is able to unify all that to give a unified
view into what is on and off cpu at a given time. This allows holistic
performance analysis across languages.

Concretely this change does two things:
* Rust code is always compiled with [frame
pointers](https://www.brendangregg.com/blog/2024-03-17/the-return-of-the-frame-pointers.html).
We don't support any idiosyncratic 32-bit or otherwise registry starved
cpu architectures, so the overhead should be de minimis. (Fedora and
Ubuntu have them near-globally enabled.)
* For Python, a global option acts as a wrapper around toggling
<https://docs.python.org/3/howto/perf_profiling.html>. Obviously there
are various other ways to twiddle this, but I want it to be easy and not
have everyone repeat "oops I enabled it for the client but not the
daemon". The dream is that eventually when someone in slack says "Pants
is slow but I can't show my corporate repository", they can share useful
tracing information.

This should be useful enough to glean at least some information for
everyone out of the box. For best results developers need to compile
Python and its native dependencies frame pointers as well. The last
barrier to "the dream" above for endusers is PythonBuildStandalone
including frame pointers, but this should be useful for Pants
development (in this repo, or plugins) today.

Zoomed in screenshot showing C/Rust/Python:
<img width="2557" height="1473" alt="image"
src="https://github.com/user-attachments/assets/5ea56f11-bd87-4a6a-9483-0fa88d13a9c2"
/>

5 of 11 new or added lines in 3 files covered. (45.45%)

91172 of 98106 relevant lines covered (92.93%)

4.05 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% src/python/pants/bin/pants_runner.py
2
95.97
-0.38% src/python/pants/option/bootstrap_options.py
2
43.14
-0.86% src/python/pants/pantsd/pants_daemon.py
Jobs
ID Job ID Ran Files Coverage
1 test_python_linux_x86_64_3/10 - 23066837214.1 13 Mar 2026 08:04PM UTC 1183
53.84
GitHub Action Run
2 test_python_linux_x86_64_8/10 - 23066837214.2 13 Mar 2026 08:06PM UTC 1183
53.56
GitHub Action Run
3 test_python_linux_x86_64_5/10 - 23066837214.3 13 Mar 2026 07:59PM UTC 1198
59.83
GitHub Action Run
4 test_python_linux_x86_64_4/10 - 23066837214.4 13 Mar 2026 08:09PM UTC 1219
59.51
GitHub Action Run
5 test_python_linux_arm64 - 23066837214.5 13 Mar 2026 07:55PM UTC 1167
52.67
GitHub Action Run
6 test_python_linux_x86_64_9/10 - 23066837214.6 13 Mar 2026 07:59PM UTC 1193
53.76
GitHub Action Run
7 test_python_linux_x86_64_1/10 - 23066837214.7 13 Mar 2026 08:03PM UTC 1182
49.26
GitHub Action Run
8 test_python_linux_x86_64_0/10 - 23066837214.8 13 Mar 2026 08:03PM UTC 1203
56.92
GitHub Action Run
9 test_python_macos14_arm64 - 23066837214.9 13 Mar 2026 07:40PM UTC 1167
52.67
GitHub Action Run
10 test_python_linux_x86_64_7/10 - 23066837214.10 13 Mar 2026 08:08PM UTC 1189
51.58
GitHub Action Run
11 test_python_linux_x86_64_2/10 - 23066837214.11 13 Mar 2026 08:00PM UTC 1185
58.98
GitHub Action Run
12 test_python_linux_x86_64_6/10 - 23066837214.12 13 Mar 2026 07:58PM UTC 1179
49.83
GitHub Action Run
Source Files on build 23066837214
  • Tree
  • List 1725
  • Changed 4
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23066837214
  • f07276df on github
  • Prev Build on main (#22980878227)
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