v6.0.0 #63
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,353' │ 1771.9390931933306 │ '±0.63%' │ 564354 │
│ 1 │ 'with cache' │ '357,456' │ 2797.5403922711357 │ '±1.42%' │ 357457 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬─────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼─────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '2,568' │ 389362.19423900446 │ '±3.13%' │ 2569 │
│ 1 │ 'with cache' │ '3,069' │ 325787.76742670755 │ '±1.01%' │ 3070 │
└─────────┴─────────────────┴─────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Cold Invocation' │ '244,356' │ 4092.3756839379175 │ '±1.05%' │ 244357 │
│ 1 │ 'Cold Invocation with middleware' │ '76,319' │ 13102.78231132019 │ '±1.94%' │ 76320 │
│ 2 │ 'Warm Invocation' │ '640,669' │ 1560.866575616038 │ '±0.67%' │ 640670 │
│ 3 │ 'Warm Async Invocation' │ '662,161' │ 1510.2057547848997 │ '±0.37%' │ 662162 │
│ 4 │ 'Warm Invocation with disabled Timeout' │ '1,170,370' │ 854.4300055291277 │ '±0.37%' │ 1170371 │
│ 5 │ 'Warm Invocation with middleware' │ '159,000' │ 6289.306369142584 │ '±0.37%' │ 159001 │
│ 6 │ 'Warm Invocation with async middleware' │ '164,980' │ 6061.304598711538 │ '±0.41%' │ 164981 │
└─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬──────────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼──────────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'Change Context' │ '615,456' │ 1624.810737386905 │ '±0.85%' │ 615457 │
└─────────┴──────────────────┴───────────┴───────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '588,101' │ 1700.3867322335389 │ '±0.60%' │ 588102 │
│ 1 │ 'with cache' │ '359,088' │ 2784.827131992173 │ '±1.37%' │ 359089 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬───────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼───────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'Catch Error' │ '200,199' │ 4995.020474525456 │ '±
|
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/
|