Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/benchmark #4

Merged
merged 3 commits into from
Dec 31, 2019
Merged

Feature/benchmark #4

merged 3 commits into from
Dec 31, 2019

Conversation

alextremp
Copy link
Owner

Description

This PR add benchmark comparison between loggers.

Sample output:

debugLoggingAString => [Console] x 74,277 ops/sec ±2.00% (65 runs sampled)
debugLoggingAString => [Logda] x 2,418,559 ops/sec ±6.90% (77 runs sampled)
debugLoggingAString => [Loglevel] x 2,698,651 ops/sec ±7.36% (71 runs sampled)
debugLoggingAString => [Nightingale] x 1,005,205 ops/sec ±4.18% (83 runs sampled)
debugLoggingObject => [Console] x 22,308 ops/sec ±1.31% (82 runs sampled)
debugLoggingObject => [Logda] x 2,318,043 ops/sec ±7.84% (78 runs sampled)
debugLoggingObject => [Loglevel] x 638,163 ops/sec ±3.96% (86 runs sampled)
debugLoggingObject => [Nightingale] x 432,679 ops/sec ±3.89% (85 runs sampled)
errorLoggingAString => [Console] x 1,682 ops/sec ±6.12% (57 runs sampled)
errorLoggingAString => [Logda] x 1,624 ops/sec ±5.80% (52 runs sampled)
errorLoggingAString => [Loglevel] x 1,686 ops/sec ±6.56% (69 runs sampled)
errorLoggingAString => [Nightingale] x 26,470 ops/sec ±5.19% (79 runs sampled)
errorLoggingObject => [Console] x 921 ops/sec ±6.53% (70 runs sampled)
errorLoggingObject => [Logda] x 868 ops/sec ±6.88% (75 runs sampled)
errorLoggingObject => [Loglevel] x 882 ops/sec ±6.11% (61 runs sampled)
errorLoggingObject => [Nightingale] x 1,109 ops/sec ±8.05% (62 runs sampled)

@alextremp alextremp merged commit 470fd05 into master Dec 31, 2019
@alextremp alextremp deleted the feature/benchmark branch December 31, 2019 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant