Skip to content

handler return type checking #1228 #68

handler return type checking #1228

handler return type checking #1228 #68

Re-run triggered October 1, 2024 23:54
Status Failure
Total duration 2m 8s
Artifacts

benchmarks.yml

on: pull_request
Matrix: benchmarks
Fit to window
Zoom out
Zoom in

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/[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' │ '545,211' │ 1834.1503873850934 │ '±0.68%' │ 545212 │ │ 1 │ 'with cache' │ '322,502' │ 3100.750793009284 │ '±1.46%' │ 322503 │ └─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘ > @middy/[email protected] test:benchmark > node __benchmarks__/index.js ┌─────────┬─────────────────┬─────────┬───────────────────┬──────────┬─────────┐ │ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │ ├─────────┼─────────────────┼─────────┼───────────────────┼──────────┼─────────┤ │ 0 │ 'without cache' │ '2,297' │ 435171.8468237132 │ '±2.84%' │ 2298 │ │ 1 │ 'with cache' │ '2,711' │ 368780.7647499344 │ '±0.81%' │ 2712 │ └─────────┴─────────────────┴─────────┴───────────────────┴──────────┴─────────┘ > @middy/[email protected] test:benchmark > node __benchmarks__/index.js ┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐ │ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │ ├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤ │ 0 │ 'Cold Invocation' │ '216,118' │ 4627.094364677201 │ '±1.35%' │ 216119 │ │ 1 │ 'Cold Invocation with middleware' │ '74,683' │ 13389.869222272673 │ '±2.33%' │ 74684 │ │ 2 │ 'Warm Invocation' │ '642,656' │ 1556.040136506811 │ '±0.61%' │ 642657 │ │ 3 │ 'Warm Async Invocation' │ '637,112' │ 1569.5810570494782 │ '±0.39%' │ 637113 │ │ 4 │ 'Warm Invocation with disabled Timeout' │ '1,153,944' │ 866.592597588283 │ '±0.41%' │ 1153945 │ │ 5 │ 'Warm Invocation with middleware' │ '165,298' │ 6049.670627161537 │ '±0.40%' │ 165299 │ │ 6 │ 'Warm Invocation with async middleware' │ '169,322' │ 5905.877730674314 │ '±0.38%' │ 169323 │ └─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘ > @middy/[email protected] test:benchmark > node __benchmarks__/index.js ┌─────────┬──────────────────┬───────────┬────────────────────┬──────────┬─────────┐ │ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │ ├─────────┼──────────────────┼───────────┼────────────────────┼──────────┼─────────┤ │ 0 │ 'Change Context' │ '576,286' │ 1735.2486764402818 │ '±0.74%' │ 576287 │ └─────────┴──────────────────┴───────────┴────────────────────┴──────────┴─────────┘ > @middy/[email protected] test:benchmark > node __benchmarks__/index.js ┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐ │ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │ ├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤ │ 0 │ 'without cache' │ '555,468' │ 1800.280847347627 │ '±0.75%' │ 555469 │ │ 1 │ 'with cache' │ '325,296' │ 3074.1154329629253 │ '±1.58%' │ 325297 │ └─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘ > @middy/[email protected] test:benchmark > node __benchmarks__/index.js ┌─────────┬───────────────┬───────────┬───────────────────┬──────────┬─────────┐ │ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │ ├─────────┼───────────────┼───────────┼───────────────────┼──────────┼─────────┤ │ 0 │ 'Catch Error' │ '203,895' │ 4904.469616888829 │ '±0
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/
benchmarks (18.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/