-
Notifications
You must be signed in to change notification settings - Fork 8k
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
fix tsr with mixed static and wildcard paths #2924
Conversation
Please also add benchmark report like #2847 (comment) |
Performance difference should be negligible as the only change is merging two if statements, and delaying backtracking until after the cheap tsr check. How do I run the benchmarks? |
@ibraheemdev See the comment #2847 (review) |
Codecov Report
@@ Coverage Diff @@
## master #2924 +/- ##
=======================================
Coverage 98.73% 98.73%
=======================================
Files 41 41
Lines 3080 3080
=======================================
Hits 3041 3041
Misses 27 27
Partials 12 12
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@ibraheemdev Any updates? |
I ran the tests locally because I don't have travis setup:
Results is almost exactly the same because this case is probably never hit in the benchmark. Even if it was the difference would be a couple of slice comparisons. |
@ibraheemdev Please help to try the
|
|
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
(cherry picked from commit cbdd47a)
(cherry picked from commit cbdd47a)
(cherry picked from commit cbdd47a)
(cherry picked from commit cbdd47a)
Resolves #2918