Skip to content

[rails] Don't use a logger #9696

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

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

p8
Copy link
Contributor

@p8 p8 commented Mar 20, 2025

Not using a logger is faster than setting the log level to fatal.

branch_name json db query update fortune plaintext weighted_score
master 152537 33415 28714 13947 20249 186596 1901
rails/nil-logger 157689 34283 30021 15317 21485 184987 2034

Not using a logger is faster than setting the log level to fatal.

+----------------+------+-----+-----+------+-------+---------+------------+--------------+
|     branch_name|  json|   db|query|update|fortune|plaintext|cached-query|weighted_score|
+----------------+------+-----+-----+------+-------+---------+------------+--------------+
|          master|152537|33415|28714| 13947|  20249|   186596|       27632|          1901|
|rails/nil-logger|157689|34283|30021| 15317|  21485|   184987|       26848|          2034|
+----------------+------+-----+-----+------+-------+---------+------------+--------------+
@msmith-techempower msmith-techempower merged commit 508fb38 into TechEmpower:master Mar 21, 2025
4 checks passed
@p8 p8 deleted the rails/nil-logger branch March 21, 2025 05:42
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.

2 participants