v6.0.0 #83
Annotations
1 error and 2 warnings
benchmarks (20.x)
No benchmark result was found in /home/runner/work/middy/middy/benchmarks-20.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' │ '542,777' │ 1842.3757374101085 │ '±0.69%' │ 542778 │
│ 1 │ 'with cache' │ '358,261' │ 2791.256946033402 │ '±1.49%' │ 358262 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬─────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼─────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '2,564' │ 389925.8717348933 │ '±3.09%' │ 2565 │
│ 1 │ 'with cache' │ '3,043' │ 328552.3613666235 │ '±1.06%' │ 3044 │
└─────────┴─────────────────┴─────────┴───────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Cold Invocation' │ '239,248' │ 4179.760220523482 │ '±1.20%' │ 239249 │
│ 1 │ 'Cold Invocation with middleware' │ '73,876' │ 13536.089242930777 │ '±2.01%' │ 73877 │
│ 2 │ 'Warm Invocation' │ '629,756' │ 1587.9144098438048 │ '±0.63%' │ 629757 │
│ 3 │ 'Warm Async Invocation' │ '645,027' │ 1550.321992223861 │ '±0.44%' │ 645028 │
│ 4 │ 'Warm Invocation with disabled Timeout' │ '1,148,952' │ 870.3579075909258 │ '±0.49%' │ 1148953 │
│ 5 │ 'Warm Invocation with middleware' │ '158,508' │ 6308.819007120422 │ '±0.50%' │ 158509 │
│ 6 │ 'Warm Invocation with async middleware' │ '162,969' │ 6136.115217524724 │ '±0.48%' │ 162970 │
└─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬──────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼──────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Change Context' │ '586,964' │ 1703.6813489730444 │ '±0.59%' │ 586965 │
└─────────┴──────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '583,078' │ 1715.03498839777 │ '±0.67%' │ 583079 │
│ 1 │ 'with cache' │ '355,206' │ 2815.2626947106023 │ '±1.63%' │ 355207 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬───────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼───────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0
|
benchmarks (20.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 (20.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/
|