Skip to content

ci: integrate parallel benchmarks from apm-sdks-benchmarks#7996

Merged
BridgeAR merged 3 commits intomasterfrom
fayssal/integrate-apm-sdks-benchmarks
Apr 17, 2026
Merged

ci: integrate parallel benchmarks from apm-sdks-benchmarks#7996
BridgeAR merged 3 commits intomasterfrom
fayssal/integrate-apm-sdks-benchmarks

Conversation

@faydef
Copy link
Copy Markdown
Contributor

@faydef faydef commented Apr 14, 2026

What does this PR do?

Integrates the new suite of benchmarks to run alongside the old one for a brief period before switching and deprecating the old setup.

Motivation

  • Adds two benchmark suites: Express RealWorld and Hapi-Redis, both running multiple tracer configurations in parallel on the same machine with CPU pinning and interleaving for fair comparison

Additional Notes

  • The parallel benchmarks complement the existing macrobenchmarks; no existing jobs are removed (for now)
  • After the transition period, all macrobenchmark configuration changes should be made in the apm-sdks-benchmarks repository only.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 14, 2026

Overall package size

Self size: 5.5 MB
Deduped: 6.34 MB
No deduping: 6.34 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.0.1 | 82.56 kB | 817.39 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@datadog-datadog-prod-us1
Copy link
Copy Markdown

datadog-datadog-prod-us1 bot commented Apr 14, 2026

Tests

Fix all issues with BitsAI or with Cursor

⚠️ Other Violations

🧪 1 Test failed

