fix(log): display nested objects in lambda request and response in @middy/input-output-logger #44
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' │ '553,154' │ 1807.8134410636515 │ '±0.62%' │ 553155 │
│ 1 │ 'with cache' │ '329,560' │ 3034.342989595123 │ '±1.46%' │ 329561 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬─────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼─────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '2,343' │ 426722.7704780633 │ '±6.36%' │ 2344 │
│ 1 │ 'with cache' │ '2,793' │ 358023.1803865126 │ '±0.79%' │ 2794 │
└─────────┴─────────────────┴─────────┴───────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────────────────────────────┬─────────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────────────────────────────┼─────────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Cold Invocation' │ '215,935' │ 4631.0127954990785 │ '±1.71%' │ 215936 │
│ 1 │ 'Cold Invocation with middleware' │ '75,963' │ 13164.24156190612 │ '±2.20%' │ 75964 │
│ 2 │ 'Warm Invocation' │ '637,162' │ 1569.4579503249374 │ '±0.64%' │ 637163 │
│ 3 │ 'Warm Async Invocation' │ '640,025' │ 1562.4374087976255 │ '±0.34%' │ 640026 │
│ 4 │ 'Warm Invocation with disabled Timeout' │ '1,160,345' │ 861.8119388610091 │ '±0.38%' │ 1160346 │
│ 5 │ 'Warm Invocation with middleware' │ '169,526' │ 5898.77602982761 │ '±0.36%' │ 169527 │
│ 6 │ 'Warm Invocation with async middleware' │ '173,907' │ 5750.173942533798 │ '±0.43%' │ 173908 │
└─────────┴─────────────────────────────────────────┴─────────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬──────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼──────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'Change Context' │ '558,891' │ 1789.2564216130286 │ '±0.64%' │ 558892 │
└─────────┴──────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬─────────────────┬───────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼─────────────────┼───────────┼────────────────────┼──────────┼─────────┤
│ 0 │ 'without cache' │ '545,435' │ 1833.3957512878512 │ '±0.74%' │ 545436 │
│ 1 │ 'with cache' │ '328,646' │ 3042.781653230183 │ '±1.46%' │ 328647 │
└─────────┴─────────────────┴───────────┴────────────────────┴──────────┴─────────┘
> @middy/[email protected] test:benchmark
> node __benchmarks__/index.js
┌─────────┬───────────────┬───────────┬───────────────────┬──────────┬─────────┐
│ (index) │ Task Name │ ops/sec │ Average Time (ns) │ Margin │ Samples │
├─────────┼───────────────┼───────────┼───────────────────┼──────────┼─────────┤
│ 0 │ 'Catch Error' │ '202,307' │ 4942.966862404539 │ '±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 uses Node.js version which is deprecated 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/
|