feat(http-security-headers): support report only mode #88
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' │ '530,793' │ 1883.9702992128243 │ '±0.74%' │ 530794 │
│ 1 │ 'with cache' │ '317,705' │ 3147.5690858646403 │ '±1.46%' │ 317706 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬─────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼─────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '2,355' │ 424471.6994905637 │ '±2.83%' │ 2356 │
│ 1 │ 'with cache' │ '2,698' │ 370557.1159688147 │ '±1.02%' │ 2699 │
└─────────┴─────────────────┴─────────┴───────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Cold Invocation' │ '208,902' │ 4786.928282496734 │ '±1.86%' │ 208903 │
│ 1 │ 'Cold Invocation with middleware' │ '74,866' │ 13357.138338648725 │ '±2.37%' │ 74867 │
│ 2 │ 'Warm Invocation' │ '632,215' │ 1581.7383963792272 │ '±0.54%' │ 632216 │
│ 3 │ 'Warm Async Invocation' │ '634,459' │ 1576.144723074104 │ '±0.38%' │ 634460 │
│ 4 │ 'Warm Invocation with disabled Timeout' │ '1,141,026' │ 876.4038300561862 │ '±0.41%' │ 1141027 │
│ 5 │ 'Warm Invocation with middleware' │ '162,433' │ 6156.380160544654 │ '±0.45%' │ 162434 │
│ 6 │ 'Warm Invocation with async middleware' │ '172,154' │ 5808.742104479031 │ '±0.45%' │ 172155 │
└─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬──────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼──────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Change Context' │ '565,988' │ 1766.8201272363165 │ '±0.77%' │ 565989 │
└─────────┴──────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '533,117' │ 1875.7603663786847 │ '±0.80%' │ 533118 │
│ 1 │ 'with cache' │ '318,727' │ 3137.478709128829 │ '±1.50%' │ 318728 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬───────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼───────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'Catch Error' │ '205,126' │ 4875.043426748326 │ '±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/
|