Skip to content

[Profiler] Prevent profiler from interrupted thread while executing handler SIGSEGV handler#8465

Merged
gleocadie merged 1 commit into
masterfrom
gleocadie/prevent-profiler-from-interrupted-thread-in-sigsegv-handler
Apr 17, 2026
Merged

[Profiler] Prevent profiler from interrupted thread while executing handler SIGSEGV handler#8465
gleocadie merged 1 commit into
masterfrom
gleocadie/prevent-profiler-from-interrupted-thread-in-sigsegv-handler

Conversation

@gleocadie

@gleocadie gleocadie commented Apr 16, 2026

Copy link
Copy Markdown
Collaborator

Summary of changes

This PR is inspired from #8162

Reason for change

There is a stack overflow on the altstack when coreclr's SIGSEGV handler is interrupted by SIGPROF signal.

Here is the trace from kernel (obtained with this vibecoded ebpf tracer https://github.com/korniltsev-grafanista/signalsnoop ):

rsp: 0x00007ee895e36b30
get_sigframe for tgid=974490 tid=974548 (.NET TP Worker), ret=0x7ee895e35f38
x64_setup_rt_frame failed for tgid=974490 tid=974548 (.NET TP Worker), sig=27, ret=-14
7ee895e36000-7ee895e39000 rw-p 00000000 00:00 0 // altstack
Details
get_sigframe for tgid=974490 tid=974548 (.NET TP Worker), ret=0x7ee895e35f38
        x64_setup_rt_frame
        arch_do_signal_or_restart
        irqentry_exit_to_user_mode
        asm_sysvec_apic_timer_interrupt
    Userspace registers:
        rip: 0x00007f2a70c16874  rsp: 0x00007ee895e36b30  flags: 0x0000000000000202
        rax: 0x00007ee895e37800  rbx: 0x00007ee87fbfdd68  rcx:   0x00007f2a70c16972
        rdx: 0x00007ee895e36b70  rsi: 0x0000000000000000  rdi:   0x00007ee895e36b90
        rbp: 0x00007ee895e377e0  r8:  0x00007ee895e37800  r9:    0x00007ee87418b629
        r10: 0x00000000000000f5  r11: 0x00007f2a714c1000  r12:   0x00007ee87fbfdd70
        r13: 0x00007ee895e36b90  r14: 0x00007ee895e38480  r15:   0x00007ee87fbfde00

x64_setup_rt_frame failed for tgid=974490 tid=974548 (.NET TP Worker), sig=27, ret=-14
    sa_flags: 0x14000004 (SA_RESTORER=true)
        arch_do_signal_or_restart
        irqentry_exit_to_user_mode
        asm_sysvec_apic_timer_interrupt
    Userspace registers:
        rip: 0x00007f2a70c16874  rsp: 0x00007ee895e36b30  flags: 0x0000000000000202
        rax: 0x00007ee895e37800  rbx: 0x00007ee87fbfdd68  rcx:   0x00007f2a70c16972
        rdx: 0x00007ee895e36b70  rsi: 0x0000000000000000  rdi:   0x00007ee895e36b90
        rbp: 0x00007ee895e377e0  r8:  0x00007ee895e37800  r9:    0x00007ee87418b629
        r10: 0x00000000000000f5  r11: 0x00007f2a714c1000  r12:   0x00007ee87fbfdd70
        r13: 0x00007ee895e36b90  r14: 0x00007ee895e38480  r15:   0x00007ee87fbfde00
    Stack probe:
        [sp+0] 0x00007ee895e36b30: 0x00007f2a70be4ad0
        [sp-128] 0x00007ee895e36ab0: 0x0000000000000000
        [sp-568] 0x00007ee895e368f8: 0x0000000000000000
        [sp-700] 0x00007ee895e36874: 0x0000000000000000

signal_setup_done failed for tgid=974490 tid=974548 (.NET TP Worker), sig=27, ret=1
        signal_setup_done
        arch_do_signal_or_restart
        irqentry_exit_to_user_mode
        asm_sysvec_apic_timer_interrupt
    Userspace registers:
        rip: 0x00007f2a70c16874  rsp: 0x00007ee895e36b30  flags: 0x0000000000000202
        rax: 0x00007ee895e37800  rbx: 0x00007ee87fbfdd68  rcx:   0x00007f2a70c16972
        rdx: 0x00007ee895e36b70  rsi: 0x0000000000000000  rdi:   0x00007ee895e36b90
        rbp: 0x00007ee895e377e0  r8:  0x00007ee895e37800  r9:    0x00007ee87418b629
        r10: 0x00000000000000f5  r11: 0x00007f2a714c1000  r12:   0x00007ee87fbfdd70
        r13: 0x00007ee895e36b90  r14: 0x00007ee895e38480  r15:   0x00007ee87fbfde00
    Stack probe:
        [sp+0] 0x00007ee895e36b30: 0x00007f2a70be4ad0
        [sp-128] 0x00007ee895e36ab0: 0x0000000000000000
        [sp-568] 0x00007ee895e368f8: 0x0000000000000000
        [sp-700] 0x00007ee895e36874: 0x0000000000000000

vfs_coredump for tgid=974490 tid=974548 (.NET TP Worker)
        vfs_coredump
        get_signal
        arch_do_signal_or_restart
        irqentry_exit_to_user_mode
        asm_sysvec_apic_timer_interrupt
    Userspace registers:
        rip: 0x00007f2a70c16874  rsp: 0x00007ee895e36b30  flags: 0x0000000000000202
        rax: 0x00007ee895e37800  rbx: 0x00007ee87fbfdd68  rcx:   0x00007f2a70c16972
        rdx: 0x00007ee895e36b70  rsi: 0x0000000000000000  rdi:   0x00007ee895e36b90
        rbp: 0x00007ee895e377e0  r8:  0x00007ee895e37800  r9:    0x00007ee87418b629
        r10: 0x00000000000000f5  r11: 0x00007f2a714c1000  r12:   0x00007ee87fbfdd70
        r13: 0x00007ee895e36b90  r14: 0x00007ee895e38480  r15:   0x00007ee87fbfde00
    Stack probe:
        [sp+0] 0x00007ee895e36b30: 0x00007f2a70be4ad0
        [sp-128] 0x00007ee895e36ab0: 0x0000000000000000
        [sp-568] 0x00007ee895e368f8: 0x0000000000000000
        [sp-700] 0x00007ee895e36874: 0x0000000000000000
    Process maps:
    
    
7ee895e36000-7ee895e39000 rw-p 00000000 00:00 0   <-- rsp=0x7ee895e36b30, rbp=0x7ee895e377e0, rax=0x7ee895e37800, rdx=0x7ee895e36b70, rdi=0x7ee895e36b90, r8=0x7ee895e37800, r13=0x7ee895e36b90, r14=0x7ee895e38480
7ee895e35f38


Implementation details

This PR adds wrappers to sigaction and pthread_sigmask.

sigaction masks SIGPROF if the signal is SIGSEGV - to prevent SIGSEGV stack overflow during signal delivering.
pthread_sigmask unblocks SIGPROF if we are unblocking SIGSEGV - the runtime unblocks SIGSEGV, and we should unblock SIGPROF as well to allow the profiler continue working and delivering SIGPROF signals.

Test coverage

This is the code I used to simplify reproducing - triggering null deref in managed code in a busy loop. https://github.com/grafana/pyroscope-dotnet/pull/177/files#diff-75c68efd0775648bc723a9557e3cc83a294c79852dc5dc2c733e8bb80e15a9fcR18

Other details

Disclaimer: the problem was initially reported by grafana user(using the fork https://github.com/grafana/pyroscope-dotnet) we then confirmed the same problem with the genuine (not fork) dd-trace-dotnet v0.34.0.

@github-actions github-actions Bot added the area:profiler Issues related to the continous-profiler label Apr 16, 2026
@dd-trace-dotnet-ci-bot

dd-trace-dotnet-ci-bot Bot commented Apr 16, 2026

Copy link
Copy Markdown

Execution-Time Benchmarks Report ⏱️

Execution-time results for samples comparing This PR (8465) and master.

✅ No regressions detected - check the details below

Full Metrics Comparison

FakeDbCommand

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration74.19 ± (74.38 - 75.01) ms72.04 ± (72.06 - 72.48) ms-2.9%
.NET Framework 4.8 - Bailout
duration77.61 ± (77.60 - 78.13) ms76.18 ± (76.05 - 76.42) ms-1.9%
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1071.64 ± (1071.49 - 1078.60) ms1075.26 ± (1076.15 - 1083.98) ms+0.3%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms22.79 ± (22.73 - 22.86) ms22.55 ± (22.50 - 22.59) ms-1.1%
process.time_to_main_ms86.38 ± (86.05 - 86.70) ms84.35 ± (84.11 - 84.59) ms-2.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.90 ± (10.90 - 10.91) MB10.90 ± (10.89 - 10.90) MB-0.1%
runtime.dotnet.threads.count12 ± (12 - 12)12 ± (12 - 12)+0.0%
.NET Core 3.1 - Bailout
process.internal_duration_ms22.34 ± (22.30 - 22.37) ms22.41 ± (22.37 - 22.45) ms+0.3%✅⬆️
process.time_to_main_ms85.29 ± (85.09 - 85.50) ms84.76 ± (84.57 - 84.96) ms-0.6%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.89 ± (10.88 - 10.89) MB10.93 ± (10.93 - 10.93) MB+0.4%✅⬆️
runtime.dotnet.threads.count13 ± (13 - 13)13 ± (13 - 13)+0.0%
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms229.08 ± (228.14 - 230.02) ms232.10 ± (231.20 - 233.00) ms+1.3%✅⬆️
process.time_to_main_ms525.10 ± (523.84 - 526.35) ms532.46 ± (531.02 - 533.91) ms+1.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed48.43 ± (48.40 - 48.45) MB48.50 ± (48.48 - 48.53) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 6 - Baseline
process.internal_duration_ms21.46 ± (21.40 - 21.52) ms21.04 ± (21.01 - 21.07) ms-2.0%
process.time_to_main_ms74.86 ± (74.56 - 75.16) ms72.38 ± (72.20 - 72.55) ms-3.3%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.61 ± (10.61 - 10.61) MB10.62 ± (10.62 - 10.62) MB+0.1%✅⬆️
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 6 - Bailout
process.internal_duration_ms21.18 ± (21.13 - 21.22) ms21.36 ± (21.30 - 21.42) ms+0.9%✅⬆️
process.time_to_main_ms73.06 ± (72.91 - 73.20) ms75.54 ± (75.23 - 75.85) ms+3.4%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed10.72 ± (10.72 - 10.73) MB10.74 ± (10.74 - 10.74) MB+0.1%✅⬆️
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms383.69 ± (381.54 - 385.85) ms386.47 ± (384.41 - 388.52) ms+0.7%✅⬆️
process.time_to_main_ms526.06 ± (524.82 - 527.29) ms527.12 ± (525.95 - 528.29) ms+0.2%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed49.97 ± (49.94 - 50.00) MB50.04 ± (50.02 - 50.07) MB+0.2%✅⬆️
runtime.dotnet.threads.count28 ± (28 - 28)28 ± (28 - 28)-0.0%
.NET 8 - Baseline
process.internal_duration_ms19.38 ± (19.35 - 19.42) ms19.67 ± (19.62 - 19.72) ms+1.5%✅⬆️
process.time_to_main_ms72.15 ± (71.98 - 72.32) ms73.98 ± (73.74 - 74.23) ms+2.5%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.68 ± (7.67 - 7.68) MB7.66 ± (7.65 - 7.66) MB-0.3%
runtime.dotnet.threads.count10 ± (10 - 10)10 ± (10 - 10)+0.0%
.NET 8 - Bailout
process.internal_duration_ms19.80 ± (19.74 - 19.86) ms19.45 ± (19.42 - 19.48) ms-1.8%
process.time_to_main_ms75.38 ± (75.09 - 75.66) ms74.06 ± (73.89 - 74.22) ms-1.8%
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed7.73 ± (7.72 - 7.74) MB7.70 ± (7.70 - 7.71) MB-0.4%
runtime.dotnet.threads.count11 ± (11 - 11)11 ± (11 - 11)+0.0%
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms302.54 ± (300.32 - 304.75) ms303.68 ± (301.58 - 305.77) ms+0.4%✅⬆️
process.time_to_main_ms487.93 ± (486.89 - 488.97) ms494.07 ± (492.90 - 495.23) ms+1.3%✅⬆️
runtime.dotnet.exceptions.count0 ± (0 - 0)0 ± (0 - 0)+0.0%
runtime.dotnet.mem.committed37.02 ± (37.00 - 37.04) MB37.04 ± (37.01 - 37.06) MB+0.1%✅⬆️
runtime.dotnet.threads.count27 ± (27 - 27)27 ± (27 - 27)-0.2%

HttpMessageHandler

Metric Master (Mean ± 95% CI) Current (Mean ± 95% CI) Change Status
.NET Framework 4.8 - Baseline
duration198.83 ± (198.87 - 199.87) ms200.12 ± (200.28 - 201.17) ms+0.6%✅⬆️
.NET Framework 4.8 - Bailout
duration203.11 ± (202.87 - 203.84) ms204.08 ± (204.02 - 204.78) ms+0.5%✅⬆️
.NET Framework 4.8 - CallTarget+Inlining+NGEN
duration1181.28 ± (1182.59 - 1190.24) ms1182.01 ± (1182.26 - 1188.64) ms+0.1%✅⬆️
.NET Core 3.1 - Baseline
process.internal_duration_ms194.74 ± (194.28 - 195.19) ms194.38 ± (193.94 - 194.83) ms-0.2%
process.time_to_main_ms84.36 ± (84.11 - 84.61) ms84.96 ± (84.68 - 85.24) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.03 ± (16.00 - 16.06) MB16.04 ± (16.01 - 16.06) MB+0.1%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (19 - 20)-0.2%
.NET Core 3.1 - Bailout
process.internal_duration_ms193.92 ± (193.56 - 194.29) ms195.05 ± (194.64 - 195.45) ms+0.6%✅⬆️
process.time_to_main_ms85.76 ± (85.53 - 85.99) ms86.47 ± (86.26 - 86.69) ms+0.8%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed16.15 ± (16.12 - 16.17) MB16.09 ± (16.06 - 16.11) MB-0.4%
runtime.dotnet.threads.count21 ± (20 - 21)21 ± (21 - 21)+0.1%✅⬆️
.NET Core 3.1 - CallTarget+Inlining+NGEN
process.internal_duration_ms404.52 ± (403.32 - 405.72) ms404.77 ± (403.69 - 405.84) ms+0.1%✅⬆️
process.time_to_main_ms528.63 ± (527.36 - 529.89) ms528.89 ± (527.68 - 530.09) ms+0.0%✅⬆️
runtime.dotnet.exceptions.count3 ± (3 - 3)3 ± (3 - 3)+0.0%
runtime.dotnet.mem.committed59.25 ± (59.19 - 59.30) MB59.26 ± (59.20 - 59.32) MB+0.0%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)+0.2%✅⬆️
.NET 6 - Baseline
process.internal_duration_ms199.38 ± (198.91 - 199.85) ms200.84 ± (200.43 - 201.26) ms+0.7%✅⬆️
process.time_to_main_ms73.45 ± (73.23 - 73.66) ms73.93 ± (73.64 - 74.22) ms+0.7%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.31 ± (16.29 - 16.34) MB16.33 ± (16.30 - 16.36) MB+0.1%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)19 ± (19 - 19)+0.8%✅⬆️
.NET 6 - Bailout
process.internal_duration_ms199.01 ± (198.56 - 199.46) ms200.84 ± (200.39 - 201.28) ms+0.9%✅⬆️
process.time_to_main_ms74.39 ± (74.22 - 74.56) ms75.26 ± (75.06 - 75.45) ms+1.2%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed16.38 ± (16.36 - 16.41) MB16.40 ± (16.37 - 16.42) MB+0.1%✅⬆️
runtime.dotnet.threads.count20 ± (20 - 20)20 ± (20 - 20)+0.3%✅⬆️
.NET 6 - CallTarget+Inlining+NGEN
process.internal_duration_ms596.04 ± (593.44 - 598.65) ms597.44 ± (594.98 - 599.90) ms+0.2%✅⬆️
process.time_to_main_ms524.24 ± (523.26 - 525.23) ms525.78 ± (524.82 - 526.75) ms+0.3%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed61.60 ± (61.50 - 61.70) MB61.76 ± (61.67 - 61.85) MB+0.3%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 31)30 ± (30 - 30)-0.2%
.NET 8 - Baseline
process.internal_duration_ms198.52 ± (198.07 - 198.97) ms196.97 ± (196.60 - 197.33) ms-0.8%
process.time_to_main_ms73.10 ± (72.89 - 73.31) ms72.83 ± (72.58 - 73.09) ms-0.4%
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.64 ± (11.62 - 11.65) MB11.69 ± (11.68 - 11.71) MB+0.5%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)18 ± (18 - 18)-1.2%
.NET 8 - Bailout
process.internal_duration_ms196.34 ± (195.91 - 196.78) ms198.34 ± (197.93 - 198.76) ms+1.0%✅⬆️
process.time_to_main_ms74.02 ± (73.81 - 74.24) ms74.40 ± (74.22 - 74.58) ms+0.5%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed11.68 ± (11.65 - 11.70) MB11.78 ± (11.76 - 11.80) MB+0.9%✅⬆️
runtime.dotnet.threads.count19 ± (19 - 19)20 ± (20 - 20)+1.4%✅⬆️
.NET 8 - CallTarget+Inlining+NGEN
process.internal_duration_ms519.63 ± (516.38 - 522.89) ms526.26 ± (523.17 - 529.34) ms+1.3%✅⬆️
process.time_to_main_ms488.00 ± (487.16 - 488.84) ms489.73 ± (488.87 - 490.58) ms+0.4%✅⬆️
runtime.dotnet.exceptions.count4 ± (4 - 4)4 ± (4 - 4)+0.0%
runtime.dotnet.mem.committed50.66 ± (50.62 - 50.70) MB50.68 ± (50.65 - 50.71) MB+0.0%✅⬆️
runtime.dotnet.threads.count30 ± (30 - 30)30 ± (30 - 30)-0.0%
Comparison explanation

