-
Notifications
You must be signed in to change notification settings - Fork 878
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
feat: add errorKey option #1507
Conversation
There seem to be a significant decrease of throughput in our benchmarks. Current:
this branch:
|
CI is failing too. |
Changes have minimal logic, so I don't think there's any room for perf improvement. |
@mcollina For me both versions run |
See https://github.com/pinojs/pino/runs/7528251758?check_suite_focus=true |
we run the benchmarks for every CI run |
@mcollina which run did you take numbers from? |
the first in this PR |
@mcollina Can you link yours? I literally have no idea where you see those numbers, search doesn't find them either |
Thanks! |
There is still a difference. |
What's average margin of error? Is the difference more than average? |
I tested on a dedicated workstation, and there is no perceptible slowdown. We can land. |
Don't worry about the flaky test. |
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.
lgtm
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
We have custom
messageKey
andserializers
, makes sense to have customerrorKey
as well.Not sure if that should affect
browser
part