Skip to content

Optionally use context swap on akka and pekko#10778

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 15 commits intomasterfrom
andrea.marziali/akka-swap
Mar 11, 2026
Merged

Optionally use context swap on akka and pekko#10778
gh-worker-dd-mergequeue-cf854d[bot] merged 15 commits intomasterfrom
andrea.marziali/akka-swap

Conversation

@amarziali
Copy link
Contributor

What Does This Do

Uses context swap instead of checkpoint/rollback when legacy context manager is disabled

Motivation

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

Note: Once your PR is ready to merge, add it to the merge queue by commenting /merge. /merge -c cancels the queue request. /merge -f --reason "reason" skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.

@amarziali amarziali requested a review from a team as a code owner March 10, 2026 08:43
@amarziali amarziali added type: enhancement Enhancements and improvements tag: no release notes Changes to exclude from release notes inst: akka Akka instrumentation labels Mar 10, 2026
@amarziali amarziali requested a review from a team as a code owner March 10, 2026 08:45
@amarziali amarziali requested a review from mcculls March 10, 2026 08:45
@pr-commenter
Copy link

pr-commenter bot commented Mar 10, 2026

Kafka / producer-benchmark

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch andrea.marziali/swap-messaging andrea.marziali/akka-swap
git_commit_date 1773050402 1773141744
git_commit_sha ae97a09 63aaf05
See matching parameters
Baseline Candidate
ci_job_date 1773142700 1773142700
ci_job_id 1491863364 1491863364
ci_pipeline_id 101540123 101540123
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
jdkVersion 11.0.25 11.0.25
jmhVersion 1.36 1.36
jvm /usr/lib/jvm/java-11-openjdk-amd64/bin/java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
jvmArgs -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/producer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/producer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant
vmName OpenJDK 64-Bit Server VM OpenJDK 64-Bit Server VM
vmVersion 11.0.25+9-post-Ubuntu-1ubuntu122.04 11.0.25+9-post-Ubuntu-1ubuntu122.04

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics.

See unchanged results
scenario Δ mean throughput
scenario:not-instrumented/KafkaProduceBenchmark.benchProduce same
scenario:only-tracing-dsm-disabled-benchmarks/KafkaProduceBenchmark.benchProduce same
scenario:only-tracing-dsm-enabled-benchmarks/KafkaProduceBenchmark.benchProduce same

Copy link
Contributor

@PerfectSlayer PerfectSlayer left a comment

Choose a reason for hiding this comment

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

Looking good.

🎯 suggestion: I would recommend using the return value for the "checkpointed" context and only keep the legacy task scope as local var, not the two as local vars. It should be easier to clean it later when we will drop the task scope.

@pr-commenter
Copy link

