Skip to content

bench(startup): add ESM variant that exercises the iitm loader#8956

Merged
BridgeAR merged 1 commit into
masterfrom
BridgeAR/2026-06-17-bench-esm-startup-loader
Jun 17, 2026
Merged

bench(startup): add ESM variant that exercises the iitm loader#8956
BridgeAR merged 1 commit into
masterfrom
BridgeAR/2026-06-17-bench-esm-startup-loader

Conversation

@BridgeAR

Copy link
Copy Markdown
Member

Summary

The startup sirun variants load everything-fixture through CommonJS require, which goes through require-in-the-middle and never registers the iitm ESM loader. That loader is what #8942 changes from an off-thread asynchronous loader (module.register) to an in-thread synchronous one (module.registerHooks), so the benchmark suite reported "performance is the same" for that PR — no variant put the loader on a measured path.

with-tracer-everything-esm registers the loader via --import ../../../register.js and imports the same fixture through ESM, so every dependency and its transitive graph flow through the loader's resolve/load hooks. On master this measures the async loader; on #8942 (sync loader on capable Node) the A/B renders the difference.

  • The fixture's index.mjs reads the same dependencies as index.js, so the dependency list stays single-sourced in package.json — updating one updates both.
  • Runs on the existing Node 20/24/26 matrix. Node 20 has no registerHooks, so perf(loader): use synchronous iitm hooks when available #8942 keeps the async loader there (no delta); 24/26 show the sync win.

Why

#8942's 56% Vitest startup reduction was invisible to CI because the existing startup variants are CJS-only. This closes that coverage gap and guards the ESM loader path against future regressions.

Test plan

Note on local validation: macOS sirun hangs on every startup variant (including the existing ones), so stability was checked with direct process timing — steady-state ~0.69s, ~2% spread, all three variants exit 0 on Node 20/24/26 — and the sirun numbers are left to CI's pinned isolated core, per the benchmark guidance.

Refs: #8942

The startup variants load the fixture through CommonJS require, which goes
through require-in-the-middle and never registers the iitm ESM loader. That
loader is what the synchronous module.registerHooks work changes from an
off-thread async loader to an in-thread sync one, so the suite reported no
movement for that change: nothing put the loader on a measured path.

with-tracer-everything-esm registers the loader via
--import ../../../register.js and imports the same fixture through ESM, so every
dependency and its transitive graph flow through the loader's resolve/load hooks.
The fixture's index.mjs reads the same dependencies as index.js, so the dependency
list stays single-sourced in package.json.

Refs: #8942
@dd-octo-sts

dd-octo-sts Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 6.25 MB
Deduped: 7.3 MB
No deduping: 7.3 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.0.2 | 85.93 kB | 825.11 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

@pr-commenter

pr-commenter Bot commented Jun 17, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-06-17 13:45:19

Comparing candidate commit 4766a8f in PR branch BridgeAR/2026-06-17-bench-esm-startup-loader with baseline commit ea6c2a8 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1950 metrics, 15 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 [-160.654ms; +149.404ms] or [-6.148%; +5.718%]

scenario:appsec-appsec-enabled-26

  • unstable execution_time [-172396.398µs; +172813.632µs] or [-6.935%; +6.952%]

scenario:appsec-control-20

  • unstable execution_time [-139.937ms; +130.182ms] or [-8.187%; +7.616%]

scenario:appsec-control-24

  • unstable execution_time [-93183.637µs; +91800.437µs] or [-7.788%; +7.672%]

scenario:appsec-control-26

  • unstable execution_time [-99.296ms; +82.365ms] or [-8.494%; +7.045%]

scenario:dogstatsd-many-tags-24

  • unstable cpu_user_time [-216.102ms; +335.548ms] or [-7.073%; +10.982%]
  • unstable execution_time [-219.121ms; +334.318ms] or [-6.947%; +10.600%]

scenario:dogstatsd-with-tags-20

  • unstable cpu_user_time [-361.233ms; +281.733ms] or [-7.189%; +5.607%]
  • unstable execution_time [-359.202ms; +285.678ms] or [-7.045%; +5.603%]

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

  • unstable cpu_user_time [-270.186ms; +420.439ms] or [-5.945%; +9.251%]
  • unstable execution_time [-283.569ms; +439.449ms] or [-5.858%; +9.079%]
  • unstable max_rss_usage [-28.048MB; +42.495MB] or [-5.082%; +7.700%]

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

  • unstable max_rss_usage [-1.245MB; +15.586MB] or [-0.890%; +11.139%]