Execution-time benchmarks measure the whole time it takes to execute a program, and are intended to measure the one-off costs. Cases where the execution time results for the PR are worse than latest master results are highlighted in **red**. The following thresholds were used for comparing the execution times:

  • Welch test with statistical test for significance of 5%
  • Only results indicating a difference greater than 5% and 5 ms are considered.

Note that these results are based on a single point-in-time result for each branch. For full results, see the dashboard.

Graphs show the p99 interval based on the mean and StdDev of the test run, as well as the mean value of the run (shown as a diamond below the graph).

Duration charts
FakeDbCommand (.NET Framework 4.8)
gantt
    title Execution time (ms) FakeDbCommand (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8465) - mean (72ms)  : 69, 75
    master - mean (75ms)  : 70, 80

    section Bailout
    This PR (8465) - mean (76ms)  : 74, 79
    master - mean (78ms)  : 74, 82

    section CallTarget+Inlining+NGEN
    This PR (8465) - mean (1,080ms)  : 1022, 1138
    master - mean (1,075ms)  : 1023, 1127

Loading
FakeDbCommand (.NET Core 3.1)
gantt
    title Execution time (ms) FakeDbCommand (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8465) - mean (114ms)  : 108, 119
    master - mean (116ms)  : 110, 122

    section Bailout
    This PR (8465) - mean (114ms)  : 111, 116
    master - mean (114ms)  : 111, 118

    section CallTarget+Inlining+NGEN
    This PR (8465) - mean (801ms)  : 765, 837
    master - mean (792ms)  : 763, 821