pr-commenter bot commented Mar 10, 2026

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master andrea.marziali/akka-swap
git_commit_date 1773178528 1773180451
git_commit_sha 10d731c b58d8f9
release_version 1.61.0-SNAPSHOT~10d731c967 1.61.0-SNAPSHOT~b58d8f98ca
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1773182094 1773182094
ci_job_id 1494925741 1494925741
ci_pipeline_id 101756972 101756972
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-owe64qi2 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-owe64qi2 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
module Agent Agent
parent None None

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 63 metrics, 8 unstable metrics.

Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.61.0-SNAPSHOT~b58d8f98ca, baseline=1.61.0-SNAPSHOT~10d731c967

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.056 s) : 0, 1056407
Total [baseline] (8.829 s) : 0, 8829174
Agent [candidate] (1.055 s) : 0, 1055266
Total [candidate] (8.828 s) : 0, 8828267
section iast
Agent [baseline] (1.228 s) : 0, 1227719
Total [baseline] (9.519 s) : 0, 9518711
Agent [candidate] (1.226 s) : 0, 1225980
Total [candidate] (9.536 s) : 0, 9536370
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.056 s -
Agent iast 1.228 s 171.312 ms (16.2%)
Total tracing 8.829 s -
Total iast 9.519 s 689.537 ms (7.8%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.055 s -
Agent iast 1.226 s 170.714 ms (16.2%)
Total tracing 8.828 s -
Total iast 9.536 s 708.103 ms (8.0%)
gantt
    title insecure-bank - break down per module: candidate=1.61.0-SNAPSHOT~b58d8f98ca, baseline=1.61.0-SNAPSHOT~10d731c967

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.188 ms) : 0, 1188
crashtracking [candidate] (1.185 ms) : 0, 1185
BytebuddyAgent [baseline] (628.167 ms) : 0, 628167
BytebuddyAgent [candidate] (626.769 ms) : 0, 626769
AgentMeter [baseline] (29.034 ms) : 0, 29034
AgentMeter [candidate] (28.993 ms) : 0, 28993
GlobalTracer [baseline] (256.655 ms) : 0, 256655
GlobalTracer [candidate] (255.949 ms) : 0, 255949
AppSec [baseline] (31.557 ms) : 0, 31557
AppSec [candidate] (31.499 ms) : 0, 31499
Debugger [baseline] (58.69 ms) : 0, 58690
Debugger [candidate] (58.531 ms) : 0, 58531
Remote Config [baseline] (588.43 µs) : 0, 588
Remote Config [candidate] (603.301 µs) : 0, 603
Telemetry [baseline] (8.771 ms) : 0, 8771
Telemetry [candidate] (8.626 ms) : 0, 8626
Flare Poller [baseline] (5.645 ms) : 0, 5645
Flare Poller [candidate] (7.132 ms) : 0, 7132
section iast
crashtracking [baseline] (1.196 ms) : 0, 1196
crashtracking [candidate] (1.186 ms) : 0, 1186
BytebuddyAgent [baseline] (797.178 ms) : 0, 797178
BytebuddyAgent [candidate] (796.154 ms) : 0, 796154
AgentMeter [baseline] (11.32 ms) : 0, 11320
AgentMeter [candidate] (11.312 ms) : 0, 11312
GlobalTracer [baseline] (247.491 ms) : 0, 247491
GlobalTracer [candidate] (247.233 ms) : 0, 247233
IAST [baseline] (25.143 ms) : 0, 25143
IAST [candidate] (25.075 ms) : 0, 25075
AppSec [baseline] (26.404 ms) : 0, 26404
AppSec [candidate] (27.109 ms) : 0, 27109
Debugger [baseline] (62.634 ms) : 0, 62634
Debugger [candidate] (61.782 ms) : 0, 61782
Remote Config [baseline] (536.084 µs) : 0, 536
Remote Config [candidate] (525.903 µs) : 0, 526
Telemetry [baseline] (14.88 ms) : 0, 14880
Telemetry [candidate] (15.116 ms) : 0, 15116
Flare Poller [baseline] (4.692 ms) : 0, 4692
Flare Poller [candidate] (4.538 ms) : 0, 4538
Loading
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.61.0-SNAPSHOT~b58d8f98ca, baseline=1.61.0-SNAPSHOT~10d731c967

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.059 s) : 0, 1058822
Total [baseline] (10.92 s) : 0, 10920097
Agent [candidate] (1.063 s) : 0, 1062528
Total [candidate] (11.034 s) : 0, 11033695
section appsec
Agent [baseline] (1.242 s) : 0, 1242053
Total [baseline] (11.084 s) : 0, 11083639
Agent [candidate] (1.246 s) : 0, 1246388
Total [candidate] (11.098 s) : 0, 11098249
section iast
Agent [baseline] (1.227 s) : 0, 1227448
Total [baseline] (11.301 s) : 0, 11301253
Agent [candidate] (1.231 s) : 0, 1231379
Total [candidate] (11.226 s) : 0, 11225522
section profiling
Agent [baseline] (1.179 s) : 0, 1178676
Total [baseline] (11.055 s) : 0, 11055329
Agent [candidate] (1.187 s) : 0, 1187311
Total [candidate] (11.004 s) : 0, 11003946
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.059 s -
Agent appsec 1.242 s 183.232 ms (17.3%)
Agent iast 1.227 s 168.626 ms (15.9%)
Agent profiling 1.179 s 119.855 ms (11.3%)
Total tracing 10.92 s -
Total appsec 11.084 s 163.543 ms (1.5%)
Total iast 11.301 s 381.157 ms (3.5%)
Total profiling 11.055 s 135.233 ms (1.2%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.063 s -
Agent appsec 1.246 s 183.86 ms (17.3%)
Agent iast 1.231 s 168.851 ms (15.9%)
Agent profiling 1.187 s 124.783 ms (11.7%)
Total tracing 11.034 s -
Total appsec 11.098 s 64.554 ms (0.6%)
Total iast 11.226 s 191.827 ms (1.7%)
Total profiling 11.004 s -29.75 ms (-0.3%)
gantt
    title petclinic - break down per module: candidate=1.61.0-SNAPSHOT~b58d8f98ca, baseline=1.61.0-SNAPSHOT~10d731c967

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.195 ms) : 0, 1195
crashtracking [candidate] (1.196 ms) : 0, 1196
BytebuddyAgent [baseline] (627.91 ms) : 0, 627910
BytebuddyAgent [candidate] (631.64 ms) : 0, 631640
AgentMeter [baseline] (29.062 ms) : 0, 29062
AgentMeter [candidate] (29.262 ms) : 0, 29262
GlobalTracer [baseline] (256.488 ms) : 0, 256488
GlobalTracer [candidate] (257.946 ms) : 0, 257946
AppSec [baseline] (31.552 ms) : 0, 31552
AppSec [candidate] (31.811 ms) : 0, 31811
Debugger [baseline] (59.365 ms) : 0, 59365
Debugger [candidate] (59.698 ms) : 0, 59698
Remote Config [baseline] (584.096 µs) : 0, 584
Remote Config [candidate] (587.397 µs) : 0, 587
Telemetry [baseline] (8.638 ms) : 0, 8638
Telemetry [candidate] (8.633 ms) : 0, 8633
Flare Poller [baseline] (7.963 ms) : 0, 7963
Flare Poller [candidate] (5.703 ms) : 0, 5703
section appsec
crashtracking [baseline] (1.195 ms) : 0, 1195
crashtracking [candidate] (1.193 ms) : 0, 1193
BytebuddyAgent [baseline] (655.459 ms) : 0, 655459
BytebuddyAgent [candidate] (658.201 ms) : 0, 658201
AgentMeter [baseline] (12.015 ms) : 0, 12015
AgentMeter [candidate] (12.09 ms) : 0, 12090
GlobalTracer [baseline] (257.68 ms) : 0, 257680
GlobalTracer [candidate] (258.208 ms) : 0, 258208
IAST [baseline] (23.872 ms) : 0, 23872
IAST [candidate] (23.89 ms) : 0, 23890
AppSec [baseline] (177.067 ms) : 0, 177067
AppSec [candidate] (177.769 ms) : 0, 177769
Debugger [baseline] (65.233 ms) : 0, 65233
Debugger [candidate] (65.692 ms) : 0, 65692
Remote Config [baseline] (573.627 µs) : 0, 574
Remote Config [candidate] (578.004 µs) : 0, 578
Telemetry [baseline] (9.081 ms) : 0, 9081
Telemetry [candidate] (8.906 ms) : 0, 8906
Flare Poller [baseline] (3.592 ms) : 0, 3592
Flare Poller [candidate] (3.59 ms) : 0, 3590
section iast
crashtracking [baseline] (1.198 ms) : 0, 1198
crashtracking [candidate] (1.206 ms) : 0, 1206
BytebuddyAgent [baseline] (796.193 ms) : 0, 796193
BytebuddyAgent [candidate] (800.519 ms) : 0, 800519
AgentMeter [baseline] (11.328 ms) : 0, 11328
AgentMeter [candidate] (11.327 ms) : 0, 11327
GlobalTracer [baseline] (247.485 ms) : 0, 247485
GlobalTracer [candidate] (247.43 ms) : 0, 247430
IAST [baseline] (25.154 ms) : 0, 25154
IAST [candidate] (25.102 ms) : 0, 25102
AppSec [baseline] (26.391 ms) : 0, 26391
AppSec [candidate] (26.35 ms) : 0, 26350
Debugger [baseline] (63.491 ms) : 0, 63491
Debugger [candidate] (63.196 ms) : 0, 63196
Remote Config [baseline] (538.692 µs) : 0, 539
Remote Config [candidate] (523.415 µs) : 0, 523
Telemetry [baseline] (15.368 ms) : 0, 15368
Telemetry [candidate] (14.877 ms) : 0, 14877
Flare Poller [baseline] (4.262 ms) : 0, 4262
Flare Poller [candidate] (4.391 ms) : 0, 4391
section profiling
crashtracking [baseline] (1.158 ms) : 0, 1158
crashtracking [candidate] (1.198 ms) : 0, 1198
BytebuddyAgent [baseline] (680.221 ms) : 0, 680221
BytebuddyAgent [candidate] (685.945 ms) : 0, 685945
AgentMeter [baseline] (8.54 ms) : 0, 8540
AgentMeter [candidate] (8.638 ms) : 0, 8638
GlobalTracer [baseline] (214.718 ms) : 0, 214718
GlobalTracer [candidate] (216.7 ms) : 0, 216700
AppSec [baseline] (31.78 ms) : 0, 31780
AppSec [candidate] (32.176 ms) : 0, 32176
Debugger [baseline] (62.909 ms) : 0, 62909
Debugger [candidate] (62.983 ms) : 0, 62983
Remote Config [baseline] (593.404 µs) : 0, 593
Remote Config [candidate] (576.045 µs) : 0, 576
Telemetry [baseline] (10.577 ms) : 0, 10577
Telemetry [candidate] (10.538 ms) : 0, 10538
Flare Poller [baseline] (3.503 ms) : 0, 3503
Flare Poller [candidate] (3.544 ms) : 0, 3544
ProfilingAgent [baseline] (94.015 ms) : 0, 94015
ProfilingAgent [candidate] (94.003 ms) : 0, 94003
Profiling [baseline] (94.587 ms) : 0, 94587
Profiling [candidate] (94.561 ms) : 0, 94561
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master andrea.marziali/akka-swap
git_commit_date 1773178528 1773180451
git_commit_sha 10d731c b58d8f9
release_version 1.61.0-SNAPSHOT~10d731c967 1.61.0-SNAPSHOT~b58d8f98ca
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1773182723 1773182723
ci_job_id 1494925742 1494925742
ci_pipeline_id 101756972 101756972
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-jytzh8f3 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-jytzh8f3 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 2 performance improvements and 0 performance regressions! Performance is the same for 18 metrics, 16 unstable metrics.