Instrumentation when with when >=3 (3.0.0) "before all" hook for "should run the then() callbacks in the context where then() was called" from with when >=3 (3.0.0)   View in Datadog   (Fix with Cursor)
Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/dd-trace-js/dd-trace-js/packages/datadog-instrumentations/test/when.spec.js)

Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/dd-trace-js/dd-trace-js/packages/datadog-instrumentations/test/when.spec.js)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 67.85% (-0.16%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 89c074c | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback!

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.60%. Comparing base (bd32017) to head (89c074c).
⚠️ Report is 21 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7996      +/-   ##
==========================================
- Coverage   73.80%   73.60%   -0.21%     
==========================================
  Files         773      773              
  Lines       36044    36084      +40     
==========================================
- Hits        26604    26558      -46     
- Misses       9440     9526      +86     
Flag Coverage Δ
aiguard-macos 36.53% <ø> (+0.04%) ⬆️
aiguard-ubuntu 36.64% <ø> (+0.04%) ⬆️
aiguard-windows 36.44% <ø> (+0.03%) ⬆️
apm-capabilities-tracing-macos 48.17% <ø> (-0.25%) ⬇️
apm-capabilities-tracing-ubuntu 48.21% <ø> (-0.25%) ⬇️
apm-capabilities-tracing-windows 48.00% <ø> (-0.25%) ⬇️
apm-integrations-child-process 36.16% <ø> (+0.02%) ⬆️
apm-integrations-couchbase-18 35.18% <ø> (+0.05%) ⬆️
apm-integrations-couchbase-eol 35.20% <ø> (-0.01%) ⬇️
apm-integrations-oracledb 35.20% <ø> (+0.02%) ⬆️
appsec-express 52.90% <ø> (+0.05%) ⬆️
appsec-fastify 49.38% <ø> (+0.04%) ⬆️
appsec-graphql 49.64% <ø> (-0.06%) ⬇️
appsec-kafka 42.17% <ø> (+0.04%) ⬆️
appsec-ldapjs 41.48% <ø> (+0.03%) ⬆️
appsec-lodash 41.51% <ø> (+0.03%) ⬆️
appsec-macos 56.82% <ø> (+0.05%) ⬆️
appsec-mongodb-core 46.14% <ø> (?)
appsec-mongoose 46.71% <ø> (+0.04%) ⬆️
appsec-mysql 48.86% <ø> (+0.04%) ⬆️
appsec-node-serialize 40.69% <ø> (+0.03%) ⬆️
appsec-passport 44.68% <ø> (+0.04%) ⬆️
appsec-postgres 48.44% <ø> (+0.04%) ⬆️
appsec-sourcing 40.18% <ø> (+0.03%) ⬆️
appsec-stripe 42.40% <ø> (+0.03%) ⬆️
appsec-template 40.85% <ø> (+0.03%) ⬆️
appsec-ubuntu 56.90% <ø> (+0.04%) ⬆️
appsec-windows 56.71% <ø> (+0.06%) ⬆️
instrumentations-instrumentation-bluebird 29.85% <ø> (+0.01%) ⬆️
instrumentations-instrumentation-body-parser 37.76% <ø> (+0.02%) ⬆️
instrumentations-instrumentation-child_process 35.54% <ø> (+0.02%) ⬆️
instrumentations-instrumentation-cookie-parser 31.77% <ø> (+0.01%) ⬆️
instrumentations-instrumentation-express 31.99% <ø> (+0.01%) ⬆️
instrumentations-instrumentation-express-mongo-sanitize 31.90% <ø> (+0.01%) ⬆️
instrumentations-instrumentation-express-session 37.39% <ø> (+0.02%) ⬆️
instrumentations-instrumentation-fs 29.52% <ø> (+0.01%) ⬆️
instrumentations-instrumentation-generic-pool 30.99% <ø> (-0.01%) ⬇️
instrumentations-instrumentation-http 36.99% <ø> (+0.02%) ⬆️
instrumentations-instrumentation-knex 29.82% <ø> (+0.01%) ⬆️
instrumentations-instrumentation-mongoose 30.93% <ø> (+0.01%) ⬆️
instrumentations-instrumentation-multer 37.53% <ø> (+0.02%) ⬆️
instrumentations-instrumentation-mysql2 35.51% <ø> (+0.02%) ⬆️
instrumentations-instrumentation-passport 41.27% <ø> (+0.03%) ⬆️
instrumentations-instrumentation-passport-http 40.96% <ø> (+0.03%) ⬆️
instrumentations-instrumentation-passport-local 41.46% <ø> (+0.03%) ⬆️
instrumentations-instrumentation-pg 35.03% <ø> (+0.02%) ⬆️
instrumentations-instrumentation-promise 29.78% <ø> (+0.01%) ⬆️
instrumentations-instrumentation-promise-js 29.79% <ø> (+0.01%) ⬆️
instrumentations-instrumentation-q 29.82% <ø> (+0.01%) ⬆️
instrumentations-instrumentation-url 29.78% <ø> (+0.01%) ⬆️
instrumentations-instrumentation-when 29.80% <ø> (+0.01%) ⬆️
llmobs-ai 38.47% <ø> (+0.03%) ⬆️
llmobs-anthropic 37.92% <ø> (+0.02%) ⬆️
llmobs-bedrock 37.17% <ø> (+0.02%) ⬆️
llmobs-google-genai 37.61% <ø> (+0.02%) ⬆️
llmobs-langchain 37.05% <ø> (+0.02%) ⬆️
llmobs-openai 41.29% <ø> (+0.03%) ⬆️
llmobs-vertex-ai 37.78% <ø> (+0.02%) ⬆️
platform-core 30.01% <ø> (ø)
platform-esbuild 32.83% <ø> (ø)
platform-instrumentations-misc 40.24% <ø> (ø)
platform-shimmer 35.73% <ø> (ø)
platform-unit-guardrails 31.38% <ø> (ø)
platform-webpack 20.83% <ø> (+0.02%) ⬆️
plugins-azure-durable-functions 25.21% <ø> (ø)
plugins-azure-event-hubs 25.36% <ø> (ø)
plugins-azure-service-bus 24.78% <ø> (ø)
plugins-bullmq 40.81% <ø> (+0.03%) ⬆️
plugins-cassandra 35.34% <ø> (+0.02%) ⬆️
plugins-cookie 26.33% <ø> (ø)
plugins-cookie-parser 26.14% <ø> (ø)
plugins-crypto 25.66% <ø> (ø)
plugins-dd-trace-api 35.47% <ø> (+0.02%) ⬆️
plugins-express-mongo-sanitize 26.28% <ø> (ø)
plugins-express-session 26.10% <ø> (ø)
plugins-fastify 39.44% <ø> (+0.02%) ⬆️
plugins-fetch 35.85% <ø> (+0.02%) ⬆️
plugins-fs 35.76% <ø> (+0.01%) ⬆️
plugins-generic-pool 25.25% <ø> (ø)
plugins-google-cloud-pubsub 43.12% <ø> (+0.03%) ⬆️
plugins-grpc 38.12% <ø> (+0.03%) ⬆️
plugins-handlebars 26.32% <ø> (ø)
plugins-hapi 37.36% <ø> (+0.03%) ⬆️
plugins-hono 37.60% <ø> (+0.02%) ⬆️
plugins-ioredis 35.80% <ø> (+0.02%) ⬆️
plugins-knex 26.01% <ø> (ø)
plugins-langgraph 35.15% <ø> (+0.02%) ⬆️
plugins-ldapjs 23.88% <ø> (ø)
plugins-light-my-request 25.75% <ø> (ø)
plugins-limitd-client 30.07% <ø> (+0.01%) ⬆️
plugins-lodash 25.33% <ø> (ø)
plugins-mariadb 36.67% <ø> (+0.02%) ⬆️
plugins-memcached 35.45% <ø> (+0.02%) ⬆️
plugins-microgateway-core 36.44% <ø> (+0.03%) ⬆️
plugins-moleculer 38.15% <ø> (+0.03%) ⬆️
plugins-mongodb 36.54% <ø> (-0.09%) ⬇️
plugins-mongodb-core 36.26% <ø> (+0.02%) ⬆️
plugins-mongoose 36.13% <ø> (+0.02%) ⬆️
plugins-multer 26.10% <ø> (ø)
plugins-mysql 36.54% <ø> (+0.02%) ⬆️
plugins-mysql2 36.52% <ø> (+0.02%) ⬆️
plugins-node-serialize 26.37% <ø> (ø)
plugins-opensearch 35.10% <ø> (+0.02%) ⬆️
plugins-passport-http 26.16% <ø> (ø)
plugins-postgres 34.49% <ø> (+0.01%) ⬆️
plugins-process 25.66% <ø> (ø)
plugins-pug 26.33% <ø> (ø)
plugins-redis 35.96% <ø> (-0.02%) ⬇️
plugins-router 40.01% <ø> (-0.08%) ⬇️
plugins-sequelize 25.03% <ø> (ø)
plugins-test-and-upstream-amqp10 35.77% <ø> (+0.02%) ⬆️
plugins-test-and-upstream-amqplib 40.96% <ø> (+0.03%) ⬆️
plugins-test-and-upstream-apollo 36.62% <ø> (+0.02%) ⬆️
plugins-test-and-upstream-avsc 35.62% <ø> (+0.02%) ⬆️
plugins-test-and-upstream-bunyan 31.22% <ø> (+0.01%) ⬆️
plugins-test-and-upstream-connect 37.95% <ø> (+0.03%) ⬆️
plugins-test-and-upstream-graphql 37.30% <ø> (+0.02%) ⬆️
plugins-test-and-upstream-koa 37.56% <ø> (+0.02%) ⬆️
plugins-test-and-upstream-protobufjs 35.83% <ø> (+0.02%) ⬆️
plugins-test-and-upstream-rhea 41.07% <ø> (+0.06%) ⬆️
plugins-undici 36.63% <ø> (+0.02%) ⬆️
plugins-url 25.66% <ø> (ø)
plugins-valkey 35.47% <ø> (+0.01%) ⬆️
plugins-vm 25.66% <ø> (ø)
plugins-winston 31.65% <ø> (+0.02%) ⬆️
plugins-ws 39.08% <ø> (+0.03%) ⬆️
profiling-macos 38.03% <ø> (+0.03%) ⬆️
profiling-ubuntu 38.19% <ø> (+0.03%) ⬆️
profiling-windows 39.55% <ø> (+0.01%) ⬆️
serverless-azure-functions-client 25.10% <ø> (ø)
serverless-azure-functions-eventhubs 25.10% <ø> (ø)
serverless-azure-functions-servicebus 25.10% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pr-commenter
Copy link
Copy Markdown

pr-commenter bot commented Apr 14, 2026

Benchmarks

Benchmark execution time: 2026-04-17 09:04:56

Comparing candidate commit 89c074c in PR branch fayssal/integrate-apm-sdks-benchmarks with baseline commit bd32017 in branch master.

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

@faydef faydef force-pushed the fayssal/integrate-apm-sdks-benchmarks branch from 4573cfc to a8a9f06 Compare April 14, 2026 12:24
@faydef faydef changed the title Integrate apm sdks benchmarks ci: integrate parallel benchmarks from apm-sdks-benchmarks Apr 14, 2026
@faydef faydef force-pushed the fayssal/integrate-apm-sdks-benchmarks branch from 19b424b to eb6ddda Compare April 16, 2026 12:01
@faydef faydef force-pushed the fayssal/integrate-apm-sdks-benchmarks branch from eb6ddda to bfa6f89 Compare April 16, 2026 15:28
@faydef faydef marked this pull request as ready for review April 17, 2026 12:43
@faydef faydef requested a review from a team as a code owner April 17, 2026 12:43
@BridgeAR BridgeAR merged commit 3e74642 into master Apr 17, 2026
987 of 1002 checks passed
@BridgeAR BridgeAR deleted the fayssal/integrate-apm-sdks-benchmarks branch April 17, 2026 12:46
dd-octo-sts bot pushed a commit that referenced this pull request Apr 18, 2026
* integrate apm-sdks-benchmarks

* comment: intention to replace

* switch to using main ref
@dd-octo-sts dd-octo-sts bot mentioned this pull request Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants