test: small update #35
Annotations
1 error and 2 warnings
benchmarks (18.x)
No benchmark result was found in /home/runner/work/middy/middy/benchmarks-18.x.txt. Benchmark output was '
> @middy/monorepo@5.4.3 test:packages:benchmark
> npm run test:benchmark --workspaces
> @middy/appconfig@5.4.3 test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '527,261' │ 1896.5914896268466 │ '±0.74%' │ 527262 │
│ 1 │ 'with cache' │ '317,987' │ 3144.7740197841167 │ '±1.90%' │ 317988 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/cloudwatch-metrics@5.4.3 test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬─────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼─────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '2,307' │ 433356.33058919274 │ '±2.84%' │ 2308 │
│ 1 │ 'with cache' │ '2,735' │ 365498.9638160164 │ '±1.06%' │ 2736 │
└─────────┴─────────────────┴─────────┴────────────────────┴──────────┴─────────┘
> @middy/core@5.4.3 test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Cold Invocation' │ '205,297' │ 4870.984369074027 │ '±1.90%' │ 205298 │
│ 1 │ 'Cold Invocation with middleware' │ '72,977' │ 13702.943132632556 │ '±2.35%' │ 73012 │
│ 2 │ 'Warm Invocation' │ '620,924' │ 1610.5004791282288 │ '±0.42%' │ 620925 │
│ 3 │ 'Warm Async Invocation' │ '626,333' │ 1596.593448548638 │ '±0.44%' │ 626334 │
│ 4 │ 'Warm Invocation with disabled Timeout' │ '1,125,223' │ 888.7122395506353 │ '±0.47%' │ 1125224 │
│ 5 │ 'Warm Invocation with middleware' │ '166,989' │ 5988.393700284781 │ '±0.45%' │ 166990 │
│ 6 │ 'Warm Invocation with async middleware' │ '171,641' │ 5826.109559419724 │ '±0.44%' │ 171642 │
└─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘
> @middy/do-not-wait-for-empty-event-loop@5.4.3 test:benchmark
> node __benchmarks__/index.js
┌─────────┬──────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼──────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Change Context' │ '589,198' │ 1697.2212851450756 │ '±0.68%' │ 589199 │
└─────────┴──────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/dynamodb@5.4.3 test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '520,821' │ 1920.0445449818017 │ '±0.82%' │ 520822 │
│ 1 │ 'with cache' │ '322,228' │ 3103.388791819388 │ '±1.39%' │ 322229 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/error-logger@5.4.3 test:benchmark
> node __benchmarks__/index.js
┌─────────┬───────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼───────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'Catch Error' │ '205,178' │ 4873.809863599899
|
benchmarks (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
benchmarks (18.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/
|