Skip to content

bench(sirun): report operations per second#9039

Merged
BridgeAR merged 4 commits into
masterfrom
BridgeAR/2026-06-23-sirun-ops-startup-guard
Jun 25, 2026
Merged

bench(sirun): report operations per second#9039
BridgeAR merged 4 commits into
masterfrom
BridgeAR/2026-06-23-sirun-ops-startup-guard

Conversation

@BridgeAR

Copy link
Copy Markdown
Member

Summary

Loop benchmarks now emit an operations-per-second metric from the startup guard's measured window. The count comes from a single OPERATIONS env var, so benchmark metadata and benchmark code agree on the loop count used for throughput.

Test plan

  • node benchmark/sirun/run.js spans --iterations 1 --append --outfile check-runs.txt
  • node benchmark/sirun/run.js propagation --iterations 1 --append --outfile check-runs.txt
  • node benchmark/sirun/run.js async_hooks --iterations 1 --append --outfile check-runs.txt
  • npm run lint

Refs: #5606

BridgeAR added 2 commits June 23, 2026 11:12
Loop benchmarks now emit an operations-per-second metric from the same measured-loop window that the startup guard already owns, without adding a second timer around each benchmark.
Bench variants now use OPERATIONS as the single loop-count input, so the startup guard reports throughput from the same counter each benchmark already runs with.
@dd-octo-sts

dd-octo-sts Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 6.32 MB
Deduped: 7.39 MB
No deduping: 7.39 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.2.0 | 104.26 kB | 843.44 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |

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

@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.98%. Comparing base (5faeff8) to head (fd3327d).
⚠️ Report is 28 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9039      +/-   ##
==========================================
- Coverage   93.17%   92.98%   -0.20%     
==========================================
  Files         879      883       +4     
  Lines       50471    50534      +63     
  Branches     9935     9946      +11     
