yihong
056d6c5ed9
gh-141999: Handle KeyboardInterrupt when sampling in the new tachyon profiler ( #142000 )
2025-11-30 02:49:13 +00:00
Pablo Galindo Salgado
ea51e745c7
gh-138122: Add thread status statistics to flamegraph profiler ( #141900 )
...
Co-authored-by: ivonastojanovic <80911834+ivonastojanovic@users.noreply.github.com>
2025-11-30 01:42:39 +00:00
Pablo Galindo Salgado
04e3670f6b
gh-138122: Fix permission error detection in tachyon's test ( #141897 )
2025-11-24 14:32:17 +00:00
Pablo Galindo Salgado
3eec46d3c3
gh-138122: Refactor the CLI of profiling.sampling into subcommands ( #141813 )
2025-11-24 11:45:08 +00:00
Pablo Galindo Salgado
92972aea0f
gh-140381: Make test_profiling tests deterministic to fix flakiness ( #141731 )
2025-11-21 21:36:30 +00:00
Pablo Galindo Salgado
07410da204
gh-141645: Refactor tachyon's live TUI tests to not use private fields ( #141806 )
2025-11-21 00:35:37 +00:00
Pablo Galindo Salgado
b3383085f9
gh-141645: Add a TUI mode to the new tachyon profiler ( #141646 )
2025-11-20 18:27:17 +00:00
Petr Viktorin
e2178743fe
gh-135953: Avoid BytesWarning when sampling profiler tests fail (GH-141719)
...
With `-bb`, this failed on BytesWarning: str() on a bytes instance
2025-11-19 14:43:42 +01:00
Thierry Martos
652c764a59
gh-140381: Increase slow_fibonacci call frequency in test_profiling ( #140673 )
2025-11-19 00:01:09 +00:00
Pablo Galindo Salgado
a52c39e260
gh-135953: Refactor test_sampling_profiler into multiple files ( #141689 )
2025-11-18 15:14:16 +00:00
Pablo Galindo Salgado
4867f717e2
gh-140729: Fix subprocess handling in test_process_pool_executor_pickle ( #141688 )
2025-11-18 02:26:40 +00:00
Pablo Galindo Salgado
274a26cca8
gh-135953: Simplify GC markers in the tachyon profiler ( #141666 )
2025-11-17 16:32:08 +00:00
Brandt Bucher
336366fd7c
GH-140643: Add <native> and <GC> frames to the sampling profiler ( #141108 )
...
- Introduce a new field in the GC state to store the frame that initiated garbage collection.
- Update RemoteUnwinder to include options for including "<native>" and "<GC>" frames in the stack trace.
- Modify the sampling profiler to accept parameters for controlling the inclusion of native and GC frames.
- Enhance the stack collector to properly format and append these frames during profiling.
- Add tests to verify the correct behavior of the profiler with respect to native and GC frames, including options to exclude them.
Co-authored-by: Pablo Galindo Salgado <pablogsal@gmail.com>
2025-11-17 13:39:00 +00:00
Pablo Galindo Salgado
89a914c58d
gh-135953: Add GIL contention markers to sampling profiler Gecko format ( #139485 )
...
This commit enhances the Gecko format reporter in the sampling profiler
to include markers for GIL acquisition events.
2025-11-17 12:46:26 +00:00
yihong
994ab5c922
gh-140729: Add __mp_main__ as a duplicate for __main__ for pickle to work ( #140735 )
2025-11-17 12:43:14 +00:00
Stan Ulbrych
c74793c450
gh-140741: Fix test added in gh-140745 ( #140760 )
...
Commit
2025-10-29 16:10:58 +00:00
Stan Ulbrych
d3aa5f689c
gh-140741: Fix profiling.sampling handling of error raised by target ( #140745 )
2025-10-29 11:38:28 +00:00
Pablo Galindo Salgado
0c66da8de4
gh-140137: Handle empty collections in profiling.sampling ( #140154 )
2025-10-15 14:59:12 +01:00
ivonastojanovic
75b1afe562
gh-135953: Add Gecko reporter to sampling profiler ( #139364 )
...
Signed-off-by: Pablo Galindo Salgado <pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <pablogsal@gmail.com>
2025-10-01 21:18:54 +01:00
Pablo Galindo Salgado
bc7b511376
gh-138122: Allow to filter by thread in tachyon's flamegraph ( #139216 )
2025-09-25 15:34:57 +01:00
Pablo Galindo Salgado
cb6fed0d7e
gh-138709: Supress stdout/stderr during test_sampling_profiler tests ( #139212 )
2025-09-21 18:39:07 +00:00
Pablo Galindo Salgado
67636f72d2
gh-138709: Implement CPU time profiling in profiling.sample ( #138710 )
2025-09-19 19:17:28 +01:00
László Kiss Kollár
3e06cfcaee
gh-135953: Reduce memory usage of stack collectors ( #138875 )
...
The stack collector base class keeps all frames until export() is
called, which causes significant unnecessary memory usage. Instead, we
can process the frames on the fly in the collect call by dispatching the
aggregation logic to the subclass through the process_frames method.
Co-authored-by: Pablo Galindo Salgado <pablogsal@gmail.com>
2025-09-14 23:47:14 +01:00
László Kiss Kollár
137519a38c
gh-135953: Add flamegraph reporter to sampling profiler ( #138715 )
2025-09-09 23:06:45 +01:00
Pablo Galindo Salgado
03ee060ec8
gh-138385: Sample all interpreters in the tachyon profiler ( #138398 )
2025-09-09 00:41:08 +01:00
Pablo Galindo Salgado
56eb6b64a0
gh-138122: Implement PEP 799 ( #138142 )
2025-08-27 17:52:50 +01:00