scenario Δ mean agg_http_req_duration_p50 Δ mean agg_http_req_duration_p95 Δ mean throughput candidate mean agg_http_req_duration_p50 candidate mean agg_http_req_duration_p95 candidate mean throughput baseline mean agg_http_req_duration_p50 baseline mean agg_http_req_duration_p95 baseline mean throughput
scenario:load:petclinic:iast:high_load better
[-1382.610µs; -539.831µs] or [-7.612%; -2.972%]
better
[-2.471ms; -1.269ms] or [-8.248%; -4.236%]
unstable
[-10.647op/s; +38.834op/s] or [-4.233%; +15.439%]
17.202ms 28.091ms 265.625op/s 18.163ms 29.961ms 251.531op/s
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~b58d8f98ca, baseline=1.61.0-SNAPSHOT~10d731c967
    dateFormat X
    axisFormat %s
section baseline
no_agent (18.866 ms) : 18671, 19061
.   : milestone, 18866,
appsec (18.486 ms) : 18298, 18673
.   : milestone, 18486,
code_origins (17.888 ms) : 17713, 18062
.   : milestone, 17888,
iast (18.554 ms) : 18361, 18746
.   : milestone, 18554,
profiling (18.636 ms) : 18453, 18819
.   : milestone, 18636,
tracing (18.044 ms) : 17864, 18223
.   : milestone, 18044,
section candidate
no_agent (18.178 ms) : 17991, 18364
.   : milestone, 18178,
appsec (18.427 ms) : 18237, 18616
.   : milestone, 18427,
code_origins (18.26 ms) : 18076, 18444
.   : milestone, 18260,
iast (17.565 ms) : 17390, 17740
.   : milestone, 17565,
profiling (18.974 ms) : 18785, 19164
.   : milestone, 18974,
tracing (17.727 ms) : 17552, 17902
.   : milestone, 17727,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 18.866 ms [18.671 ms, 19.061 ms] -
appsec 18.486 ms [18.298 ms, 18.673 ms] -380.29 µs (-2.0%)
code_origins 17.888 ms [17.713 ms, 18.062 ms] -978.084 µs (-5.2%)
iast 18.554 ms [18.361 ms, 18.746 ms] -312.393 µs (-1.7%)
profiling 18.636 ms [18.453 ms, 18.819 ms] -229.919 µs (-1.2%)
tracing 18.044 ms [17.864 ms, 18.223 ms] -822.036 µs (-4.4%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 18.178 ms [17.991 ms, 18.364 ms] -
appsec 18.427 ms [18.237 ms, 18.616 ms] 249.138 µs (1.4%)
code_origins 18.26 ms [18.076 ms, 18.444 ms] 82.604 µs (0.5%)
iast 17.565 ms [17.39 ms, 17.74 ms] -612.272 µs (-3.4%)
profiling 18.974 ms [18.785 ms, 19.164 ms] 796.868 µs (4.4%)
tracing 17.727 ms [17.552 ms, 17.902 ms] -450.895 µs (-2.5%)
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.61.0-SNAPSHOT~b58d8f98ca, baseline=1.61.0-SNAPSHOT~10d731c967
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.189 ms) : 1177, 1200
.   : milestone, 1189,
iast (3.243 ms) : 3200, 3286
.   : milestone, 3243,
iast_FULL (5.781 ms) : 5724, 5838
.   : milestone, 5781,
iast_GLOBAL (3.622 ms) : 3563, 3681
.   : milestone, 3622,
profiling (2.193 ms) : 2170, 2215
.   : milestone, 2193,
tracing (1.788 ms) : 1773, 1804
.   : milestone, 1788,
section candidate
no_agent (1.213 ms) : 1200, 1225
.   : milestone, 1213,
iast (3.241 ms) : 3195, 3287
.   : milestone, 3241,
iast_FULL (5.798 ms) : 5741, 5855
.   : milestone, 5798,
iast_GLOBAL (3.623 ms) : 3556, 3689
.   : milestone, 3623,
profiling (2.222 ms) : 2201, 2243
.   : milestone, 2222,
tracing (1.752 ms) : 1738, 1766
.   : milestone, 1752,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.189 ms [1.177 ms, 1.2 ms] -
iast 3.243 ms [3.2 ms, 3.286 ms] 2.054 ms (172.9%)
iast_FULL 5.781 ms [5.724 ms, 5.838 ms] 4.593 ms (386.4%)
iast_GLOBAL 3.622 ms [3.563 ms, 3.681 ms] 2.433 ms (204.7%)
profiling 2.193 ms [2.17 ms, 2.215 ms] 1.004 ms (84.5%)
tracing 1.788 ms [1.773 ms, 1.804 ms] 599.804 µs (50.5%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.213 ms [1.2 ms, 1.225 ms] -
iast 3.241 ms [3.195 ms, 3.287 ms] 2.028 ms (167.3%)
iast_FULL 5.798 ms [5.741 ms, 5.855 ms] 4.586 ms (378.2%)
iast_GLOBAL 3.623 ms [3.556 ms, 3.689 ms] 2.41 ms (198.8%)
profiling 2.222 ms [2.201 ms, 2.243 ms] 1.009 ms (83.2%)
tracing 1.752 ms [1.738 ms, 1.766 ms] 539.353 µs (44.5%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master andrea.marziali/akka-swap
git_commit_date 1773178528 1773180451
git_commit_sha 10d731c b58d8f9
release_version 1.61.0-SNAPSHOT~10d731c967 1.61.0-SNAPSHOT~b58d8f98ca
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1773182465 1773182465
ci_job_id 1494925743 1494925743
ci_pipeline_id 101756972 101756972
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-0-jgi7n86v 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-0-jgi7n86v 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 2 unstable metrics.

Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~b58d8f98ca, baseline=1.61.0-SNAPSHOT~10d731c967
    dateFormat X
    axisFormat %s
section baseline
no_agent (14.969 s) : 14969000, 14969000
.   : milestone, 14969000,
appsec (15.054 s) : 15054000, 15054000
.   : milestone, 15054000,
iast (18.408 s) : 18408000, 18408000
.   : milestone, 18408000,
iast_GLOBAL (17.782 s) : 17782000, 17782000
.   : milestone, 17782000,
profiling (14.515 s) : 14515000, 14515000
.   : milestone, 14515000,
tracing (15.27 s) : 15270000, 15270000
.   : milestone, 15270000,
section candidate
no_agent (15.706 s) : 15706000, 15706000
.   : milestone, 15706000,
appsec (14.805 s) : 14805000, 14805000
.   : milestone, 14805000,
iast (17.774 s) : 17774000, 17774000
.   : milestone, 17774000,
iast_GLOBAL (17.898 s) : 17898000, 17898000
.   : milestone, 17898000,
profiling (15.155 s) : 15155000, 15155000
.   : milestone, 15155000,
tracing (15.031 s) : 15031000, 15031000
.   : milestone, 15031000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.969 s [14.969 s, 14.969 s] -
appsec 15.054 s [15.054 s, 15.054 s] 85.0 ms (0.6%)
iast 18.408 s [18.408 s, 18.408 s] 3.439 s (23.0%)
iast_GLOBAL 17.782 s [17.782 s, 17.782 s] 2.813 s (18.8%)
profiling 14.515 s [14.515 s, 14.515 s] -454.0 ms (-3.0%)
tracing 15.27 s [15.27 s, 15.27 s] 301.0 ms (2.0%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.706 s [15.706 s, 15.706 s] -
appsec 14.805 s [14.805 s, 14.805 s] -901.0 ms (-5.7%)
iast 17.774 s [17.774 s, 17.774 s] 2.068 s (13.2%)
iast_GLOBAL 17.898 s [17.898 s, 17.898 s] 2.192 s (14.0%)
profiling 15.155 s [15.155 s, 15.155 s] -551.0 ms (-3.5%)
tracing 15.031 s [15.031 s, 15.031 s] -675.0 ms (-4.3%)
Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.61.0-SNAPSHOT~b58d8f98ca, baseline=1.61.0-SNAPSHOT~10d731c967
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.478 ms) : 1466, 1489
.   : milestone, 1478,
appsec (3.823 ms) : 3600, 4046
.   : milestone, 3823,
iast (2.263 ms) : 2194, 2332
.   : milestone, 2263,
iast_GLOBAL (2.299 ms) : 2230, 2368
.   : milestone, 2299,
profiling (2.102 ms) : 2047, 2157
.   : milestone, 2102,
tracing (2.073 ms) : 2020, 2126
.   : milestone, 2073,
section candidate
no_agent (1.483 ms) : 1471, 1494
.   : milestone, 1483,
appsec (3.792 ms) : 3570, 4013
.   : milestone, 3792,
iast (2.274 ms) : 2205, 2343
.   : milestone, 2274,
iast_GLOBAL (2.301 ms) : 2232, 2370
.   : milestone, 2301,
profiling (2.505 ms) : 2340, 2669
.   : milestone, 2505,
tracing (2.089 ms) : 2035, 2143
.   : milestone, 2089,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.478 ms [1.466 ms, 1.489 ms] -
appsec 3.823 ms [3.6 ms, 4.046 ms] 2.346 ms (158.7%)
iast 2.263 ms [2.194 ms, 2.332 ms] 785.459 µs (53.2%)
iast_GLOBAL 2.299 ms [2.23 ms, 2.368 ms] 821.099 µs (55.6%)
profiling 2.102 ms [2.047 ms, 2.157 ms] 624.377 µs (42.3%)
tracing 2.073 ms [2.02 ms, 2.126 ms] 595.246 µs (40.3%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.483 ms [1.471 ms, 1.494 ms] -
appsec 3.792 ms [3.57 ms, 4.013 ms] 2.309 ms (155.7%)
iast 2.274 ms [2.205 ms, 2.343 ms] 791.175 µs (53.4%)
iast_GLOBAL 2.301 ms [2.232 ms, 2.37 ms] 818.788 µs (55.2%)
profiling 2.505 ms [2.34 ms, 2.669 ms] 1.022 ms (68.9%)
tracing 2.089 ms [2.035 ms, 2.143 ms] 606.545 µs (40.9%)

Copy link
Contributor

@mcculls mcculls left a comment

Choose a reason for hiding this comment

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

Minor recommendation to avoid extra @Advice.Local and use @Advice.Enter instead

@pr-commenter
Copy link

pr-commenter bot commented Mar 10, 2026

Kafka / consumer-benchmark

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch andrea.marziali/swap-messaging andrea.marziali/akka-swap
git_commit_date 1773050402 1773141744
git_commit_sha ae97a09 63aaf05
See matching parameters
Baseline Candidate
ci_job_date 1773142742 1773142742
ci_job_id 1491863365 1491863365
ci_pipeline_id 101540123 101540123
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
jdkVersion 11.0.25 11.0.25
jmhVersion 1.36 1.36
jvm /usr/lib/jvm/java-11-openjdk-amd64/bin/java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
jvmArgs -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/consumer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/consumer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant
vmName OpenJDK 64-Bit Server VM OpenJDK 64-Bit Server VM
vmVersion 11.0.25+9-post-Ubuntu-1ubuntu122.04 11.0.25+9-post-Ubuntu-1ubuntu122.04

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics.

See unchanged results
scenario Δ mean throughput
scenario:not-instrumented/KafkaConsumerBenchmark.benchConsume unsure
[+2883.068op/s; +13169.792op/s] or [+0.980%; +4.479%]
scenario:only-tracing-dsm-disabled-benchmarks/KafkaConsumerBenchmark.benchConsume same
scenario:only-tracing-dsm-enabled-benchmarks/KafkaConsumerBenchmark.benchConsume same

Base automatically changed from andrea.marziali/swap-messaging to master March 10, 2026 18:09
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot removed the request for review from a team March 10, 2026 18:09
@amarziali amarziali enabled auto-merge March 10, 2026 19:49
@amarziali amarziali disabled auto-merge March 10, 2026 22:06
@amarziali amarziali enabled auto-merge March 10, 2026 22:06
@amarziali amarziali disabled auto-merge March 10, 2026 22:06
@amarziali amarziali force-pushed the andrea.marziali/akka-swap branch from ec4badf to d371790 Compare March 10, 2026 22:07
@amarziali amarziali enabled auto-merge March 10, 2026 22:07
@amarziali amarziali added this pull request to the merge queue Mar 10, 2026
@dd-octo-sts
Copy link
Contributor

dd-octo-sts bot commented Mar 10, 2026

/merge

@gh-worker-devflow-routing-ef8351
Copy link

gh-worker-devflow-routing-ef8351 bot commented Mar 10, 2026

View all feedbacks in Devflow UI.

2026-03-10 23:03:21 UTC ℹ️ Start processing command /merge


2026-03-10 23:03:26 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 1h (p90).


2026-03-11 00:01:02 UTC ℹ️ MergeQueue: This merge request was merged

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 10, 2026
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot merged commit 28a1a34 into master Mar 11, 2026
574 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot deleted the andrea.marziali/akka-swap branch March 11, 2026 00:01
@github-actions github-actions bot added this to the 1.61.0 milestone Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

inst: akka Akka instrumentation tag: no release notes Changes to exclude from release notes type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants