v6.0.0 #56
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' │ '575,420' │ 1737.8580691354364 │ '±0.64%' │ 575421 │
│ 1 │ 'with cache' │ '366,809' │ 2726.2081595375025 │ '±1.29%' │ 366810 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬─────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼─────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '2,547' │ 392521.0824175821 │ '±2.63%' │ 2548 │
│ 1 │ 'with cache' │ '2,999' │ 333339.777333334 │ '±0.92%' │ 3000 │
└─────────┴─────────────────┴─────────┴───────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Cold Invocation' │ '235,866' │ 4239.682212084641 │ '±1.07%' │ 235868 │
│ 1 │ 'Cold Invocation with middleware' │ '75,685' │ 13212.6440373516 │ '±1.87%' │ 75713 │
│ 2 │ 'Warm Invocation' │ '665,248' │ 1503.1982686180638 │ '±0.67%' │ 665249 │
│ 3 │ 'Warm Async Invocation' │ '674,410' │ 1482.7771047620622 │ '±0.33%' │ 674411 │
│ 4 │ 'Warm Invocation with disabled Timeout' │ '1,213,115' │ 824.3238198156657 │ '±0.39%' │ 1213116 │
│ 5 │ 'Warm Invocation with middleware' │ '162,523' │ 6152.973117817129 │ '±0.33%' │ 162524 │
│ 6 │ 'Warm Invocation with async middleware' │ '165,121' │ 6056.162540424848 │ '±0.34%' │ 165122 │
└─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬──────────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼──────────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'Change Context' │ '616,455' │ 1622.1762883319 │ '±0.56%' │ 616456 │
└─────────┴──────────────────┴───────────┴───────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '577,910' │ 1730.3716627647282 │ '±0.61%' │ 577911 │
│ 1 │ 'with cache' │ '363,076' │ 2754.242832118835 │ '±1.30%' │ 363078 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬───────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼───────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'Catch Error' │ '201,162' │ 4971.10539214468 │ '±0.27%'
|
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/
|