Loading
FakeDbCommand (.NET 6)
gantt
    title Execution time (ms) FakeDbCommand (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8465) - mean (99ms)  : 96, 103
    master - mean (103ms)  : 97, 108

    section Bailout
    This PR (8465) - mean (104ms)  : 97, 111
    master - mean (100ms)  : 98, 103

    section CallTarget+Inlining+NGEN
    This PR (8465) - mean (941ms)  : 900, 982
    master - mean (938ms)  : 904, 972

Loading
FakeDbCommand (.NET 8)
gantt
    title Execution time (ms) FakeDbCommand (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8465) - mean (102ms)  : 96, 107
    master - mean (99ms)  : 96, 102

    section Bailout
    This PR (8465) - mean (101ms)  : 99, 104
    master - mean (103ms)  : 96, 110

    section CallTarget+Inlining+NGEN
    This PR (8465) - mean (829ms)  : 796, 862
    master - mean (822ms)  : 787, 857

Loading
HttpMessageHandler (.NET Framework 4.8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Framework 4.8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8465) - mean (201ms)  : 194, 207
    master - mean (199ms)  : 194, 205

    section Bailout
    This PR (8465) - mean (204ms)  : 201, 208
    master - mean (203ms)  : 198, 208

    section CallTarget+Inlining+NGEN
    This PR (8465) - mean (1,185ms)  : 1140, 1231
    master - mean (1,186ms)  : 1131, 1242

