fix(core) #1239 #100
Annotations
1 error and 3 warnings
Store benchmark result
No benchmark result was found in /home/runner/work/middy/middy/benchmarks-18.x.txt. Benchmark output was '
> @middy/monorepo@5.5.1 test:packages:benchmark
> npm run test:benchmark --workspaces
> @middy/appconfig@5.5.1 test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '555,472' │ 1800.2688375423706 │ '±0.67%' │ 555473 │
│ 1 │ 'with cache' │ '324,295' │ 3083.6096159204862 │ '±1.51%' │ 324296 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/cloudwatch-metrics@5.5.1 test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬─────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼─────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '2,359' │ 423740.5788136392 │ '±2.71%' │ 2360 │
│ 1 │ 'with cache' │ '2,807' │ 356208.5363247696 │ '±0.91%' │ 2808 │
└─────────┴─────────────────┴─────────┴───────────────────┴──────────┴─────────┘
> @middy/core@5.5.1 test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Cold Invocation' │ '214,260' │ 4667.223307082379 │ '±1.68%' │ 214261 │
│ 1 │ 'Cold Invocation with middleware' │ '74,238' │ 13470.069480340526 │ '±2.25%' │ 74280 │
│ 2 │ 'Warm Invocation' │ '633,933' │ 1577.4528247440342 │ '±0.32%' │ 633934 │
│ 3 │ 'Warm Async Invocation' │ '624,676' │ 1600.8280855345413 │ '±0.54%' │ 624677 │
│ 4 │ 'Warm Invocation with disabled Timeout' │ '1,151,659' │ 868.3121537464336 │ '±0.37%' │ 1151660 │
│ 5 │ 'Warm Invocation with middleware' │ '167,839' │ 5958.073260273706 │ '±0.38%' │ 167840 │
│ 6 │ 'Warm Invocation with async middleware' │ '171,285' │ 5838.219801945206 │ '±0.38%' │ 171286 │
└─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘
> @middy/do-not-wait-for-empty-event-loop@5.5.1 test:benchmark
> node __benchmarks__/index.js
┌─────────┬──────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼──────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Change Context' │ '593,102' │ 1686.0483777367772 │ '±0.74%' │ 593103 │
└─────────┴──────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/dynamodb@5.5.1 test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '546,828' │ 1828.72564003791 │ '±0.69%' │ 546829 │
│ 1 │ 'with cache' │ '325,631' │ 3070.9566658219705 │ '±1.51%' │ 325632 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/error-logger@5.5.1 test:benchmark
> node __benchmarks__/index.js
┌─────────┬───────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼───────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'Catch Error' │ '207,321' │ 4823.436324011216 │ '±0
|
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v1. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
|
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/
|
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/
|
Loading