-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: return a value, use that instead of mutating state
- Loading branch information
Showing
1 changed file
with
28 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b311cb1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logger Benchmarks - ubuntu-latest
Child logger creation
476355
ops/sec (±2.12%
)478674
ops/sec (±1.22%
)1.00
Logging a string on root logger
856792
ops/sec (±8.99%
)774292
ops/sec (±6.99%
)0.90
Logging an object on root logger
591326
ops/sec (±7.25%
)547792
ops/sec (±7.65%
)0.93
Logging an object with a message on root logger
4188
ops/sec (±224.09%
)13660
ops/sec (±197.88%
)3.26
Logging an object with a redacted prop on root logger
466863
ops/sec (±9.47%
)488915
ops/sec (±4.98%
)1.05
Logging a nested 3-level object on root logger
365974
ops/sec (±9.09%
)360269
ops/sec (±6.79%
)0.98
This comment was automatically generated by workflow using github-action-benchmark.
b311cb1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'Logger Benchmarks - ubuntu-latest'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.Logging an object with a message on root logger
4188
ops/sec (±224.09%
)13660
ops/sec (±197.88%
)3.26
This comment was automatically generated by workflow using github-action-benchmark.
b311cb1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logger Benchmarks - windows-latest
Child logger creation
322390
ops/sec (±2.95%
)339471
ops/sec (±3.14%
)1.05
Logging a string on root logger
786173
ops/sec (±5.91%
)869530
ops/sec (±5.49%
)1.11
Logging an object on root logger
591125
ops/sec (±6.11%
)650217
ops/sec (±6.14%
)1.10
Logging an object with a message on root logger
8151
ops/sec (±201.85%
)1581
ops/sec (±276.45%
)0.19
Logging an object with a redacted prop on root logger
470388
ops/sec (±7.19%
)433324
ops/sec (±12.16%
)0.92
Logging a nested 3-level object on root logger
345341
ops/sec (±5.11%
)337933
ops/sec (±5.45%
)0.98
This comment was automatically generated by workflow using github-action-benchmark.