Loading
HttpMessageHandler (.NET Core 3.1)
gantt
    title Execution time (ms) HttpMessageHandler (.NET Core 3.1)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8465) - mean (288ms)  : 282, 295
    master - mean (288ms)  : 282, 295

    section Bailout
    This PR (8465) - mean (291ms)  : 286, 296
    master - mean (289ms)  : 282, 295

    section CallTarget+Inlining+NGEN
    This PR (8465) - mean (963ms)  : 940, 986
    master - mean (963ms)  : 939, 987

Loading
HttpMessageHandler (.NET 6)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 6)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8465) - mean (284ms)  : 278, 289
    master - mean (281ms)  : 274, 289

    section Bailout
    This PR (8465) - mean (285ms)  : 278, 292
    master - mean (281ms)  : 276, 287

    section CallTarget+Inlining+NGEN
    This PR (8465) - mean (1,154ms)  : 1104, 1203
    master - mean (1,151ms)  : 1107, 1195

Loading
HttpMessageHandler (.NET 8)
gantt
    title Execution time (ms) HttpMessageHandler (.NET 8)
    dateFormat  x
    axisFormat %Q
    todayMarker off
    section Baseline
    This PR (8465) - mean (280ms)  : 271, 289
    master - mean (282ms)  : 275, 290

    section Bailout
    This PR (8465) - mean (283ms)  : 278, 288
    master - mean (281ms)  : 274, 288

    section CallTarget+Inlining+NGEN
    This PR (8465) - mean (1,047ms)  : 1003, 1091
    master - mean (1,042ms)  : 994, 1089

