Skip to content

feat(http-security-headers): support report only mode #85

feat(http-security-headers): support report only mode

feat(http-security-headers): support report only mode #85

Triggered via pull request October 26, 2024 12:51
Status Failure
Total duration 2m 14s
Artifacts

benchmarks.yml

on: pull_request
Matrix: benchmarks
Fit to window
Zoom out
Zoom in

Annotations

1 error and 3 warnings
benchmarks (18.x)
No benchmark result was found in /home/runner/work/middy/middy/benchmarks-18.x.txt. Benchmark output was ' > @middy/[email protected] test:packages:benchmark > npm run test:benchmark --workspaces > @middy/[email protected] test:benchmark > node __benchmarks__/index.js ┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐ │ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │ ├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤ │ 0 │ 'without cache' │ '539,804' │ 1852.5225497986883 │ '±0.78%' │ 539805 │ │ 1 │ 'with cache' │ '284,097' │ 3519.913065180957 │ '±1.22%' │ 284098 │ └─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘ > @middy/[email protected] test:benchmark > node __benchmarks__/index.js ┌─────────┬─────────────────┬─────────┬────────────────────┬──────────┬─────────┐ │ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │ ├─────────┼─────────────────┼─────────┼────────────────────┼──────────┼─────────┤ │ 0 │ 'without cache' │ '2,350' │ 425425.8136961417 │ '±2.91%' │ 2351 │ │ 1 │ 'with cache' │ '2,832' │ 353038.92481470644 │ '±0.92%' │ 2833 │ └─────────┴─────────────────┴─────────┴────────────────────┴──────────┴─────────┘ > @middy/[email protected] test:benchmark > node __benchmarks__/index.js ┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐ │ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │ ├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤ │ 0 │ 'Cold Invocation' │ '217,326' │ 4601.376211899444 │ '±1.53%' │ 217327 │ │ 1 │ 'Cold Invocation with middleware' │ '74,703' │ 13386.204821689544 │ '±2.29%' │ 74704 │ │ 2 │ 'Warm Invocation' │ '619,545' │ 1614.0853608461705 │ '±0.64%' │ 619546 │ │ 3 │ 'Warm Async Invocation' │ '603,415' │ 1657.23347243175 │ '±0.40%' │ 603416 │ │ 4 │ 'Warm Invocation with disabled Timeout' │ '1,169,185' │ 855.2961821369084 │ '±0.40%' │ 1169186 │ │ 5 │ 'Warm Invocation with middleware' │ '164,965' │ 6061.886649378228 │ '±0.40%' │ 164966 │ │ 6 │ 'Warm Invocation with async middleware' │ '169,603' │ 5896.088111144296 │ '±0.41%' │ 169604 │ └─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘ > @middy/[email protected] test:benchmark > node __benchmarks__/index.js ┌─────────┬──────────────────┬───────────┬────────────────────┬──────────┬─────────┐ │ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │ ├─────────┼──────────────────┼───────────┼────────────────────┼──────────┼─────────┤ │ 0 │ 'Change Context' │ '588,898' │ 1698.0856224734614 │ '±0.63%' │ 588899 │ └─────────┴──────────────────┴───────────┴────────────────────┴──────────┴─────────┘ > @middy/[email protected] test:benchmark > node __benchmarks__/index.js ┌─────────┬─────────────────┬───────────┬───────────────────┬──────────┬─────────┐ │ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │ ├─────────┼─────────────────┼───────────┼───────────────────┼──────────┼─────────┤ │ 0 │ 'without cache' │ '564,176' │ 1772.494307647056 │ '±0.67%' │ 564177 │ │ 1 │ 'with cache' │ '325,339' │ 3073.707702688981 │ '±1.52%' │ 325340 │ └─────────┴─────────────────┴───────────┴───────────────────┴──────────┴─────────┘ > @middy/[email protected] test:benchmark > node __benchmarks__/index.js ┌─────────┬───────────────┬───────────┬───────────────────┬──────────┬─────────┐ │ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │ ├─────────┼───────────────┼───────────┼───────────────────┼──────────┼─────────┤ │ 0 │ 'Catch Error' │ '207,238' │ 4825.359604154707 │ '±0
benchmarks (18.x)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
benchmarks (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
benchmarks (18.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/