Feature zstd support for http-content-encoding #62
Annotations
1 error and 2 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' │ '535,888' │ 1866.059187625706 │ '±0.72%' │ 535889 │
│ 1 │ 'with cache' │ '284,827' │ 3510.8940763780074 │ '±1.25%' │ 284828 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬─────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼─────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '2,294' │ 435867.7525053633 │ '±3.28%' │ 2295 │
│ 1 │ 'with cache' │ '2,817' │ 354866.86449085095 │ '±1.24%' │ 2819 │
└─────────┴─────────────────┴─────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Cold Invocation' │ '200,804' │ 4979.967704957111 │ '±1.72%' │ 200805 │
│ 1 │ 'Cold Invocation with middleware' │ '73,967' │ 13519.409704183525 │ '±2.24%' │ 73968 │
│ 2 │ 'Warm Invocation' │ '596,607' │ 1676.1430218993705 │ '±1.07%' │ 596608 │
│ 3 │ 'Warm Async Invocation' │ '629,621' │ 1588.2567191108296 │ '±0.36%' │ 629622 │
│ 4 │ 'Warm Invocation with disabled Timeout' │ '1,162,009' │ 860.5778346426958 │ '±0.73%' │ 1162066 │
│ 5 │ 'Warm Invocation with middleware' │ '162,597' │ 6150.160949086214 │ '±0.39%' │ 162598 │
│ 6 │ 'Warm Invocation with async middleware' │ '171,688' │ 5824.490870135071 │ '±0.39%' │ 171689 │
└─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬──────────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼──────────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'Change Context' │ '570,696' │ 1752.244951366719 │ '±0.64%' │ 570697 │
└─────────┴──────────────────┴───────────┴───────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '557,715' │ 1793.0281828288291 │ '±0.62%' │ 557716 │
│ 1 │ 'with cache' │ '321,444' │ 3110.9594829718317 │ '±1.53%' │ 321445 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬───────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼───────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'Catch Error' │ '206,154' │ 4850.734558964567 │ '±
|
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/
|