Loading

@chrisnas chrisnas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@gleocadie
gleocadie marked this pull request as ready for review April 17, 2026 08:06
@gleocadie
gleocadie requested a review from a team as a code owner April 17, 2026 08:06
@gleocadie
gleocadie force-pushed the gleocadie/prevent-profiler-from-interrupted-thread-in-sigsegv-handler branch from 3641bf5 to 6bcc4dc Compare April 17, 2026 08:34
@pr-commenter

pr-commenter Bot commented Apr 17, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-04-17 09:41:36

Comparing candidate commit 6bcc4dc in PR branch gleocadie/prevent-profiler-from-interrupted-thread-in-sigsegv-handler with baseline commit e91e2b5 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 27 metrics, 0 unstable metrics, 87 known flaky benchmarks.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

Known flaky benchmarks

These benchmarks are marked as flaky and will not trigger a failure. Modify FLAKY_BENCHMARKS_REGEX to control which benchmarks are marked as flaky.

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.005%]
  • ignore execution_time [-1112.726µs; -144.431µs] or [-0.553%; -0.072%]
  • ignore throughput [+235.985op/s; +659.829op/s] or [+0.280%; +0.782%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.007%]
  • ignore execution_time [-1933.035µs; +1560.293µs] or [-0.964%; +0.778%]
  • 🟩 throughput [+6047.735op/s; +8293.411op/s] or [+5.083%; +6.971%]

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • ignore execution_time [+0.092ms; +2.276ms] or [+0.046%; +1.145%]
  • ignore throughput [-503.177op/s; +617.239op/s] or [-0.512%; +0.628%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+8 bytes; +9 bytes] or [+0.266%; +0.279%]
  • 🟥 execution_time [+300.859ms; +302.726ms] or [+149.297%; +150.223%]
  • ignore throughput [+14.528op/s; +18.344op/s] or [+2.614%; +3.300%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+383.224ms; +386.895ms] or [+302.770%; +305.671%]
  • ignore throughput [+9.759op/s; +11.914op/s] or [+1.287%; +1.571%]

