cpython/Lib/test/test_profiling
Pablo Galindo Salgado ef51a7c8f3
gh-138122: Make sampling profiler integration tests more resilient (#142382)
The tests were flaky on slow machines because subprocesses could finish
before enough samples were collected. This adds synchronization similar
to test_external_inspection: test scripts now signal when they start
working, and the profiler waits for this signal before sampling.

Test scripts now run in infinite loops until killed rather than for
fixed iterations, ensuring the profiler always has active work to
sample regardless of machine speed.
2025-12-07 22:41:15 +00:00
..
test_sampling_profiler gh-138122: Make sampling profiler integration tests more resilient (#142382) 2025-12-07 22:41:15 +00:00
__init__.py
__main__.py
test_heatmap.py gh-140677 Improve heatmap colors (#142241) 2025-12-06 20:27:16 +00:00
test_tracing_profiler.py