==========================================
- Hits        47028    46989      -39     
- Misses       3443     3545     +102     
Flag Coverage Δ
aiguard-integration-active 41.63% <ø> (-0.10%) ⬇️
aiguard-integration-latest 41.77% <ø> (+0.02%) ⬆️
aiguard-integration-maintenance 41.85% <ø> (+0.02%) ⬆️
aiguard-macos 34.59% <ø> (-0.05%) ⬇️
aiguard-ubuntu 34.74% <ø> (-0.15%) ⬇️
aiguard-windows 34.42% <ø> (-0.05%) ⬇️
apm-capabilities-tracing-macos 48.23% <ø> (+0.03%) ⬆️
apm-capabilities-tracing-ubuntu-active 48.22% <ø> (-0.14%) ⬇️
apm-capabilities-tracing-ubuntu-latest 48.40% <ø> (+0.20%) ⬆️
apm-capabilities-tracing-ubuntu-maintenance 48.45% <ø> (+0.03%) ⬆️
apm-capabilities-tracing-ubuntu-oldest 48.45% <ø> (+0.03%) ⬆️
apm-capabilities-tracing-windows 48.23% <ø> (+0.04%) ⬆️
apm-integrations-aerospike-18-gte.5.2.0 33.11% <ø> (-0.06%) ⬇️
apm-integrations-aerospike-20-gte.5.5.0 33.13% <ø> (-0.06%) ⬇️
apm-integrations-aerospike-22-gte.5.12.1 33.14% <ø> (-0.06%) ⬇️
apm-integrations-aerospike-22-gte.6.0.0 33.14% <ø> (-0.06%) ⬇️
apm-integrations-aerospike-eol- 33.04% <ø> (-0.06%) ⬇️
apm-integrations-child-process 34.05% <ø> (-0.06%) ⬇️
apm-integrations-confluentinc-kafka-javascript-18 40.06% <ø> (-0.04%) ⬇️
apm-integrations-confluentinc-kafka-javascript-20 40.08% <ø> (-0.04%) ⬇️
apm-integrations-confluentinc-kafka-javascript-22 40.08% <ø> (-0.04%) ⬇️
apm-integrations-confluentinc-kafka-javascript-24 39.98% <ø> (-0.04%) ⬇️
apm-integrations-couchbase-18 33.29% <ø> (+0.11%) ⬆️
apm-integrations-couchbase-eol 33.17% <ø> (-0.04%) ⬇️
apm-integrations-dns 32.98% <ø> (-0.06%) ⬇️
apm-integrations-elasticsearch 34.17% <ø> (-0.02%) ⬇️
apm-integrations-http-latest 41.89% <ø> (+0.02%) ⬆️
apm-integrations-http-maintenance 41.98% <ø> (+0.02%) ⬆️
apm-integrations-http-oldest 41.91% <ø> (+0.01%) ⬆️
apm-integrations-http2 39.09% <ø> (?)
apm-integrations-kafkajs-latest 40.11% <ø> (-0.17%) ⬇️
apm-integrations-kafkajs-oldest 40.20% <ø> (-0.06%) ⬇️
apm-integrations-net 33.66% <ø> (-0.06%) ⬇️
apm-integrations-next-11.1.4 36.30% <ø> (-0.36%) ⬇️
apm-integrations-next-12.3.7 36.30% <ø> (-0.36%) ⬇️
apm-integrations-next-13.0.0 29.11% <ø> (-0.04%) ⬇️
apm-integrations-next-13.2.0 29.11% <ø> (-0.04%) ⬇️
apm-integrations-next-13.5.11 29.25% <ø> (-0.04%) ⬇️
apm-integrations-next-14.0.0 29.18% <ø> (-0.04%) ⬇️
apm-integrations-next-14.2.35 29.18% <ø> (-0.04%) ⬇️
apm-integrations-next-14.2.6 29.22% <ø> (-0.01%) ⬇️
apm-integrations-next-14.2.7 29.18% <ø> (-0.04%) ⬇️
apm-integrations-next-15.0.0 29.18% <ø> (-0.04%) ⬇️
apm-integrations-next-15.4.0 29.25% <ø> (-0.04%) ⬇️
apm-integrations-next-latest 29.29% <ø> (-0.04%) ⬇️
apm-integrations-oracledb 34.00% <ø> (-0.04%) ⬇️
apm-integrations-prisma-18-gte.6.16.0.and.lt.7.0.0 34.82% <ø> (-0.06%) ⬇️
apm-integrations-prisma-latest-all ?
apm-integrations-restify 35.65% <ø> (+0.38%) ⬆️
apm-integrations-sharedb 32.57% <ø> (+0.04%) ⬆️
apm-integrations-tedious 33.92% <ø> (+0.46%) ⬆️
appsec-express 50.96% <ø> (-0.01%) ⬇️
appsec-fastify 47.75% <ø> (-0.03%) ⬇️
appsec-graphql 47.72% <ø> (-0.09%) ⬇️
appsec-integration-active 36.13% <ø> (+0.03%) ⬆️
appsec-integration-latest 36.13% <ø> (+0.03%) ⬆️
appsec-integration-maintenance 36.19% <ø> (?)
appsec-integration-oldest 36.19% <ø> (+0.03%) ⬆️
appsec-kafka 40.31% <ø> (-0.03%) ⬇️
appsec-ldapjs 39.83% <ø> (-0.05%) ⬇️
appsec-lodash 39.75% <ø> (-0.05%) ⬇️
appsec-macos 57.08% <ø> (+0.03%) ⬆️
appsec-mongodb-core 43.92% <ø> (-0.03%) ⬇️
appsec-mongoose 44.78% <ø> (-0.02%) ⬇️
appsec-mysql 47.04% <ø> (-0.03%) ⬇️
appsec-next-latest-11.1.4 27.40% <ø> (-0.04%) ⬇️
appsec-next-latest-12.3.7 27.47% <ø> (+0.03%) ⬆️
appsec-next-latest-13.0.0 29.19% <ø> (-0.04%) ⬇️
appsec-next-latest-13.2.0 29.22% <ø> (-0.04%) ⬇️
appsec-next-latest-13.5.11 29.31% <ø> (-0.04%) ⬇️
appsec-next-latest-14.0.0 29.24% <ø> (-0.04%) ⬇️
appsec-next-latest-14.2.35 29.24% <ø> (-0.04%) ⬇️
appsec-next-latest-14.2.6 29.24% <ø> (-0.04%) ⬇️
appsec-next-latest-14.2.7 29.24% <ø> (-0.04%) ⬇️
appsec-next-latest-15.0.0 29.24% <ø> (-0.04%) ⬇️
appsec-next-latest-latest 29.28% <ø> (-0.04%) ⬇️
appsec-next-oldest-11.1.4 27.46% <ø> (-0.04%) ⬇️
appsec-next-oldest-12.3.7 29.25% <ø> (-0.04%) ⬇️
appsec-next-oldest-13.0.0 29.25% <ø> (-0.04%) ⬇️
appsec-next-oldest-13.2.0 29.52% <ø> (-0.04%) ⬇️
appsec-next-oldest-13.5.11 29.61% <ø> (-0.04%) ⬇️
appsec-next-oldest-14.0.0 29.55% <ø> (-0.04%) ⬇️
appsec-next-oldest-14.2.35 29.55% <ø> (-0.04%) ⬇️
appsec-next-oldest-14.2.6 29.55% <ø> (-0.04%) ⬇️
appsec-next-oldest-14.2.7 29.55% <ø> (-0.04%) ⬇️
appsec-next-oldest-15.0.0 29.55% <ø> (-0.04%) ⬇️
appsec-next-oldest-latest 27.67% <ø> (+0.03%) ⬆️
appsec-node-serialize 39.04% <ø> (-0.08%) ⬇️
appsec-passport 42.69% <ø> (-0.04%) ⬇️
appsec-postgres 46.73% <ø> (-0.03%) ⬇️
appsec-sourcing 38.51% <ø> (-0.03%) ⬇️
appsec-stripe 40.54% <ø> (-0.05%) ⬇️
appsec-template 39.33% <ø> (-0.05%) ⬇️
appsec-ubuntu 57.13% <ø> (-0.04%) ⬇️
appsec-windows 56.94% <ø> (-0.05%) ⬇️
debugger-ubuntu-active 43.48% <ø> (+0.01%) ⬆️
debugger-ubuntu-latest ?
debugger-ubuntu-maintenance 43.60% <ø> (+0.01%) ⬆️
debugger-ubuntu-oldest 43.91% <ø> (-0.04%) ⬇️
instrumentations-instrumentation-ai 45.53% <ø> (ø)
instrumentations-instrumentation-aws-sdk 45.11% <ø> (ø)
instrumentations-instrumentation-bluebird 27.63% <ø> (-0.06%) ⬇️
instrumentations-instrumentation-body-parser 35.67% <ø> (-0.05%) ⬇️
instrumentations-instrumentation-child_process 33.34% <ø> (-0.06%) ⬇️
instrumentations-instrumentation-connect 48.51% <ø> (ø)
instrumentations-instrumentation-cookie-parser 29.53% <ø> (?)
instrumentations-instrumentation-couchbase-18 46.23% <ø> (ø)
instrumentations-instrumentation-couchbase-eol 46.23% <ø> (ø)
instrumentations-instrumentation-crypto 27.59% <ø> (-0.06%) ⬇️
instrumentations-instrumentation-express 29.73% <ø> (-0.05%) ⬇️
instrumentations-instrumentation-express-mongo-sanitize 29.64% <ø> (-0.05%) ⬇️
instrumentations-instrumentation-express-multi-version 41.80% <ø> (ø)
instrumentations-instrumentation-express-session 35.49% <ø> (-0.05%) ⬇️
instrumentations-instrumentation-fastify 48.47% <ø> (ø)
instrumentations-instrumentation-fetch 45.21% <ø> (ø)
instrumentations-instrumentation-fs 27.31% <ø> (-0.06%) ⬇️
instrumentations-instrumentation-generic-pool 27.49% <ø> (+0.02%) ⬆️
instrumentations-instrumentation-hono 28.84% <ø> (-0.05%) ⬇️
instrumentations-instrumentation-http 37.95% <ø> (-0.04%) ⬇️
instrumentations-instrumentation-http-client-options 37.55% <ø> (-0.04%) ⬇️
instrumentations-instrumentation-kafkajs 49.19% <ø> (ø)
instrumentations-instrumentation-knex 27.61% <ø> (-0.06%) ⬇️
instrumentations-instrumentation-koa 46.11% <ø> (ø)
instrumentations-instrumentation-light-my-request 35.31% <ø> (-0.05%) ⬇️
instrumentations-instrumentation-mongoose 28.73% <ø> (-0.05%) ⬇️
instrumentations-instrumentation-multer 35.34% <ø> (-0.05%) ⬇️
instrumentations-instrumentation-mysql2 33.46% <ø> (-0.06%) ⬇️
instrumentations-instrumentation-openai-lifecycle 46.21% <ø> (ø)
instrumentations-instrumentation-otel-sdk-trace 25.46% <ø> (+0.01%) ⬆️
instrumentations-instrumentation-passport 39.22% <ø> (-0.05%) ⬇️
instrumentations-instrumentation-passport-http 38.92% <ø> (-0.05%) ⬇️
instrumentations-instrumentation-passport-local 39.37% <ø> (-0.05%) ⬇️
instrumentations-instrumentation-pg 33.19% <ø> (-0.06%) ⬇️
instrumentations-instrumentation-promise 27.57% <ø> (?)
instrumentations-instrumentation-promise-js 27.57% <ø> (-0.06%) ⬇️
instrumentations-instrumentation-q 27.60% <ø> (-0.06%) ⬇️
instrumentations-instrumentation-restify 47.75% <ø> (ø)
instrumentations-instrumentation-router 43.64% <ø> (ø)
instrumentations-instrumentation-stripe 28.12% <ø> (-0.05%) ⬇️
instrumentations-instrumentation-url 27.43% <ø> (-0.06%) ⬇️
instrumentations-instrumentation-when 27.59% <ø> (-0.06%) ⬇️
instrumentations-instrumentation-zlib 27.48% <ø> (-0.06%) ⬇️
instrumentations-integration-esbuild-0.16.12-active 24.77% <ø> (+0.04%) ⬆️
instrumentations-integration-esbuild-0.16.12-latest 24.77% <ø> (+0.04%) ⬆️
instrumentations-integration-esbuild-0.16.12-maintenance 18.81% <ø> (+0.06%) ⬆️
instrumentations-integration-esbuild-0.16.12-oldest 18.80% <ø> (+0.06%) ⬆️
instrumentations-integration-esbuild-latest-active 24.77% <ø> (+0.04%) ⬆️
instrumentations-integration-esbuild-latest-latest 24.77% <ø> (+0.04%) ⬆️
instrumentations-integration-esbuild-latest-maintenance 18.81% <ø> (+0.06%) ⬆️
instrumentations-integration-esbuild-latest-oldest 18.80% <ø> (+0.06%) ⬆️
llmobs-ai ?
llmobs-anthropic 36.55% <ø> (-0.05%) ⬇️
llmobs-bedrock 36.04% <ø> (-0.07%) ⬇️
llmobs-google-genai 35.98% <ø> (-0.05%) ⬇️
llmobs-langchain 35.48% <ø> (-0.07%) ⬇️
llmobs-openai-latest 39.45% <ø> (-0.05%) ⬇️
llmobs-openai-oldest 39.53% <ø> (-0.05%) ⬇️
llmobs-sdk-active 43.41% <ø> (-0.04%) ⬇️
llmobs-sdk-latest 43.41% <ø> (-0.04%) ⬇️
llmobs-sdk-maintenance 43.51% <ø> (-0.04%) ⬇️
llmobs-sdk-oldest 43.49% <ø> (-0.04%) ⬇️
llmobs-vertex-ai 35.65% <ø> (-0.05%) ⬇️
master-coverage 92.98% <ø> (?)
openfeature-macos 37.51% <ø> (+0.03%) ⬆️
openfeature-ubuntu 37.65% <ø> (+0.03%) ⬆️
openfeature-unit-active 50.00% <ø> (+0.12%) ⬆️
openfeature-unit-latest 50.00% <ø> (+0.12%) ⬆️
openfeature-unit-maintenance 50.36% <ø> (+0.11%) ⬆️
openfeature-unit-oldest 50.36% <ø> (+0.11%) ⬆️
openfeature-windows 37.34% <ø> (-0.02%) ⬇️
platform-core 46.47% <ø> (ø)
platform-esbuild 18.74% <ø> (-28.75%) ⬇️
platform-instrumentations-misc 29.59% <ø> (+0.09%) ⬆️
platform-integration-active 47.11% <ø> (+0.04%) ⬆️
platform-integration-latest 47.10% <ø> (+0.04%) ⬆️
platform-integration-maintenance 47.21% <ø> (+0.04%) ⬆️
platform-integration-oldest 47.36% <ø> (+0.04%) ⬆️
platform-shimmer 47.50% <ø> (ø)
platform-unit-guardrails 44.42% <ø> (ø)
platform-webpack 18.39% <ø> (+0.11%) ⬆️
plugins-aws-durable-execution-sdk-js 32.84% <ø> (-0.07%) ⬇️
plugins-axios 35.48% <ø> (?)
plugins-azure-cosmos 35.98% <ø> (+0.12%) ⬆️
plugins-azure-event-hubs 34.85% <ø> (+0.04%) ⬆️
plugins-azure-service-bus 35.36% <ø> (+0.04%) ⬆️
plugins-body-parser 36.45% <ø> (+0.02%) ⬆️
plugins-bullmq 39.36% <ø> (-0.14%) ⬇️
plugins-cassandra 33.60% <ø> (-0.06%) ⬇️
plugins-cookie 40.72% <ø> (ø)
plugins-cookie-parser 40.55% <ø> (ø)
plugins-crypto 42.71% <ø> (ø)
plugins-dd-trace-api 33.19% <ø> (-0.07%) ⬇️
plugins-express-mongo-sanitize 40.60% <ø> (ø)
plugins-express-session 40.46% <ø> (ø)
plugins-fastify 37.79% <ø> (-0.05%) ⬇️
plugins-fetch 34.55% <ø> (-0.04%) ⬇️
plugins-fs 33.62% <ø> (-0.06%) ⬇️
plugins-generic-pool 40.02% <ø> (ø)
plugins-google-cloud-pubsub 41.35% <ø> (-0.04%) ⬇️
plugins-grpc 36.50% <ø> (-0.04%) ⬇️
plugins-handlebars 40.60% <ø> (ø)
plugins-hapi 35.78% <ø> (+0.16%) ⬆️
plugins-hono 35.90% <ø> (-0.06%) ⬇️
plugins-ioredis 34.26% <ø> (-0.06%) ⬇️
plugins-jest 27.03% <ø> (+0.04%) ⬆️
plugins-knex 40.06% <ø> (ø)
plugins-langgraph 32.32% <ø> (-0.06%) ⬇️
plugins-ldapjs 39.02% <ø> (ø)
plugins-light-my-request 40.16% <ø> (ø)
plugins-limitd-client 27.93% <ø> (-0.12%) ⬇️
plugins-lodash 40.21% <ø> (ø)
plugins-mariadb 35.10% <ø> (-0.06%) ⬇️
plugins-memcached 33.65% <ø> (-0.06%) ⬇️
plugins-microgateway-core 34.73% <ø> (-0.06%) ⬇️
plugins-modelcontextprotocol-sdk 32.28% <ø> (-0.06%) ⬇️
plugins-moleculer 36.56% <ø> (-0.04%) ⬇️
plugins-mongodb 35.76% <ø> (-0.13%) ⬇️
plugins-mongodb-core 35.38% <ø> (-0.04%) ⬇️
plugins-mongoose ?
plugins-multer 40.52% <ø> (ø)
plugins-mysql 34.59% <ø> (-0.03%) ⬇️
plugins-mysql2 34.91% <ø> (-0.04%) ⬇️
plugins-nats 36.28% <ø> (-0.04%) ⬇️
plugins-node-serialize 40.44% <ø> (-0.31%) ⬇️
plugins-opensearch 33.55% <ø> (-0.06%) ⬇️
plugins-passport-http 40.33% <ø> (ø)
plugins-pino 29.84% <ø> (-0.06%) ⬇️
plugins-postgres 34.63% <ø> (-0.04%) ⬇️
plugins-process 42.71% <ø> (ø)
plugins-pug 40.72% <ø> (ø)
plugins-redis 34.22% <ø> (-0.06%) ⬇️
plugins-router 38.02% <ø> (-0.19%) ⬇️
plugins-sequelize 39.98% <ø> (ø)
plugins-test-and-upstream-amqp10 33.63% <ø> (-0.22%) ⬇️
plugins-test-and-upstream-amqplib 39.12% <ø> (-0.02%) ⬇️
plugins-test-and-upstream-apollo 34.80% <ø> (-0.05%) ⬇️
plugins-test-and-upstream-avsc 33.68% <ø> (-0.05%) ⬇️
plugins-test-and-upstream-bunyan 29.06% <ø> (-0.06%) ⬇️
plugins-test-and-upstream-connect 36.23% <ø> (-0.12%) ⬇️
plugins-test-and-upstream-graphql 35.93% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-koa 35.84% <ø> (-0.06%) ⬇️
plugins-test-and-upstream-protobufjs 33.91% <ø> (-0.05%) ⬇️
plugins-test-and-upstream-rhea 39.06% <ø> (-0.04%) ⬇️
plugins-undici 34.98% <ø> (-0.03%) ⬇️
plugins-url 42.71% <ø> (ø)
plugins-valkey 33.60% <ø> (-0.19%) ⬇️
plugins-vm 42.71% <ø> (ø)
plugins-winston 29.72% <ø> (-0.05%) ⬇️
plugins-ws 37.04% <ø> (-0.04%) ⬇️
profiling-macos 43.00% <ø> (-0.06%) ⬇️
profiling-ubuntu 43.43% <ø> (-0.05%) ⬇️
profiling-windows 40.90% <ø> (-0.03%) ⬇️
serverless-aws-sdk-latest-aws-sdk 33.08% <ø> (-0.05%) ⬇️
serverless-aws-sdk-latest-bedrockruntime 31.93% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-client 36.33% <ø> (ø)
serverless-aws-sdk-latest-dynamodb 33.87% <ø> (-0.13%) ⬇️
serverless-aws-sdk-latest-eventbridge 27.11% <ø> (+0.01%) ⬆️
serverless-aws-sdk-latest-kinesis 37.11% <ø> (-0.06%) ⬇️
serverless-aws-sdk-latest-lambda 34.36% <ø> (-0.06%) ⬇️
serverless-aws-sdk-latest-s3 32.31% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-serverless-peer-service 39.25% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-sns 38.12% <ø> (-0.06%) ⬇️
serverless-aws-sdk-latest-sqs 37.74% <ø> (-0.06%) ⬇️
serverless-aws-sdk-latest-stepfunctions 32.95% <ø> (-0.05%) ⬇️
serverless-aws-sdk-latest-util 46.87% <ø> (ø)
serverless-aws-sdk-oldest-aws-sdk 33.20% <ø> (-0.05%) ⬇️
serverless-aws-sdk-oldest-bedrockruntime 32.02% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-client 36.90% <ø> (ø)
serverless-aws-sdk-oldest-dynamodb ?
serverless-aws-sdk-oldest-eventbridge ?
serverless-aws-sdk-oldest-kinesis 37.28% <ø> (-0.06%) ⬇️
serverless-aws-sdk-oldest-lambda 34.46% <ø> (-0.06%) ⬇️
serverless-aws-sdk-oldest-s3 32.45% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-serverless-peer-service ?
serverless-aws-sdk-oldest-sns 38.22% <ø> (-0.18%) ⬇️
serverless-aws-sdk-oldest-sqs 37.82% <ø> (-0.06%) ⬇️
serverless-aws-sdk-oldest-stepfunctions 33.05% <ø> (-0.05%) ⬇️
serverless-aws-sdk-oldest-util 47.64% <ø> (ø)
serverless-azure-durable-functions 36.81% <ø> (-0.12%) ⬇️
serverless-azure-functions-eventhubs 38.40% <ø> (+0.03%) ⬆️
serverless-azure-functions-servicebus 38.46% <ø> (+0.03%) ⬆️
serverless-lambda 34.32% <ø> (-0.07%) ⬇️
test-optimization-cucumber-latest-7.0.0 49.84% <ø> (+0.15%) ⬆️
test-optimization-cucumber-latest-latest 52.55% <ø> (+0.15%) ⬆️
test-optimization-cucumber-oldest-7.0.0 49.92% <ø> (+0.15%) ⬆️
test-optimization-cypress-latest-12.0.0-commonJS 48.52% <ø> (-0.01%) ⬇️
test-optimization-cypress-latest-12.0.0-esm 49.18% <ø> (+0.09%) ⬆️
test-optimization-cypress-latest-14.5.4-commonJS 48.99% <ø> (+0.09%) ⬆️
test-optimization-cypress-latest-14.5.4-esm 48.53% <ø> (-0.41%) ⬇️
test-optimization-cypress-latest-latest-commonJS 49.48% <ø> (+0.61%) ⬆️
test-optimization-cypress-latest-latest-esm 49.51% <ø> (-0.02%) ⬇️
test-optimization-cypress-oldest-12.0.0-commonJS 49.23% <ø> (+0.09%) ⬆️
test-optimization-cypress-oldest-12.0.0-esm 49.26% <ø> (+0.09%) ⬆️
test-optimization-cypress-oldest-14.5.4-commonJS 47.04% <ø> (-2.06%) ⬇️
test-optimization-cypress-oldest-14.5.4-esm 48.18% <ø> (-0.22%) ⬇️
test-optimization-jest-latest-latest 55.24% <ø> (+0.11%) ⬆️
test-optimization-jest-latest-oldest 54.17% <ø> (+0.11%) ⬆️
test-optimization-jest-oldest-latest 53.44% <ø> (-1.73%) ⬇️
test-optimization-jest-oldest-oldest 54.18% <ø> (+0.11%) ⬆️
test-optimization-mocha-latest-latest 53.50% <ø> (?)
test-optimization-mocha-latest-oldest 51.08% <ø> (+0.12%) ⬆️
test-optimization-mocha-oldest-latest 53.61% <ø> (+0.09%) ⬆️
test-optimization-mocha-oldest-oldest 51.09% <ø> (+0.14%) ⬆️
test-optimization-playwright-latest-latest-playwright-active-test-span 44.14% <ø> (+0.29%) ⬆️
test-optimization-playwright-latest-latest-playwright-atr 42.94% <ø> (+0.12%) ⬆️
test-optimization-playwright-latest-latest-playwright-efd 43.36% <ø> (+0.11%) ⬆️
test-optimization-playwright-latest-latest-playwright-final-status 43.40% <ø> (+0.12%) ⬆️
test-optimization-playwright-latest-latest-playwright-impacted-tests 42.90% <ø> (+0.02%) ⬆️
test-optimization-playwright-latest-latest-playwright-reporting 42.98% <ø> (+0.11%) ⬆️
test-optimization-playwright-latest-latest-playwright-test-management 44.43% <ø> (+0.12%) ⬆️
test-optimization-playwright-latest-oldest-playwright-active-test-span 44.10% <ø> (+0.28%) ⬆️
test-optimization-playwright-latest-oldest-playwright-atr 43.00% <ø> (+0.12%) ⬆️
test-optimization-playwright-latest-oldest-playwright-efd 43.30% <ø> (+0.11%) ⬆️
test-optimization-playwright-latest-oldest-playwright-final-status 43.34% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-oldest-playwright-impacted-tests 42.82% <ø> (+0.02%) ⬆️
test-optimization-playwright-latest-oldest-playwright-reporting 42.76% <ø> (+0.08%) ⬆️
test-optimization-playwright-latest-oldest-playwright-test-management 44.39% <ø> (+0.14%) ⬆️
test-optimization-playwright-oldest-latest-playwright-active-test-span 44.36% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-latest-playwright-atr 43.02% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-latest-playwright-efd 43.42% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-latest-playwright-final-status 43.48% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-impacted-tests 42.97% <ø> (+0.02%) ⬆️
test-optimization-playwright-oldest-latest-playwright-reporting 43.04% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-latest-playwright-test-management 44.52% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-active-test-span 44.18% <ø> (+0.28%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-atr 43.09% <ø> (+0.12%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-efd 43.36% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-final-status 43.42% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-impacted-tests 42.91% <ø> (+0.02%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-reporting 42.84% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-test-management 44.47% <ø> (?)
test-optimization-selenium-latest 45.42% <ø> (+0.26%) ⬆️
test-optimization-selenium-oldest 45.01% <ø> (+0.01%) ⬆️
test-optimization-testopt-active 48.25% <ø> (+0.15%) ⬆️
test-optimization-testopt-latest 48.25% <ø> (+0.15%) ⬆️
test-optimization-testopt-maintenance 48.24% <ø> (+0.16%) ⬆️
test-optimization-testopt-oldest 49.33% <ø> (+0.13%) ⬆️
test-optimization-vitest-latest 50.72% <ø> (+0.14%) ⬆️
test-optimization-vitest-oldest 48.10% <ø> (+0.38%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 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

pr-commenter Bot commented Jun 23, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-06-25 11:46:28

Comparing candidate commit fd3327d in PR branch BridgeAR/2026-06-23-sirun-ops-startup-guard with baseline commit 5faeff8 in branch master.

📊 Benchmarking dashboard

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

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 ----------------------------------'

Unstable benchmarks

These benchmarks have a confidence interval too wide to call a change; treat them as noise rather than signal.

scenario:appsec-appsec-enabled-24

  • unstable execution_time [-161.301ms; +151.726ms] or [-6.213%; +5.844%]

scenario:appsec-appsec-enabled-26

  • unstable execution_time [-174256.588µs; +174562.255µs] or [-7.000%; +7.012%]

scenario:appsec-control-20

  • unstable execution_time [-133.269ms; +122.393ms] or [-7.856%; +7.215%]

scenario:appsec-control-24

  • unstable execution_time [-93137.686µs; +94917.219µs] or [-7.760%; +7.908%]

scenario:appsec-control-26

  • unstable execution_time [-96525.890µs; +95352.557µs] or [-8.134%; +8.035%]

scenario:debugger-line-probe-with-snapshot-default-26

  • unstable max_rss_usage [-15.477MB; +19.050MB] or [-5.827%; +7.172%]

scenario:dogstatsd-with-tags-20

  • unstable cpu_user_time [-434.580ms; +277.513ms] or [-9.023%; +5.762%]
  • unstable execution_time [-434.902ms; +275.613ms] or [-8.889%; +5.633%]
  • unstable throughput [-94141.755op/s; +147812.628op/s] or [-5.481%; +8.606%]

scenario:plugin-graphql-long-with-depth-and-collapse-off-24

  • unstable cpu_user_time [-223.774ms; +448.275ms] or [-5.038%; +10.092%]
  • unstable execution_time [-232.998ms; +485.379ms] or [-4.934%; +10.278%]
  • unstable max_rss_usage [-20.490MB; +57.008MB] or [-3.810%; +10.601%]
  • unstable throughput [-4.649op/s; +2.130op/s] or [-10.231%; +4.688%]

scenario:plugin-graphql-long-with-depth-off-20

  • unstable max_rss_usage [-9.880MB; +6.292MB] or [-7.047%; +4.487%]

scenario:test-optimization-large-suite-20

  • unstable max_rss_usage [-4212.633KB; +3963.633KB] or [-5.341%; +5.025%]

scenario:test-optimization-wide-tags-24

  • unstable cpu_user_time [-177.316ms; +279.564ms] or [-4.308%; +6.793%]
  • unstable execution_time [-180.356ms; +279.785ms] or [-4.345%; +6.740%]

This makes sure the ops/sec metric only uses values that the measured loop actually consumes, while live request benchmarks keep their request-count knobs separate.
@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Jun 23, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: fd3327d | Docs | Datadog PR Page | Give us feedback!

…hit variant

Forcing an OPERATIONS count on every loop and asserting it was wrong for loops
whose iteration is not a single operation: profiler counts fixed busy-work
rounds, async_hooks batches promises across intervals, and test-codeowners runs
whole-corpus passes. Revert those three to their original count vars and have
startup-guard warn and skip the metric when OPERATIONS is unset, so a bench
reports throughput only when one iteration is one operation.

Also restore the debugger control flow. The restructure moved the install-only
path out of the DD_DYNAMIC_INSTRUMENTATION_ENABLED branch and dropped its
keepAlive, so the enabled-but-breakpoint-not-hit variant could exit before the
probe finished installing and measure nothing.
@BridgeAR BridgeAR marked this pull request as ready for review June 25, 2026 16:40
@BridgeAR BridgeAR requested review from a team as code owners June 25, 2026 16:40
@BridgeAR BridgeAR requested review from khanayan123 and wconti27 and removed request for a team June 25, 2026 16:40

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fd3327d68d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

return
}

statsd ??= new (require('./statsd'))()

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Move statsd setup outside the measured window

For loop benchmarks run under sirun, SIRUN_READY_FD resets wall.time to the post-ready period, and the process is still timed until it exits; this lazy require('./statsd') plus UDP socket construction runs after the hot loop but before exit, so it is included in sirun wall.time even though the duration used for .ops and the startup-share assertion exclude it. On shorter variants this adds a fixed post-loop cost to every sample and can mask small regressions; initialize/cache the StatsD client before loopStart() or otherwise outside the post-ready timing window.

Useful? React with 👍 / 👎.

@datadog-datadog-prod-us1-2 datadog-datadog-prod-us1-2 Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Datadog Autotest: PASS

More details

The PR consistently and correctly migrates all loop benchmarks to a unified OPERATIONS env var for throughput reporting. Every active work-loop variant in meta.json has OPERATIONS set; the one missing entry (debugger/enabled-but-breakpoint-not-hit) intentionally skips the work loop via INSTALL_ONLY=true. The startup-guard's existing startup-share assertion acts as a second safety net: if OPERATIONS were ever accidentally omitted, the 0-iteration loop would make startup share ≈ 100%, which fails loudly. No behavioral regressions found.

Was this helpful? React 👍 or 👎

📊 Validated against 8 scenarios · Open Bits AI session

🤖 Datadog Autotest · Commit fd3327d · What is Autotest? · Any feedback? Reach out in #autotest

@BridgeAR BridgeAR merged commit 16a785f into master Jun 25, 2026
805 checks passed
@BridgeAR BridgeAR deleted the BridgeAR/2026-06-23-sirun-ops-startup-guard branch June 25, 2026 19:12
This was referenced Jun 26, 2026
pabloerhard pushed a commit that referenced this pull request Jun 26, 2026
Loop benchmarks now emit an operations-per-second metric from the same measured-loop window that the startup guard already owns, without adding a second timer around each benchmark.

Bench variants now use OPERATIONS as loop-count input, so the startup guard reports throughput from the same counter each benchmark already runs with.
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