scenario:Benchmarks.Trace.AgentWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.009%; +0.002%]
  • 🟥 execution_time [+392.179ms; +394.747ms] or [+347.064%; +349.336%]
  • ignore throughput [-5.120op/s; -1.959op/s] or [-0.723%; -0.277%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net472

  • 🟥 allocated_mem [+1.308KB; +1.308KB] or [+27.529%; +27.541%]
  • ignore execution_time [+231.330µs; +836.730µs] or [+0.116%; +0.418%]
  • ignore throughput [-4728.232op/s; -4332.511op/s] or [-3.679%; -3.371%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net6.0

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+9.977%; +9.987%]
  • 🟩 execution_time [-15.850ms; -11.677ms] or [-7.402%; -5.453%]
  • ignore throughput [+4818.514op/s; +7673.751op/s] or [+3.517%; +5.601%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+27.502%; +27.510%]
  • ignore execution_time [-12.866ms; -8.711ms] or [-6.127%; -4.148%]
  • ignore throughput [-293.670op/s; +1991.949op/s] or [-0.266%; +1.801%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net472

  • 🟥 allocated_mem [+1.307KB; +1.307KB] or [+105.746%; +105.759%]
  • ignore execution_time [-542.468µs; +22.339µs] or [-0.270%; +0.011%]
  • 🟥 throughput [-238145.919op/s; -232208.836op/s] or [-24.316%; -23.710%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody net6.0

  • 🟥 allocated_mem [+471 bytes; +472 bytes] or [+38.558%; +38.566%]
  • 🟩 execution_time [-26.054ms; -21.185ms] or [-11.619%; -9.448%]
  • ignore throughput [-55810.129op/s; -33204.101op/s] or [-5.962%; -3.547%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody netcoreapp3.1

  • 🟥 allocated_mem [+1.272KB; +1.272KB] or [+105.292%; +105.304%]
  • ignore execution_time [-5.061ms; -0.686ms] or [-2.526%; -0.342%]
  • 🟥 throughput [-130194.106op/s; -113995.529op/s] or [-18.706%; -16.379%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [-624.678µs; +480.426µs] or [-0.311%; +0.239%]
  • ignore throughput [-1993.134op/s; -1111.116op/s] or [-1.341%; -0.748%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • ignore execution_time [-1237.651µs; +2323.276µs] or [-0.624%; +1.172%]
  • 🟩 throughput [+11548.512op/s; +14526.917op/s] or [+7.348%; +9.243%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorMoreComplexBody netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+2.329ms; +6.344ms] or [+1.187%; +3.234%]
  • 🟩 throughput [+7308.478op/s; +10007.945op/s] or [+5.822%; +7.973%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • ignore execution_time [-217.909µs; -2.726µs] or [-0.109%; -0.001%]
  • ignore throughput [+101173.609op/s; +107199.833op/s] or [+3.078%; +3.261%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.008%]
  • ignore execution_time [-2.948ms; -1.877ms] or [-1.457%; -0.928%]
  • 🟩 throughput [+479975.651op/s; +493351.193op/s] or [+16.004%; +16.450%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.ObjectExtractorSimpleBody netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • 🟩 execution_time [-18.934ms; -14.565ms] or [-8.728%; -6.714%]
  • 🟩 throughput [+206487.173op/s; +260410.425op/s] or [+8.196%; +10.336%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net472

  • ignore allocated_mem [+1 bytes; +4 bytes] or [+0.004%; +0.012%]
  • 🟥 execution_time [+299.329ms; +300.110ms] or [+149.565%; +149.955%]
  • ignore throughput [+166.589op/s; +188.714op/s] or [+1.840%; +2.084%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs net6.0

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.214ms; +302.543ms] or [+150.894%; +152.573%]
  • ignore throughput [+163.056op/s; +376.258op/s] or [+1.247%; +2.878%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeArgs netcoreapp3.1

  • ignore allocated_mem [-1 bytes; +2 bytes] or [-0.004%; +0.008%]
  • 🟥 execution_time [+299.420ms; +302.009ms] or [+150.824%; +152.129%]
  • ignore throughput [+126.204op/s; +253.197op/s] or [+1.218%; +2.444%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net472

  • ignore allocated_mem [+3 bytes; +4 bytes] or [+0.186%; +0.199%]
  • 🟥 execution_time [+296.072ms; +296.993ms] or [+145.419%; +145.871%]
  • ignore throughput [-7.336op/s; +0.392op/s] or [-0.194%; +0.010%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+295.602ms; +298.143ms] or [+144.509%; +145.751%]
  • ignore throughput [+140.618op/s; +193.194op/s] or [+2.043%; +2.807%]

scenario:Benchmarks.Trace.Asm.AppSecEncoderBenchmark.EncodeLegacyArgs netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • 🟥 execution_time [+302.286ms; +303.630ms] or [+151.082%; +151.754%]
  • ignore throughput [+71.045op/s; +88.658op/s] or [+1.410%; +1.760%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+6.866µs; +11.518µs] or [+1.410%; +2.365%]
  • ignore throughput [-46.754op/s; -28.035op/s] or [-2.277%; -1.365%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.010%]
  • 🟥 execution_time [+24.926µs; +51.875µs] or [+5.717%; +11.898%]
  • 🟥 throughput [-251.512op/s; -130.360op/s] or [-10.935%; -5.668%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmark netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [+7.530µs; +29.578µs] or [+1.613%; +6.337%]
  • ignore throughput [-145.825op/s; -64.693op/s] or [-6.732%; -2.986%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-3253.276ns; +1497.276ns] or [-0.878%; +0.404%]
  • ignore throughput [-9.108op/s; +24.337op/s] or [-0.337%; +0.901%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.007%]
  • 🟥 execution_time [+23.822µs; +47.578µs] or [+7.605%; +15.189%]
  • 🟥 throughput [-440.231op/s; -240.692op/s] or [-13.723%; -7.503%]

scenario:Benchmarks.Trace.Asm.AppSecWafBenchmark.RunWafRealisticBenchmarkWithAttack netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.003%]
  • ignore execution_time [-12289.274ns; +11075.274ns] or [-3.362%; +3.030%]
  • ignore throughput [-110.972op/s; +28.009op/s] or [-3.982%; +1.005%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.750ms; +300.482ms] or [+149.606%; +149.971%]
  • ignore throughput [+3526065.021op/s; +4098171.314op/s] or [+1.766%; +2.053%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net6.0

  • ignore allocated_mem [+119 bytes; +121 bytes] or [+0.666%; +0.677%]
  • unstable execution_time [+363.866ms; +401.886ms] or [+395.355%; +436.666%]
  • 🟩 throughput [+1031.215op/s; +1171.778op/s] or [+8.474%; +9.629%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest netcoreapp3.1

  • ignore allocated_mem [+43 bytes; +46 bytes] or [+0.211%; +0.222%]
  • unstable execution_time [+286.708ms; +326.383ms] or [+217.694%; +247.820%]
  • 🟩 throughput [+669.845op/s; +869.525op/s] or [+6.485%; +8.418%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net472

  • ignore allocated_mem [+2.769KB; +2.774KB] or [+4.920%; +4.929%]
  • unstable execution_time [+360.385ms; +431.337ms] or [+165.702%; +198.324%]
  • 🟥 throughput [-502.808op/s; -444.034op/s] or [-45.559%; -40.234%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • ignore allocated_mem [-1.270KB; -1.268KB] or [-2.995%; -2.990%]
  • unstable execution_time [+202.261ms; +335.471ms] or [+86.195%; +142.963%]
  • 🟥 throughput [-743.360op/s; -659.915op/s] or [-49.582%; -44.017%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • ignore allocated_mem [+1.402KB; +1.405KB] or [+3.311%; +3.318%]
  • 🟥 execution_time [+345.749ms; +354.337ms] or [+206.798%; +211.934%]
  • 🟥 throughput [-407.150op/s; -372.076op/s] or [-28.349%; -25.907%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-68.238µs; -40.979µs] or [-3.434%; -2.062%]
  • ignore throughput [+11.246op/s; +18.484op/s] or [+2.235%; +3.673%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-16.582µs; +6.783µs] or [-1.139%; +0.466%]
  • ignore throughput [-2.300op/s; +9.215op/s] or [-0.335%; +1.341%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSlice netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-65.534µs; -58.554µs] or [-2.280%; -2.037%]
  • ignore throughput [+7.248op/s; +8.123op/s] or [+2.084%; +2.335%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [-4.365µs; +2.144µs] or [-0.377%; +0.185%]
  • ignore throughput [-1.456op/s; +3.377op/s] or [-0.169%; +0.391%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+2.158µs; +39.763µs] or [+0.200%; +3.688%]
  • ignore throughput [-26.891op/s; +5.385op/s] or [-2.899%; +0.581%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • ignore execution_time [+8.114µs; +25.969µs] or [+0.435%; +1.391%]
  • ignore throughput [-6.944op/s; -2.290op/s] or [-1.296%; -0.427%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net472

  • ignore allocated_mem [-43 bytes; +21 bytes] or [-0.007%; +0.003%]
  • ignore execution_time [+9.280µs; +20.679µs] or [+0.363%; +0.808%]
  • ignore throughput [-3.088op/s; -1.366op/s] or [-0.791%; -0.350%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice net6.0

  • ignore allocated_mem [-38 bytes; +46 bytes] or [-0.006%; +0.007%]
  • 🟩 execution_time [-167.937µs; -119.988µs] or [-8.507%; -6.078%]
  • 🟩 throughput [+35.634op/s; +48.313op/s] or [+7.034%; +9.537%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OriginalCharSlice netcoreapp3.1

  • ignore allocated_mem [-42 bytes; +23 bytes] or [-0.007%; +0.004%]
  • ignore execution_time [-125.559µs; -84.143µs] or [-3.184%; -2.134%]
  • ignore throughput [+5.781op/s; +8.438op/s] or [+2.280%; +3.328%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • 🟥 execution_time [+304.216ms; +305.704ms] or [+153.197%; +153.947%]
  • ignore throughput [+2181.799op/s; +4220.639op/s] or [+0.702%; +1.358%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+302.459ms; +303.733ms] or [+151.563%; +152.201%]
  • ignore throughput [+9550.318op/s; +13860.018op/s] or [+1.506%; +2.185%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearch netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+300.777ms; +304.443ms] or [+151.098%; +152.939%]
  • ignore throughput [+19710.383op/s; +28436.446op/s] or [+4.152%; +5.990%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.004%]
  • 🟥 execution_time [+302.192ms; +304.510ms] or [+151.751%; +152.915%]
  • ignore throughput [+4428.864op/s; +7436.091op/s] or [+1.484%; +2.491%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.007%; +0.006%]
  • 🟥 execution_time [+299.285ms; +301.000ms] or [+147.983%; +148.831%]
  • ignore throughput [+12151.674op/s; +17895.896op/s] or [+1.958%; +2.883%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • 🟥 execution_time [+304.002ms; +307.691ms] or [+154.082%; +155.951%]
  • ignore throughput [-1854.288op/s; +6516.369op/s] or [-0.400%; +1.407%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net472

  • ignore allocated_mem [+0 bytes; +1 bytes] or [+0.108%; +0.119%]
  • 🟥 execution_time [+300.617ms; +302.052ms] or [+150.883%; +151.603%]
  • ignore throughput [-19639.949op/s; -17508.337op/s] or [-5.095%; -4.542%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+300.610ms; +303.319ms] or [+149.827%; +151.177%]
  • 🟩 throughput [+57048.017op/s; +62358.665op/s] or [+11.328%; +12.382%]

scenario:Benchmarks.Trace.GraphQLBenchmark.ExecuteAsync netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.006%]
  • 🟥 execution_time [+300.635ms; +303.347ms] or [+149.563%; +150.912%]
  • ignore throughput [-7512.581op/s; -2540.386op/s] or [-1.778%; -0.601%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [-1049.231µs; -313.893µs] or [-0.522%; -0.156%]
  • ignore throughput [-9385.188op/s; -8362.037op/s] or [-3.774%; -3.363%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.003%]
  • 🟩 execution_time [-16.072ms; -12.383ms] or [-7.473%; -5.758%]
  • 🟩 throughput [+24305.312op/s; +31188.530op/s] or [+6.668%; +8.556%]

scenario:Benchmarks.Trace.ILoggerBenchmark.EnrichedLog netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.008%]
  • ignore execution_time [-0.725ms; +3.191ms] or [-0.364%; +1.601%]
  • ignore throughput [+6907.301op/s; +12621.386op/s] or [+2.521%; +4.607%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net472

  • ignore allocated_mem [-4.459KB; -4.431KB] or [-1.623%; -1.613%]
  • ignore execution_time [+5.277µs; +45.246µs] or [+1.303%; +11.176%]
  • ignore throughput [-239.884op/s; -36.824op/s] or [-9.653%; -1.482%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark net6.0

  • 🟩 allocated_mem [-20.719KB; -20.698KB] or [-7.558%; -7.550%]
  • unstable execution_time [-57.768µs; -4.705µs] or [-11.418%; -0.930%]
  • ignore throughput [+39.171op/s; +225.433op/s] or [+1.955%; +11.249%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatAspectBenchmark netcoreapp3.1

  • 🟩 allocated_mem [-17.351KB; -17.335KB] or [-6.325%; -6.319%]
  • ignore execution_time [-45.208µs; +10.857µs] or [-7.834%; +1.881%]
  • ignore throughput [-23.380op/s; +129.013op/s] or [-1.336%; +7.371%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net472

  • ignore allocated_mem [-2 bytes; +2 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-570.934ns; +837.601ns] or [-0.989%; +1.451%]
  • ignore throughput [-230.145op/s; +169.111op/s] or [-1.328%; +0.976%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark net6.0

  • ignore allocated_mem [-4 bytes; +0 bytes] or [-0.010%; -0.001%]
  • 🟥 execution_time [+6.078µs; +10.119µs] or [+14.366%; +23.918%]
  • 🟥 throughput [-4604.879op/s; -2832.465op/s] or [-19.385%; -11.924%]

scenario:Benchmarks.Trace.Iast.StringAspectsBenchmark.StringConcatBenchmark netcoreapp3.1

  • ignore allocated_mem [-1 bytes; +1 bytes] or [-0.002%; +0.002%]
  • unstable execution_time [-14.673µs; -7.595µs] or [-22.765%; -11.783%]
  • 🟩 throughput [+1977.541op/s; +3466.134op/s] or [+12.133%; +21.266%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net472

  • ignore allocated_mem [+3 bytes; +4 bytes] or [+0.084%; +0.094%]
  • 🟥 execution_time [+301.706ms; +303.154ms] or [+152.499%; +153.231%]
  • ignore throughput [-103.743op/s; -82.624op/s] or [-1.733%; -1.381%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net6.0

  • ignore allocated_mem [-1 bytes; +0 bytes] or [-0.027%; -0.017%]
  • 🟥 execution_time [+298.087ms; +300.735ms] or [+151.725%; +153.073%]
  • ignore throughput [-168.503op/s; -93.017op/s] or [-2.090%; -1.154%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • 🟥 execution_time [+299.485ms; +301.750ms] or [+149.929%; +151.063%]
  • ignore throughput [-201.114op/s; -132.541op/s] or [-2.562%; -1.688%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [-673.269µs; -14.095µs] or [-0.336%; -0.007%]
  • ignore throughput [-17577.132op/s; -15797.822op/s] or [-4.866%; -4.373%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.007%]
  • ignore execution_time [-100.600µs; +1148.116µs] or [-0.050%; +0.574%]
  • 🟩 throughput [+38681.696op/s; +42815.075op/s] or [+7.322%; +8.104%]

scenario:Benchmarks.Trace.RedisBenchmark.SendReceive netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.006%]
  • ignore execution_time [+1.130ms; +4.791ms] or [+0.573%; +2.428%]
  • ignore throughput [+5567.776op/s; +13971.815op/s] or [+1.318%; +3.307%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • 🟥 execution_time [+302.187ms; +303.834ms] or [+150.613%; +151.434%]
  • ignore throughput [-2831.130op/s; -1695.935op/s] or [-1.869%; -1.120%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+0.000%; +0.009%]
  • 🟥 execution_time [+301.822ms; +303.295ms] or [+151.561%; +152.300%]
  • ignore throughput [+5596.437op/s; +7447.105op/s] or [+2.434%; +3.239%]

scenario:Benchmarks.Trace.SerilogBenchmark.EnrichedLog netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.003%]
  • 🟥 execution_time [+306.015ms; +308.418ms] or [+155.191%; +156.410%]
  • ignore throughput [+681.400op/s; +2567.485op/s] or [+0.384%; +1.446%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+300.025ms; +301.086ms] or [+149.654%; +150.183%]
  • 🟩 throughput [+65802101.191op/s; +66129008.716op/s] or [+47.921%; +48.159%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore net6.0

  • ignore allocated_mem [+103 bytes; +105 bytes] or [+0.605%; +0.615%]
  • unstable execution_time [+377.495ms; +414.937ms] or [+469.482%; +516.049%]
  • 🟩 throughput [+870.417op/s; +1062.074op/s] or [+6.729%; +8.210%]

scenario:Benchmarks.Trace.SingleSpanAspNetCoreBenchmark.SingleSpanAspNetCore netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [+nan%; +nan%]
  • 🟥 execution_time [+299.252ms; +300.181ms] or [+149.260%; +149.723%]
  • 🟩 throughput [+18130481.505op/s; +19076610.427op/s] or [+8.031%; +8.450%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [+516.233µs; +955.659µs] or [+0.258%; +0.478%]
  • ignore throughput [-8893.105op/s; -5192.047op/s] or [-0.992%; -0.579%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-4.248ms; -3.113ms] or [-2.080%; -1.525%]
  • 🟩 throughput [+96577.650op/s; +103757.285op/s] or [+9.017%; +9.687%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishScope netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.003%; +0.006%]
  • ignore execution_time [+0.669ms; +4.741ms] or [+0.338%; +2.399%]
  • 🟩 throughput [+57647.061op/s; +77112.775op/s] or [+6.673%; +8.926%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.000%; +0.009%]
  • ignore execution_time [+428.502µs; +1047.412µs] or [+0.214%; +0.523%]
  • ignore throughput [-18891.997op/s; -15747.695op/s] or [-1.729%; -1.442%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.004%]
  • ignore execution_time [+6.384ms; +10.572ms] or [+3.326%; +5.508%]
  • 🟩 throughput [+95358.793op/s; +125430.482op/s] or [+7.381%; +9.709%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.001%; +0.008%]
  • ignore execution_time [-3.866ms; -2.457ms] or [-1.899%; -1.207%]
  • 🟩 throughput [+74613.506op/s; +82785.999op/s] or [+7.410%; +8.222%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.008%; +0.002%]
  • ignore execution_time [-1417.685µs; -206.642µs] or [-0.706%; -0.103%]
  • ignore throughput [+11843.117op/s; +14703.256op/s] or [+2.639%; +3.276%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.004%; +0.009%]
  • ignore execution_time [-256.086µs; +1191.562µs] or [-0.128%; +0.595%]
  • 🟩 throughput [+45545.049op/s; +51567.794op/s] or [+8.270%; +9.364%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.006%; +0.004%]
  • ignore execution_time [+0.080ms; +4.165ms] or [+0.040%; +2.093%]
  • 🟩 throughput [+23779.564op/s; +33359.467op/s] or [+5.323%; +7.467%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net472

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.006%]
  • ignore execution_time [-1342.180µs; -356.819µs] or [-0.669%; -0.178%]
  • ignore throughput [-27950.826op/s; -22538.122op/s] or [-4.091%; -3.299%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin net6.0

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.007%]
  • ignore execution_time [-0.509ms; +2.997ms] or [-0.255%; +1.499%]
  • 🟩 throughput [+60705.244op/s; +78159.535op/s] or [+6.782%; +8.732%]

scenario:Benchmarks.Trace.TraceAnnotationsBenchmark.RunOnMethodBegin netcoreapp3.1

  • ignore allocated_mem [+0 bytes; +0 bytes] or [-0.005%; +0.005%]
  • ignore execution_time [+1.549ms; +5.437ms] or [+0.787%; +2.761%]
  • ignore throughput [+34502.619op/s; +49109.134op/s] or [+4.817%; +6.857%]

@gleocadie
gleocadie merged commit bac2202 into master Apr 17, 2026
146 checks passed
@gleocadie
gleocadie deleted the gleocadie/prevent-profiler-from-interrupted-thread-in-sigsegv-handler branch April 17, 2026 11:08
@github-actions github-actions Bot added this to the vNext-v3 milestone Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:profiler Issues related to the continous-profiler identified-by:customer type:bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants