v6.0.0 #59
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' │ '577,746' │ 1730.8616141667565 │ '±0.59%' │ 577747 │
│ 1 │ 'with cache' │ '370,065' │ 2702.2234412242838 │ '±1.21%' │ 370066 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬─────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼─────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '2,700' │ 370242.1021843748 │ '±2.77%' │ 2701 │
│ 1 │ 'with cache' │ '3,077' │ 324959.1052631605 │ '±0.83%' │ 3078 │
└─────────┴─────────────────┴─────────┴───────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Cold Invocation' │ '241,900' │ 4133.934878317832 │ '±0.99%' │ 241901 │
│ 1 │ 'Cold Invocation with middleware' │ '76,300' │ 13106.031218463238 │ '±1.78%' │ 76301 │
│ 2 │ 'Warm Invocation' │ '642,446' │ 1556.549492798637 │ '±0.55%' │ 642447 │
│ 3 │ 'Warm Async Invocation' │ '671,903' │ 1488.309035219297 │ '±0.32%' │ 671904 │
│ 4 │ 'Warm Invocation with disabled Timeout' │ '1,191,411' │ 839.3404389075916 │ '±0.32%' │ 1191412 │
│ 5 │ 'Warm Invocation with middleware' │ '160,428' │ 6233.295838032619 │ '±0.32%' │ 160429 │
│ 6 │ 'Warm Invocation with async middleware' │ '166,234' │ 6015.604198875106 │ '±0.33%' │ 166235 │
└─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬──────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼──────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Change Context' │ '633,589' │ 1578.3091825945135 │ '±0.56%' │ 633590 │
└─────────┴──────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '563,742' │ 1773.8591166543645 │ '±0.65%' │ 563743 │
│ 1 │ 'with cache' │ '369,005' │ 2709.9838132711698 │ '±1.32%' │ 369006 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬───────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼───────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'Catch Error' │ '201,925' │ 4952.312881946861 │ '±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/
|