scenario:spans-finish-later-26

  • unstable max_rss_usage [-7.325MB; +25.659MB] or [-4.194%; +14.691%]

scenario:test-optimization-large-suite-20

  • unstable max_rss_usage [-4317.842KB; +6261.842KB] or [-5.375%; +7.795%]

@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.21%. Comparing base (ea6c2a8) to head (4766a8f).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8956      +/-   ##
==========================================
- Coverage   92.54%   92.21%   -0.33%     
==========================================
  Files         877      875       -2     
  Lines       50256    50175      -81     
  Branches     9866     9860       -6     
==========================================
- Hits        46511    46271     -240     
- Misses       3745     3904     +159     
Flag Coverage Δ
aiguard-integration-active 41.45% <ø> (ø)
aiguard-integration-latest 41.46% <ø> (ø)
aiguard-integration-maintenance 41.54% <ø> (ø)
aiguard-macos 34.58% <ø> (-0.08%) ⬇️
aiguard-ubuntu 34.73% <ø> (-0.08%) ⬇️
aiguard-windows 34.40% <ø> (-0.08%) ⬇️
apm-capabilities-tracing-macos 47.83% <ø> (-0.04%) ⬇️
apm-capabilities-tracing-ubuntu-active 47.87% <ø> (?)
apm-capabilities-tracing-ubuntu-latest 47.87% <ø> (ø)
apm-capabilities-tracing-ubuntu-maintenance 48.09% <ø> (+0.17%) ⬆️
apm-capabilities-tracing-ubuntu-oldest 48.10% <ø> (ø)
apm-capabilities-tracing-windows 47.87% <ø> (+0.17%) ⬆️
apm-integrations-aerospike-18-gte.5.2.0 33.01% <ø> (-0.08%) ⬇️
apm-integrations-aerospike-20-gte.5.5.0 33.03% <ø> (-0.08%) ⬇️
apm-integrations-aerospike-22-gte.5.12.1 ?
apm-integrations-aerospike-22-gte.6.0.0 33.03% <ø> (-0.08%) ⬇️
apm-integrations-aerospike-eol- 32.93% <ø> (-0.08%) ⬇️
apm-integrations-child-process 33.95% <ø> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript-18 40.02% <ø> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript-20 ?
apm-integrations-confluentinc-kafka-javascript-22 40.04% <ø> (-0.08%) ⬇️
apm-integrations-confluentinc-kafka-javascript-24 39.93% <ø> (-0.08%) ⬇️
apm-integrations-couchbase-18 33.19% <ø> (+0.08%) ⬆️
apm-integrations-couchbase-eol 33.07% <ø> (-0.08%) ⬇️
apm-integrations-dns 32.95% <ø> (-0.08%) ⬇️
apm-integrations-elasticsearch 33.97% <ø> (-0.08%) ⬇️
apm-integrations-http-latest 41.16% <ø> (-0.07%) ⬇️
apm-integrations-http-maintenance 41.25% <ø> (-0.07%) ⬇️
apm-integrations-http-oldest 41.18% <ø> (-0.07%) ⬇️
apm-integrations-http2 38.31% <ø> (-0.08%) ⬇️
apm-integrations-kafkajs-latest 40.02% <ø> (-0.17%) ⬇️
apm-integrations-kafkajs-oldest 40.21% <ø> (-0.08%) ⬇️
apm-integrations-net 33.65% <ø> (-0.08%) ⬇️
apm-integrations-next-11.1.4 36.64% <ø> (ø)
apm-integrations-next-12.3.7 36.64% <ø> (ø)
apm-integrations-next-13.0.0 28.98% <ø> (-0.08%) ⬇️
apm-integrations-next-13.2.0 28.98% <ø> (-0.08%) ⬇️
apm-integrations-next-13.5.11 29.12% <ø> (-0.12%) ⬇️
apm-integrations-next-14.0.0 29.05% <ø> (-0.08%) ⬇️
apm-integrations-next-14.2.35 29.05% <ø> (-0.08%) ⬇️
apm-integrations-next-14.2.6 29.05% <ø> (-0.08%) ⬇️
apm-integrations-next-14.2.7 29.05% <ø> (-0.08%) ⬇️
apm-integrations-next-15.0.0 29.05% <ø> (-0.08%) ⬇️
apm-integrations-next-15.4.0 29.12% <ø> (-0.08%) ⬇️
apm-integrations-next-latest 29.16% <ø> (-0.08%) ⬇️
apm-integrations-oracledb ?
apm-integrations-prisma-18-gte.6.16.0.and.lt.7.0.0 34.74% <ø> (?)
apm-integrations-prisma-latest-all ?
apm-integrations-restify 35.05% <ø> (-0.08%) ⬇️
apm-integrations-sharedb 32.36% <ø> (-0.08%) ⬇️
apm-integrations-tedious 33.27% <ø> (-0.08%) ⬇️
appsec-express 50.94% <ø> (-0.06%) ⬇️
appsec-fastify ?
appsec-graphql 47.73% <ø> (-0.06%) ⬇️
appsec-integration-active 36.09% <ø> (ø)
appsec-integration-latest 36.09% <ø> (ø)
appsec-integration-maintenance 36.15% <ø> (ø)
appsec-integration-oldest 36.15% <ø> (ø)
appsec-kafka 40.23% <ø> (-0.07%) ⬇️
appsec-ldapjs 39.76% <ø> (-0.07%) ⬇️
appsec-lodash 39.68% <ø> (-0.07%) ⬇️
appsec-macos 57.13% <ø> (-0.06%) ⬇️
appsec-mongodb-core 43.87% <ø> (-0.06%) ⬇️
appsec-mongoose 44.72% <ø> (-0.06%) ⬇️
appsec-mysql 46.96% <ø> (-0.11%) ⬇️
appsec-next-latest-11.1.4 27.28% <ø> (-0.07%) ⬇️
appsec-next-latest-12.3.7 27.70% <ø> (ø)
appsec-next-latest-13.0.0 29.08% <ø> (-0.08%) ⬇️
appsec-next-latest-13.2.0 29.10% <ø> (-0.08%) ⬇️
appsec-next-latest-13.5.11 ?
appsec-next-latest-14.0.0 29.12% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.35 29.12% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.6 29.12% <ø> (-0.08%) ⬇️
appsec-next-latest-14.2.7 29.12% <ø> (-0.08%) ⬇️
appsec-next-latest-15.0.0 ?
appsec-next-latest-latest 29.16% <ø> (-0.08%) ⬇️
appsec-next-oldest-11.1.4 27.33% <ø> (-0.08%) ⬇️
appsec-next-oldest-12.3.7 29.14% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.0.0 29.14% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.2.0 29.40% <ø> (-0.08%) ⬇️
appsec-next-oldest-13.5.11 29.50% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.0.0 ?
appsec-next-oldest-14.2.35 29.43% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.2.6 29.43% <ø> (-0.08%) ⬇️
appsec-next-oldest-14.2.7 29.43% <ø> (-0.08%) ⬇️
appsec-next-oldest-15.0.0 29.43% <ø> (-0.08%) ⬇️
appsec-next-oldest-latest 27.90% <ø> (ø)
appsec-node-serialize 38.99% <ø> (-0.07%) ⬇️
appsec-passport 42.61% <ø> (-0.07%) ⬇️
appsec-postgres 46.68% <ø> (-0.06%) ⬇️
appsec-sourcing 38.40% <ø> (-0.07%) ⬇️
appsec-stripe 40.46% <ø> (-0.07%) ⬇️
appsec-template 39.23% <ø> (-0.07%) ⬇️
appsec-ubuntu 57.24% <ø> (-0.06%) ⬇️
appsec-windows 57.07% <ø> (-0.06%) ⬇️
debugger-ubuntu-active 43.51% <ø> (ø)
debugger-ubuntu-latest ?
debugger-ubuntu-maintenance 43.63% <ø> (ø)
debugger-ubuntu-oldest 43.94% <ø> (ø)
instrumentations-instrumentation-ai 45.33% <ø> (ø)
instrumentations-instrumentation-aws-sdk 44.93% <ø> (ø)
instrumentations-instrumentation-bluebird 27.42% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-body-parser 35.56% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-child_process 33.33% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-cookie-parser 29.31% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-couchbase-18 46.02% <ø> (ø)
instrumentations-instrumentation-couchbase-eol 46.02% <ø> (ø)
instrumentations-instrumentation-crypto 27.47% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-express 29.52% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-express-mongo-sanitize 29.43% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-express-multi-version 41.47% <ø> (ø)
instrumentations-instrumentation-express-session 35.33% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-fastify 47.86% <ø> (ø)
instrumentations-instrumentation-fetch 44.76% <ø> (ø)
instrumentations-instrumentation-fs 27.18% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-generic-pool 27.02% <ø> (ø)
instrumentations-instrumentation-hono 28.63% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-http 37.90% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-http-client-options 37.50% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-kafkajs 48.94% <ø> (ø)
instrumentations-instrumentation-knex 27.41% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-light-my-request 35.19% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-mongoose 28.52% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-multer 35.23% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-mysql2 33.36% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-openai-lifecycle 46.00% <ø> (ø)
instrumentations-instrumentation-otel-sdk-trace 25.27% <ø> (ø)
instrumentations-instrumentation-passport 39.12% <ø> (-0.07%) ⬇️
instrumentations-instrumentation-passport-http 38.81% <ø> (-0.07%) ⬇️
instrumentations-instrumentation-passport-local 39.27% <ø> (-0.07%) ⬇️
instrumentations-instrumentation-pg 33.08% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-promise 27.37% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-promise-js 27.37% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-q 27.40% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-router 43.07% <ø> (ø)
instrumentations-instrumentation-stripe 27.90% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-url 27.30% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-when 27.38% <ø> (-0.08%) ⬇️
instrumentations-instrumentation-zlib 27.35% <ø> (?)
instrumentations-integration-esbuild-0.16.12-active 24.59% <ø> (ø)
instrumentations-integration-esbuild-0.16.12-latest ?
instrumentations-integration-esbuild-0.16.12-maintenance 18.57% <ø> (ø)
instrumentations-integration-esbuild-0.16.12-oldest 18.56% <ø> (ø)
instrumentations-integration-esbuild-latest-active 24.59% <ø> (ø)
instrumentations-integration-esbuild-latest-latest 24.59% <ø> (ø)
instrumentations-integration-esbuild-latest-maintenance 18.57% <ø> (ø)
instrumentations-integration-esbuild-latest-oldest 18.56% <ø> (ø)
llmobs-ai 35.08% <ø> (-0.07%) ⬇️
llmobs-anthropic 36.46% <ø> (-0.08%) ⬇️
llmobs-bedrock 35.98% <ø> (-0.07%) ⬇️
llmobs-google-genai 35.74% <ø> (-0.07%) ⬇️
llmobs-langchain 34.76% <ø> (-0.06%) ⬇️
llmobs-openai-latest 39.39% <ø> (-0.07%) ⬇️
llmobs-openai-oldest 39.47% <ø> (-0.07%) ⬇️
llmobs-sdk-active 43.43% <ø> (-0.08%) ⬇️
llmobs-sdk-latest 43.43% <ø> (-0.08%) ⬇️
llmobs-sdk-maintenance 43.53% <ø> (-0.08%) ⬇️
llmobs-sdk-oldest 43.52% <ø> (-0.08%) ⬇️
llmobs-vertex-ai ?
master-coverage 92.21% <ø> (?)
openfeature-macos 37.39% <ø> (ø)
openfeature-ubuntu 37.53% <ø> (ø)
openfeature-unit-active 49.95% <ø> (ø)
openfeature-unit-latest 49.95% <ø> (ø)
openfeature-unit-maintenance 50.32% <ø> (ø)
openfeature-unit-oldest 50.32% <ø> (ø)
openfeature-windows 37.21% <ø> (-0.06%) ⬇️
platform-core 45.98% <ø> (ø)
platform-esbuild 46.62% <ø> (ø)
platform-instrumentations-misc 29.32% <ø> (ø)
platform-integration-active 46.64% <ø> (ø)
platform-integration-latest 46.63% <ø> (-0.03%) ⬇️
platform-integration-maintenance ?
platform-integration-oldest 46.84% <ø> (-0.05%) ⬇️
platform-shimmer 47.05% <ø> (ø)
platform-unit-guardrails 44.04% <ø> (ø)
platform-webpack 18.10% <ø> (ø)
plugins-aws-durable-execution-sdk-js 32.74% <ø> (-0.07%) ⬇️
plugins-axios 35.32% <ø> (ø)
plugins-azure-cosmos 35.79% <ø> (-0.08%) ⬇️
plugins-azure-event-hubs 34.65% <ø> (ø)
plugins-azure-service-bus 35.14% <ø> (ø)
plugins-body-parser ?
plugins-bullmq 39.41% <ø> (-0.08%) ⬇️
plugins-cassandra 33.48% <ø> (-0.08%) ⬇️
plugins-cookie 40.62% <ø> (ø)
plugins-cookie-parser 40.45% <ø> (ø)
plugins-crypto 42.36% <ø> (ø)
plugins-dd-trace-api 33.19% <ø> (-0.08%) ⬇️
plugins-express-mongo-sanitize 40.51% <ø> (ø)
plugins-express-session 40.37% <ø> (ø)
plugins-fastify 37.64% <ø> (-0.08%) ⬇️
plugins-fetch 33.91% <ø> (-0.08%) ⬇️
plugins-fs 33.61% <ø> (-0.08%) ⬇️
plugins-generic-pool 39.94% <ø> (ø)
plugins-google-cloud-pubsub 41.30% <ø> (-0.07%) ⬇️
plugins-grpc 36.39% <ø> (-0.08%) ⬇️
plugins-handlebars 40.51% <ø> (ø)
plugins-hapi 35.46% <ø> (-0.08%) ⬇️
plugins-hono 35.79% <ø> (-0.08%) ⬇️
plugins-ioredis 34.17% <ø> (-0.08%) ⬇️
plugins-jest 27.10% <ø> (ø)
plugins-knex 39.98% <ø> (ø)
plugins-langgraph 32.21% <ø> (-0.08%) ⬇️
plugins-ldapjs 38.96% <ø> (ø)
plugins-light-my-request 40.08% <ø> (ø)
plugins-limitd-client 27.79% <ø> (-0.02%) ⬇️
plugins-lodash 40.12% <ø> (ø)
plugins-mariadb 35.00% <ø> (-0.08%) ⬇️
plugins-memcached 33.56% <ø> (-0.08%) ⬇️
plugins-microgateway-core 34.56% <ø> (-0.08%) ⬇️
plugins-modelcontextprotocol-sdk 32.17% <ø> (-0.08%) ⬇️
plugins-moleculer ?
plugins-mongodb 35.60% <ø> (?)
plugins-mongodb-core 35.29% <ø> (-0.08%) ⬇️
plugins-mongoose 34.19% <ø> (-0.08%) ⬇️
plugins-multer 40.42% <ø> (ø)
plugins-mysql 34.48% <ø> (-0.07%) ⬇️
plugins-mysql2 34.81% <ø> (-0.08%) ⬇️
plugins-nats 36.19% <ø> (-0.08%) ⬇️
plugins-node-serialize 40.65% <ø> (ø)
plugins-opensearch 33.42% <ø> (-0.08%) ⬇️
plugins-passport-http 40.24% <ø> (ø)
plugins-pino 29.66% <ø> (-0.08%) ⬇️
plugins-postgres 34.52% <ø> (-0.08%) ⬇️
plugins-process 42.36% <ø> (ø)
plugins-pug 40.62% <ø> (ø)
plugins-redis 34.08% <ø> (-0.09%) ⬇️
plugins-router 37.88% <ø> (-0.23%) ⬇️
plugins-sequelize 39.90% <ø> (ø)
plugins-test-and-upstream-amqp10 ?
plugins-test-and-upstream-amqplib 38.88% <ø> (-0.24%) ⬇️
plugins-test-and-upstream-apollo 34.65% <ø> (?)
plugins-test-and-upstream-avsc 33.58% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-bunyan 28.87% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-connect 36.13% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-graphql 35.89% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-koa 35.64% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-protobufjs 33.81% <ø> (-0.08%) ⬇️
plugins-test-and-upstream-rhea 39.01% <ø> (-0.08%) ⬇️
plugins-undici 34.40% <ø> (-0.07%) ⬇️
plugins-url 42.36% <ø> (ø)
plugins-valkey 33.65% <ø> (-0.07%) ⬇️
plugins-vm 42.36% <ø> (ø)
plugins-winston 29.52% <ø> (-0.08%) ⬇️
plugins-ws 36.94% <ø> (?)
profiling-macos 43.04% <ø> (-0.07%) ⬇️
profiling-ubuntu 43.48% <ø> (-0.07%) ⬇️
profiling-windows 40.76% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-aws-sdk 32.92% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-bedrockruntime 31.82% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-client 36.32% <ø> (ø)
serverless-aws-sdk-latest-dynamodb 33.75% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-eventbridge 26.82% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-kinesis 37.01% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-lambda 34.26% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-s3 32.17% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-serverless-peer-service 39.14% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-sns 38.02% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-sqs 37.64% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-stepfunctions 32.83% <ø> (-0.07%) ⬇️
serverless-aws-sdk-latest-util 46.39% <ø> (ø)
serverless-aws-sdk-oldest-aws-sdk 33.04% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-bedrockruntime 31.91% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-client 36.88% <ø> (ø)
serverless-aws-sdk-oldest-dynamodb 33.84% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-eventbridge 26.90% <ø> (?)
serverless-aws-sdk-oldest-kinesis 37.18% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-lambda 34.36% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-s3 32.30% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-serverless-peer-service 39.22% <ø> (?)
serverless-aws-sdk-oldest-sns 38.12% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-sqs 37.72% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-stepfunctions 32.94% <ø> (-0.07%) ⬇️
serverless-aws-sdk-oldest-util 47.13% <ø> (ø)
serverless-azure-durable-functions 36.75% <ø> (ø)
serverless-azure-functions-eventhubs ?
serverless-azure-functions-servicebus 38.29% <ø> (ø)
serverless-lambda 34.23% <ø> (-0.10%) ⬇️
test-optimization-cucumber-latest-7.0.0 49.92% <ø> (+0.01%) ⬆️
test-optimization-cucumber-latest-latest 52.66% <ø> (+0.11%) ⬆️
test-optimization-cucumber-oldest-7.0.0 50.01% <ø> (+0.11%) ⬆️
test-optimization-cypress-latest-12.0.0-commonJS 49.26% <ø> (+0.07%) ⬆️
test-optimization-cypress-latest-12.0.0-esm 49.29% <ø> (+0.07%) ⬆️
test-optimization-cypress-latest-14.5.4-commonJS 49.11% <ø> (+0.10%) ⬆️
test-optimization-cypress-latest-14.5.4-esm 49.00% <ø> (-0.01%) ⬇️
test-optimization-cypress-latest-latest-commonJS 49.57% <ø> (+0.04%) ⬆️
test-optimization-cypress-latest-latest-esm 48.87% <ø> (-0.69%) ⬇️
test-optimization-cypress-oldest-12.0.0-commonJS 49.35% <ø> (+1.82%) ⬆️
test-optimization-cypress-oldest-12.0.0-esm 47.63% <ø> (-1.68%) ⬇️
test-optimization-cypress-oldest-14.5.4-commonJS 49.20% <ø> (+0.13%) ⬆️
test-optimization-cypress-oldest-14.5.4-esm 49.23% <ø> (+2.61%) ⬆️
test-optimization-jest-latest-latest 52.90% <ø> (-2.39%) ⬇️
test-optimization-jest-latest-oldest 54.29% <ø> (+0.08%) ⬆️
test-optimization-jest-oldest-latest 55.41% <ø> (+2.57%) ⬆️
test-optimization-jest-oldest-oldest 54.30% <ø> (+0.08%) ⬆️
test-optimization-mocha-latest-latest ?
test-optimization-mocha-latest-oldest 51.16% <ø> (+0.08%) ⬆️
test-optimization-mocha-oldest-latest ?
test-optimization-mocha-oldest-oldest 51.15% <ø> (+0.08%) ⬆️
test-optimization-playwright-latest-latest-playwright-active-test-span 44.21% <ø> (+0.24%) ⬆️
test-optimization-playwright-latest-latest-playwright-atr 42.86% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-latest-playwright-efd ?
test-optimization-playwright-latest-latest-playwright-final-status 43.35% <ø> (+0.08%) ⬆️
test-optimization-playwright-latest-latest-playwright-impacted-tests 42.83% <ø> (ø)
test-optimization-playwright-latest-latest-playwright-reporting 42.90% <ø> (+0.08%) ⬆️
test-optimization-playwright-latest-latest-playwright-test-management 44.50% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-oldest-playwright-active-test-span 44.05% <ø> (+0.27%) ⬆️
test-optimization-playwright-latest-oldest-playwright-atr 42.94% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-oldest-playwright-efd 43.21% <ø> (+0.06%) ⬆️
test-optimization-playwright-latest-oldest-playwright-final-status 43.28% <ø> (+0.10%) ⬆️
test-optimization-playwright-latest-oldest-playwright-impacted-tests 42.75% <ø> (?)
test-optimization-playwright-latest-oldest-playwright-reporting 42.71% <ø> (?)
test-optimization-playwright-latest-oldest-playwright-test-management 44.45% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-latest-playwright-active-test-span 44.29% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-atr 42.94% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-efd ?
test-optimization-playwright-oldest-latest-playwright-final-status 43.45% <ø> (+0.11%) ⬆️
test-optimization-playwright-oldest-latest-playwright-impacted-tests 42.91% <ø> (ø)
test-optimization-playwright-oldest-latest-playwright-reporting 42.95% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-latest-playwright-test-management 44.59% <ø> (+0.08%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-active-test-span 44.13% <ø> (+0.27%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-atr 43.02% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-efd 43.29% <ø> (+0.09%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-final-status 43.36% <ø> (+0.10%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-impacted-tests 42.84% <ø> (ø)
test-optimization-playwright-oldest-oldest-playwright-reporting 42.77% <ø> (+0.09%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-test-management ?
test-optimization-selenium-latest ?
test-optimization-selenium-oldest 44.77% <ø> (+0.07%) ⬆️
test-optimization-testopt-active 48.28% <ø> (+0.12%) ⬆️
test-optimization-testopt-latest 48.28% <ø> (+0.12%) ⬆️
test-optimization-testopt-maintenance 48.27% <ø> (+0.13%) ⬆️
test-optimization-testopt-oldest 49.37% <ø> (+0.10%) ⬆️
test-optimization-vitest-latest 50.84% <ø> (+0.12%) ⬆️
test-optimization-vitest-oldest 48.04% <ø> (+0.32%) ⬆️

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.

@BridgeAR
BridgeAR marked this pull request as ready for review June 17, 2026 13:48
@BridgeAR
BridgeAR requested a review from a team as a code owner June 17, 2026 13:48
@BridgeAR
BridgeAR merged commit 4776de7 into master Jun 17, 2026
802 checks passed
@BridgeAR
BridgeAR deleted the BridgeAR/2026-06-17-bench-esm-startup-loader branch June 17, 2026 13:50
dd-octo-sts Bot pushed a commit that referenced this pull request Jun 18, 2026
The startup variants load the fixture through CommonJS require, which goes
through require-in-the-middle and never registers the iitm ESM loader. That
loader is what the synchronous module.registerHooks work changes from an
off-thread async loader to an in-thread sync one, so the suite reported no
movement for that change: nothing put the loader on a measured path.

with-tracer-everything-esm registers the loader via
--import ../../../register.js and imports the same fixture through ESM, so every
dependency and its transitive graph flow through the loader's resolve/load hooks.
The fixture's index.mjs reads the same dependencies as index.js, so the dependency
list stays single-sourced in package.json.

Refs: #8942
@dd-octo-sts dd-octo-sts Bot mentioned this pull request Jun 18, 2026
tlhunter pushed a commit that referenced this pull request Jun 18, 2026
The startup variants load the fixture through CommonJS require, which goes
through require-in-the-middle and never registers the iitm ESM loader. That
loader is what the synchronous module.registerHooks work changes from an
off-thread async loader to an in-thread sync one, so the suite reported no
movement for that change: nothing put the loader on a measured path.

with-tracer-everything-esm registers the loader via
--import ../../../register.js and imports the same fixture through ESM, so every
dependency and its transitive graph flow through the loader's resolve/load hooks.
The fixture's index.mjs reads the same dependencies as index.js, so the dependency
list stays single-sourced in package.json.

Refs: #8942
@dd-octo-sts dd-octo-sts Bot mentioned this pull request Jun 26, 2026
pabloerhard pushed a commit that referenced this pull request Jun 26, 2026
The startup variants load the fixture through CommonJS require, which goes
through require-in-the-middle and never registers the iitm ESM loader. That
loader is what the synchronous module.registerHooks work changes from an
off-thread async loader to an in-thread sync one, so the suite reported no
movement for that change: nothing put the loader on a measured path.

with-tracer-everything-esm registers the loader via
--import ../../../register.js and imports the same fixture through ESM, so every
dependency and its transitive graph flow through the loader's resolve/load hooks.
The fixture's index.mjs reads the same dependencies as index.js, so the dependency
list stays single-sourced in package.json.

Refs: #8942
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