v6.0.0 #75
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' │ '544,934' │ 1835.0833640710257 │ '±1.06%' │ 544935 │
│ 1 │ 'with cache' │ '365,201' │ 2738.212334917649 │ '±1.26%' │ 365272 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬─────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼─────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '2,568' │ 389373.37251849077 │ '±6.19%' │ 2569 │
│ 1 │ 'with cache' │ '3,023' │ 330765.760251325 │ '±0.85%' │ 3024 │
└─────────┴─────────────────┴─────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Cold Invocation' │ '239,858' │ 4169.119499372658 │ '±0.97%' │ 239859 │
│ 1 │ 'Cold Invocation with middleware' │ '76,069' │ 13145.91760220858 │ '±1.88%' │ 76070 │
│ 2 │ 'Warm Invocation' │ '655,920' │ 1524.5754778393307 │ '±0.65%' │ 655921 │
│ 3 │ 'Warm Async Invocation' │ '648,234' │ 1542.6515661748242 │ '±0.31%' │ 648235 │
│ 4 │ 'Warm Invocation with disabled Timeout' │ '1,176,828' │ 849.7417891642978 │ '±0.32%' │ 1176829 │
│ 5 │ 'Warm Invocation with middleware' │ '158,882' │ 6293.968738002064 │ '±0.33%' │ 158883 │
│ 6 │ 'Warm Invocation with async middleware' │ '162,942' │ 6137.119741257099 │ '±0.34%' │ 162943 │
└─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬──────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼──────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Change Context' │ '607,895' │ 1645.0200067116516 │ '±0.56%' │ 607896 │
└─────────┴──────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '585,247' │ 1708.6776546009355 │ '±0.53%' │ 585248 │
│ 1 │ 'with cache' │ '362,521' │ 2758.4545075884253 │ '±1.31%' │ 362522 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬───────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼───────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Catch Error' │ '192,185' │ 5203.303487246
|
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/
|