Feature zstd support for http-content-encoding #65
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' │ '541,492' │ 1846.7464934911561 │ '±1.33%' │ 541493 │
│ 1 │ 'with cache' │ '322,113' │ 3104.495753076359 │ '±1.55%' │ 322114 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬─────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼─────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '2,335' │ 428182.2821057587 │ '±2.80%' │ 2336 │
│ 1 │ 'with cache' │ '2,782' │ 359366.86812777317 │ '±0.89%' │ 2783 │
└─────────┴─────────────────┴─────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Cold Invocation' │ '214,756' │ 4656.443622299483 │ '±1.51%' │ 214757 │
│ 1 │ 'Cold Invocation with middleware' │ '73,596' │ 13587.608788399431 │ '±2.16%' │ 73597 │
│ 2 │ 'Warm Invocation' │ '634,186' │ 1576.823796441047 │ '±0.35%' │ 634187 │
│ 3 │ 'Warm Async Invocation' │ '630,540' │ 1585.9412187159244 │ '±0.66%' │ 630541 │
│ 4 │ 'Warm Invocation with disabled Timeout' │ '1,171,978' │ 853.2576249214437 │ '±0.40%' │ 1171979 │
│ 5 │ 'Warm Invocation with middleware' │ '162,583' │ 6150.667279637881 │ '±0.37%' │ 162584 │
│ 6 │ 'Warm Invocation with async middleware' │ '164,807' │ 6067.685379345743 │ '±0.39%' │ 164808 │
└─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬──────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼──────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Change Context' │ '580,173' │ 1723.6225011858685 │ '±0.65%' │ 580174 │
└─────────┴──────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '558,070' │ 1791.8891539082626 │ '±0.61%' │ 558071 │
│ 1 │ 'with cache' │ '323,602' │ 3090.2109189356756 │ '±1.24%' │ 323603 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬───────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼───────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'Catch Error' │ '203,681' │ 4909.634847447952
|
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/
|