feat(http-security-headers): support report only mode #86
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' │ '531,423' │ 1881.7392440173876 │ '±0.91%' │ 531424 │
│ 1 │ 'with cache' │ '312,892' │ 3195.9848891546853 │ '±1.69%' │ 313020 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬─────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼─────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '2,312' │ 432471.5724173011 │ '±2.86%' │ 2313 │
│ 1 │ 'with cache' │ '2,776' │ 360154.54519253 │ '±0.93%' │ 2777 │
└─────────┴─────────────────┴─────────┴───────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Cold Invocation' │ '208,705' │ 4791.43519113876 │ '±2.06%' │ 208706 │
│ 1 │ 'Cold Invocation with middleware' │ '71,079' │ 14068.769063009364 │ '±2.60%' │ 71080 │
│ 2 │ 'Warm Invocation' │ '619,286' │ 1614.7616436325306 │ '±1.37%' │ 619287 │
│ 3 │ 'Warm Async Invocation' │ '618,675' │ 1616.3572500235618 │ '±0.42%' │ 618676 │
│ 4 │ 'Warm Invocation with disabled Timeout' │ '1,144,683' │ 873.6038181868795 │ '±0.44%' │ 1144684 │
│ 5 │ 'Warm Invocation with middleware' │ '159,544' │ 6267.860252618677 │ '±0.43%' │ 159545 │
│ 6 │ 'Warm Invocation with async middleware' │ '162,301' │ 6161.360079624871 │ '±0.63%' │ 162303 │
└─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬──────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼──────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Change Context' │ '580,193' │ 1723.5618000212353 │ '±0.66%' │ 580194 │
└─────────┴──────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '549,860' │ 1818.6415203416545 │ '±0.79%' │ 549861 │
│ 1 │ 'with cache' │ '316,876' │ 3155.807155431386 │ '±1.87%' │ 316877 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬───────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼───────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'Catch Error' │ '204,971' │ 4878.730621726584 │ '±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/
|