v6.0.0 #73
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' │ '564,250' │ 1772.2636220404486 │ '±0.69%' │ 564251 │
│ 1 │ 'with cache' │ '354,377' │ 2821.8482428025827 │ '±1.53%' │ 354428 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬─────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼─────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '2,493' │ 401077.39895749855 │ '±7.58%' │ 2494 │
│ 1 │ 'with cache' │ '2,841' │ 351929.53483462444 │ '±1.06%' │ 2842 │
└─────────┴─────────────────┴─────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Cold Invocation' │ '234,236' │ 4269.193363985868 │ '±1.21%' │ 234237 │
│ 1 │ 'Cold Invocation with middleware' │ '74,434' │ 13434.686827433321 │ '±2.01%' │ 74435 │
│ 2 │ 'Warm Invocation' │ '657,791' │ 1520.2395970154091 │ '±0.41%' │ 657792 │
│ 3 │ 'Warm Async Invocation' │ '625,433' │ 1598.890878973743 │ '±0.42%' │ 625434 │
│ 4 │ 'Warm Invocation with disabled Timeout' │ '1,164,651' │ 858.6261930604385 │ '±0.36%' │ 1164652 │
│ 5 │ 'Warm Invocation with middleware' │ '160,662' │ 6224.2448230151995 │ '±0.40%' │ 160663 │
│ 6 │ 'Warm Invocation with async middleware' │ '165,023' │ 6059.732905517541 │ '±0.41%' │ 165024 │
└─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬──────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼──────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Change Context' │ '542,109' │ 1844.6442050506394 │ '±0.59%' │ 542110 │
└─────────┴──────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '546,605' │ 1829.4725890312425 │ '±0.69%' │ 546606 │
│ 1 │ 'with cache' │ '358,526' │ 2789.1935330016104 │ '±1.51%' │ 358528 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬───────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼───────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'Catch Error' │ '201,692' │ 4958.033997213493
|
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/
|