Skip to content

feat: add memory profiling support#103

Merged
not-matthias merged 3 commits intomasterfrom
cod-2105-support-memory-profiling-for-python
Feb 6, 2026
Merged

feat: add memory profiling support#103
not-matthias merged 3 commits intomasterfrom
cod-2105-support-memory-profiling-for-python

Conversation

@not-matthias
Copy link
Member

@not-matthias not-matthias commented Jan 28, 2026

No description provided.

@not-matthias not-matthias force-pushed the cod-2105-support-memory-profiling-for-python branch from 55eeef1 to 4bd794f Compare January 28, 2026 17:51
@not-matthias not-matthias marked this pull request as ready for review January 28, 2026 17:51
@not-matthias not-matthias force-pushed the cod-2105-support-memory-profiling-for-python branch from 2351156 to c6a08d7 Compare January 28, 2026 17:59
@avalanche-staging
Copy link

avalanche-staging bot commented Jan 28, 2026

Congrats! CodSpeed is installed 🎉

🆕 330 new benchmarks were detected.

You will start to see performance impacts in the reports once the benchmarks are run from your default branch.

Detected benchmarks


ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.


Open in CodSpeed

Copy link
Contributor

@GuillaumeLagrange GuillaumeLagrange left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I meant to request changes

Especially we need to validate the extra stack frame thing in instrumentation by comparing the output to a real prod run!

@not-matthias not-matthias force-pushed the cod-2105-support-memory-profiling-for-python branch from 1f5d7cf to e15aad8 Compare January 30, 2026 14:25
@codspeed-hq
Copy link

codspeed-hq bot commented Jan 30, 2026

Merging this PR will degrade performance by 9.59%

⚡ 14 improved benchmarks
❌ 15 (👁 15) regressed benchmarks
✅ 138 untouched benchmarks
🆕 110 new benchmarks

Performance Changes

Mode Benchmark BASE HEAD Efficiency
WallTime test_hamilton_cycle[graph0] 24.6 µs 24.1 µs +2.1%
👁 WallTime test_multiprocessing_map[10000] 137.3 ms 119.9 ms +14.58%
WallTime test_open_close_fd[1000] 9.1 ms 8.9 ms +3.01%
👁 WallTime test_make_lowpass 5.9 µs 6.1 µs -3.43%
👁 WallTime test_make_peak 6.6 µs 6.8 µs -3.29%
WallTime test_hostname_resolution[google.com] 399.9 µs 391.9 µs +2.03%
WallTime test_hostname_resolution[localhost] 125 µs 119.2 µs +4.85%
👁 WallTime test_process_creation[cat /dev/null] 4.9 ms 5.3 ms -7.2%
WallTime test_threadpool_map[10] 2.6 ms 2.5 ms +3.18%
👁 WallTime test_sum_squares_fast 165 µs 177.1 µs -6.83%
👁 WallTime test_multiprocessing_map[1000] 63.3 ms 58.5 ms +8.18%
👁 WallTime test_recursive_fibo_20 5.2 ms 5.4 ms -3.3%
👁 WallTime test_color[graph0-3] 27.4 µs 28.3 µs -3%
👁 WallTime test_solve_crossword[puzzle0-words0] 2.1 µs 2.2 µs -3.74%
👁 WallTime test_process_creation[ls -l] 6.3 ms 6.6 ms -4.93%
👁 WallTime test_sum_of_squares[sum_of_squares_sum_labmda_product] 251.2 µs 277.9 µs -9.59%
👁 WallTime test_multiprocessing_map[100] 53.8 ms 56.4 ms -4.59%
👁 WallTime test_noop_pass 558.9 ns 490.5 ns +13.95%
👁 WallTime test_process_creation[echo hello] 2.2 ms 2.4 ms -8.86%
WallTime test_tcp_connection[8.8.8.8-53] 679 µs 665.2 µs +2.07%
... ... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.


Comparing cod-2105-support-memory-profiling-for-python (36f5930) with master (c3a194a)

Open in CodSpeed

@not-matthias not-matthias force-pushed the cod-2105-support-memory-profiling-for-python branch 4 times, most recently from fc8f559 to 597bb2d Compare February 2, 2026 17:44
Copy link
Contributor

@GuillaumeLagrange GuillaumeLagrange left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@not-matthias not-matthias force-pushed the cod-2105-support-memory-profiling-for-python branch 2 times, most recently from baf8c5c to c2333d8 Compare February 6, 2026 15:50
@not-matthias not-matthias force-pushed the cod-2105-support-memory-profiling-for-python branch from c2333d8 to 36f5930 Compare February 6, 2026 16:05
@not-matthias not-matthias merged commit 36f5930 into master Feb 6, 2026
40 checks passed
@not-matthias not-matthias deleted the cod-2105-support-memory-profiling-for-python branch February 6, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants