-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix canonicalization of relative URI paths with leading slashes (#1430)
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
- Loading branch information
Showing
4 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4b04d73
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.
Benchmark (macos/llvm)
JSON_Array_Of_Objects_Unique
342.6489024557436
ns/iter407.459216519292
ns/iter0.84
JSON_Parse_1
21705.226241549248
ns/iter25862.212085917818
ns/iter0.84
JSON_Fast_Hash_Helm_Chart_Lock
51.44898973050822
ns/iter57.95479504845729
ns/iter0.89
JSON_Equality_Helm_Chart_Lock
131.93544163518078
ns/iter154.35157276779012
ns/iter0.85
Regex_Lower_S_Or_Upper_S_Asterisk
1.5694098007288662
ns/iter1.7515113674257687
ns/iter0.90
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
1.5747650687678212
ns/iter1.7316679848811976
ns/iter0.91
Regex_Period_Asterisk
1.5713696147351714
ns/iter1.8475199273979472
ns/iter0.85
Regex_Group_Period_Asterisk_Group
1.5720335801048975
ns/iter1.6977302224322826
ns/iter0.93
Regex_Period_Plus
1.8900372415409974
ns/iter2.4910686245373266
ns/iter0.76
Regex_Period
1.8855641136840815
ns/iter2.165795449841771
ns/iter0.87
Regex_Caret_Period_Plus_Dollar
1.8848963733772441
ns/iter2.0989762475510423
ns/iter0.90
Regex_Caret_Group_Period_Plus_Group_Dollar
1.8852162281215603
ns/iter2.071488316107489
ns/iter0.91
Regex_Caret_Period_Asterisk_Dollar
1.5692751711659874
ns/iter1.7085505559815002
ns/iter0.92
Regex_Caret_Group_Period_Asterisk_Group_Dollar
1.570022786134582
ns/iter1.6682543585173972
ns/iter0.94
Regex_Caret_X_Hyphen
6.30523988713433
ns/iter6.564934534701128
ns/iter0.96
Regex_Period_Md_Dollar
69.48670971486591
ns/iter71.20947022637732
ns/iter0.98
Regex_Caret_Slash_Period_Asterisk
6.710547224593167
ns/iter7.5654015303254845
ns/iter0.89
Regex_Caret_Period_Range_Dollar
2.0361345717246513
ns/iter2.142386520023517
ns/iter0.95
Regex_Nested_Backtrack
725.8954708932023
ns/iter773.3462000510282
ns/iter0.94
Pointer_Object_Traverse
15.247473910253499
ns/iter15.725582600629465
ns/iter0.97
Pointer_Object_Try_Traverse
31.508737475598654
ns/iter35.45585758590162
ns/iter0.89
Pointer_Push_Back_Pointer_To_Weak_Pointer
173.22369903074818
ns/iter181.87580669859832
ns/iter0.95
This comment was automatically generated by workflow using github-action-benchmark.
4b04d73
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.
Benchmark (linux/llvm)
JSON_Array_Of_Objects_Unique
445.1658283192557
ns/iter443.41870124154434
ns/iter1.00
JSON_Parse_1
29969.246862281914
ns/iter30856.39630054861
ns/iter0.97
JSON_Fast_Hash_Helm_Chart_Lock
54.69452167440643
ns/iter54.717853651566976
ns/iter1.00
JSON_Equality_Helm_Chart_Lock
145.74450222918298
ns/iter150.29080986917077
ns/iter0.97
Regex_Lower_S_Or_Upper_S_Asterisk
2.20022864160664
ns/iter2.1813326640329915
ns/iter1.01
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
2.193531428313369
ns/iter2.1860155093271376
ns/iter1.00
Regex_Period_Asterisk
2.2128287716203614
ns/iter2.181417065696179
ns/iter1.01
Regex_Group_Period_Asterisk_Group
2.191307434774555
ns/iter2.182036349715757
ns/iter1.00
Regex_Period_Plus
2.486323042170805
ns/iter2.4914004008456194
ns/iter1.00
Regex_Period
2.4859844836476954
ns/iter2.506632647577241
ns/iter0.99
Regex_Caret_Period_Plus_Dollar
2.2710142581093438
ns/iter2.4887776977850873
ns/iter0.91
Regex_Caret_Group_Period_Plus_Group_Dollar
2.2765616233953105
ns/iter2.489922474578475
ns/iter0.91
Regex_Caret_Period_Asterisk_Dollar
2.48695450832223
ns/iter3.4192200934329176
ns/iter0.73
Regex_Caret_Group_Period_Asterisk_Group_Dollar
2.4861893176483925
ns/iter3.418952737835449
ns/iter0.73
Regex_Caret_X_Hyphen
12.52856247108536
ns/iter12.504706843113246
ns/iter1.00
Regex_Period_Md_Dollar
73.70581651740909
ns/iter74.05161340026288
ns/iter1.00
Regex_Caret_Slash_Period_Asterisk
7.149466252312237
ns/iter7.093413433351044
ns/iter1.01
Regex_Caret_Period_Range_Dollar
2.4938970230158755
ns/iter2.5058175069195956
ns/iter1.00
Regex_Nested_Backtrack
491.679554149494
ns/iter506.3542772193359
ns/iter0.97
Pointer_Object_Traverse
44.788569441834994
ns/iter44.90762013352479
ns/iter1.00
Pointer_Object_Try_Traverse
53.193323097873595
ns/iter52.26983470377153
ns/iter1.02
Pointer_Push_Back_Pointer_To_Weak_Pointer
354.7159460770064
ns/iter352.297219581662
ns/iter1.01
This comment was automatically generated by workflow using github-action-benchmark.
4b04d73
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.
Benchmark (windows/msvc)
JSON_Array_Of_Objects_Unique
435.00737500011155
ns/iter419.10147843102794
ns/iter1.04
JSON_Parse_1
83702.96874998319
ns/iter81309.16294643495
ns/iter1.03
JSON_Fast_Hash_Helm_Chart_Lock
59.704940000006
ns/iter56.79349107143342
ns/iter1.05
JSON_Equality_Helm_Chart_Lock
228.0587357077244
ns/iter214.83100000001087
ns/iter1.06
Regex_Lower_S_Or_Upper_S_Asterisk
8.532138392856682
ns/iter8.09690219599542
ns/iter1.05
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
8.04193255338269
ns/iter7.924672732480097
ns/iter1.01
Regex_Period_Asterisk
8.327903534250876
ns/iter7.952081473214482
ns/iter1.05
Regex_Group_Period_Asterisk_Group
8.034918526784095
ns/iter7.992249999999907
ns/iter1.01
Regex_Period_Plus
8.135332999397985
ns/iter7.929559786028484
ns/iter1.03
Regex_Period
8.051205767629174
ns/iter8.11947433035698
ns/iter0.99
Regex_Caret_Period_Plus_Dollar
7.912025857533314
ns/iter8.000271205356972
ns/iter0.99
Regex_Caret_Group_Period_Plus_Group_Dollar
8.832472728425117
ns/iter8.38834549826642
ns/iter1.05
Regex_Caret_Period_Asterisk_Dollar
7.789064062500017
ns/iter8.303265625000073
ns/iter0.94
Regex_Caret_Group_Period_Asterisk_Group_Dollar
8.23741737394046
ns/iter8.224844159711257
ns/iter1.00
Regex_Caret_X_Hyphen
11.566604687502036
ns/iter11.618403571428562
ns/iter1.00
Regex_Period_Md_Dollar
142.00964767811402
ns/iter145.94708723451558
ns/iter0.97
Regex_Caret_Slash_Period_Asterisk
11.935163116364066
ns/iter11.775487499999063
ns/iter1.01
Regex_Caret_Period_Range_Dollar
8.964932102834474
ns/iter9.086469602291999
ns/iter0.99
Regex_Nested_Backtrack
586.6695535713365
ns/iter588.6363392856911
ns/iter1.00
Pointer_Object_Traverse
55.89243749998981
ns/iter56.69698214285899
ns/iter0.99
Pointer_Object_Try_Traverse
75.99424107141317
ns/iter76.37816964285449
ns/iter0.99
Pointer_Push_Back_Pointer_To_Weak_Pointer
191.31794565335926
ns/iter175.17648494484808
ns/iter1.09
This comment was automatically generated by workflow using github-action-benchmark.
4b04d73
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.
Benchmark (linux/gcc)
Pointer_Object_Traverse
50.18702809651256
ns/iter44.323071200537065
ns/iter1.13
Pointer_Object_Try_Traverse
24.622513914266523
ns/iter22.409523536155056
ns/iter1.10
Pointer_Push_Back_Pointer_To_Weak_Pointer
213.17270709021975
ns/iter213.00843352003835
ns/iter1.00
Regex_Lower_S_Or_Upper_S_Asterisk
3.1231955616085556
ns/iter3.1354589423323262
ns/iter1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar
3.130828609019674
ns/iter3.1236844399220987
ns/iter1.00
Regex_Period_Asterisk
3.122312645712708
ns/iter3.1244189730837797
ns/iter1.00
Regex_Group_Period_Asterisk_Group
3.122895313002317
ns/iter3.124149829439447
ns/iter1.00
Regex_Period_Plus
3.1273323382859193
ns/iter3.1251358316953213
ns/iter1.00
Regex_Period
3.126788947460779
ns/iter3.1283836481291374
ns/iter1.00
Regex_Caret_Period_Plus_Dollar
3.1316186871732135
ns/iter3.1256782396702962
ns/iter1.00
Regex_Caret_Group_Period_Plus_Group_Dollar
3.1233518534670113
ns/iter3.1257985513587023
ns/iter1.00
Regex_Caret_Period_Asterisk_Dollar
3.1290650749377256
ns/iter3.126567055852649
ns/iter1.00
Regex_Caret_Group_Period_Asterisk_Group_Dollar
3.126457674540122
ns/iter3.1302327364697122
ns/iter1.00
Regex_Caret_X_Hyphen
12.431149374894764
ns/iter12.43179876404824
ns/iter1.00
Regex_Period_Md_Dollar
89.25451018058364
ns/iter89.63427958149308
ns/iter1.00
Regex_Caret_Slash_Period_Asterisk
7.14604530308933
ns/iter7.1531579424733405
ns/iter1.00
Regex_Caret_Period_Range_Dollar
4.039906061789911
ns/iter3.185703537765074
ns/iter1.27
Regex_Nested_Backtrack
833.3509879230805
ns/iter813.1069888583747
ns/iter1.02
JSON_Array_Of_Objects_Unique
377.4044799985154
ns/iter377.73481002123015
ns/iter1.00
JSON_Parse_1
33185.93026466167
ns/iter32810.163484040466
ns/iter1.01
JSON_Fast_Hash_Helm_Chart_Lock
62.94871641328834
ns/iter63.95427803930726
ns/iter0.98
JSON_Equality_Helm_Chart_Lock
146.9782408346559
ns/iter142.6291877626806
ns/iter1.03
This comment was automatically generated by workflow using github-action-benchmark.