-
-
Notifications
You must be signed in to change notification settings - Fork 117
URLPattern: replace std::string with std::string_view #1032
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
Conversation
CodSpeed Performance ReportMerging #1032 will degrade performances by 99.98%Comparing Summary
Benchmarks breakdown
|
|
instructions/url went from 238.859k to 229.012k before: after: |
|
Hello! @CarlosEduR @lemire @anonrig Looking into this, I see that for some reason, three different pids upload results for the benchmarks This is definitely undefined behavior for CodSpeed, and we'll fix it to have it be an explicit error. However, if one of you has an idea as to why the benchmarks are executed thrice when running |
|
Thanks for checking that, @GuillaumeLagrange!
I believe it's related to the way we have our benchmarks configured... The Here is the PR integrating with Codspeed, in case you wanna take a look: https://github.com/ada-url/ada/pull/1031/files @anonrig I think it's fine to run only |
|
@CarlosEduR they all benchmark different things. can't we just change the name so they don't clash on codspeed? |
Yeah, I think this fixes the issue too |
|
Google benchmark has features for this kind of usage If you have any question/issues about how each benchmark is identified with codspeed's google benchmark layer, do not hesitate to create a dedicated issue on https://github.com/CodSpeedHQ/codspeed-cpp |
I noticed that WebKit already uses a StringView for these parameters.