-
-
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.
refactor(walker): use std::ranges:sort instead of std::sort (#1267)
Clang tidy recommandation Signed-off-by: Tony Gorez <[email protected]>
- Loading branch information
Showing
1 changed file
with
4 additions
and
3 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
5ceffcc
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
3784.8978662231107
ns/iter3995.5399262600627
ns/iter0.95
JSONSchema_Validate_Draft4_Meta_1_No_Callback
798.8841480558408
ns/iter774.0963649633727
ns/iter1.03
JSONSchema_Validate_Draft4_Required_Properties
1015.6660752904231
ns/iter973.9796454891994
ns/iter1.04
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
161.79997970870286
ns/iter160.44223548699966
ns/iter1.01
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
112.3691521948755
ns/iter106.55257426723915
ns/iter1.05
JSONSchema_Validate_Draft4_Items_Schema
2818.090088091676
ns/iter2768.946745052337
ns/iter1.02
JSONSchema_Validate_Draft4_Nested_Object
1441.3055751119657
ns/iter1401.4626568295323
ns/iter1.03
JSONSchema_Validate_Draft4_Properties_Triad_Optional
1500.132463669815
ns/iter1393.7266897106397
ns/iter1.08
JSONSchema_Validate_Draft4_Properties_Triad_Closed
1121.4930756209956
ns/iter1058.959850077662
ns/iter1.06
JSONSchema_Validate_Draft4_Properties_Triad_Required
1485.3545476358092
ns/iter1417.2136118878116
ns/iter1.05
JSONSchema_Validate_Draft4_Non_Recursive_Ref
208.26287991411326
ns/iter199.13361110570705
ns/iter1.05
JSONSchema_Validate_Draft4_Pattern_Properties_True
1463.0809322059686
ns/iter1390.9907556116348
ns/iter1.05
JSONSchema_Validate_Draft4_Ref_To_Single_Property
115.67794671711938
ns/iter108.34658072614582
ns/iter1.07
JSONSchema_Validate_Draft4_Additional_Properties_Type
378.59047267176106
ns/iter363.2046208696293
ns/iter1.04
JSONSchema_Validate_Draft4_Nested_Oneof
389.84884271118574
ns/iter373.6773191551827
ns/iter1.04
JSONSchema_Validate_Draft6_Property_Names
824.0157211933015
ns/iter833.5054035017199
ns/iter0.99
JSONSchema_Validate_Draft7_If_Then_Else
180.61002675001055
ns/iter175.0987496403575
ns/iter1.03
JSONSchema_Compiler_Draft6_AdaptiveCard
3342542166.000044
ns/iter3090445666.0000505
ns/iter1.08
This comment was automatically generated by workflow using github-action-benchmark.
5ceffcc
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
2102.8682742975384
ns/iter2157.632373842345
ns/iter0.97
JSONSchema_Validate_Draft4_Meta_1_No_Callback
1036.620636559516
ns/iter1039.7991880747188
ns/iter1.00
JSONSchema_Validate_Draft4_Required_Properties
1669.2732172160615
ns/iter1614.5905004111223
ns/iter1.03
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
186.8406769637506
ns/iter185.65373306501732
ns/iter1.01
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
133.1222628404555
ns/iter128.3631592657806
ns/iter1.04
JSONSchema_Validate_Draft4_Items_Schema
4289.51846217136
ns/iter4299.987658124528
ns/iter1.00
JSONSchema_Validate_Draft4_Nested_Object
1739.19234938634
ns/iter1682.5719451538118
ns/iter1.03
JSONSchema_Validate_Draft4_Properties_Triad_Optional
1835.6381803921238
ns/iter1713.7772765254813
ns/iter1.07
JSONSchema_Validate_Draft4_Properties_Triad_Closed
1532.6239369146244
ns/iter1509.314484189926
ns/iter1.02
JSONSchema_Validate_Draft4_Properties_Triad_Required
1920.9372444179876
ns/iter1818.0167556205147
ns/iter1.06
JSONSchema_Validate_Draft4_Non_Recursive_Ref
486.2986283149758
ns/iter475.75539897047116
ns/iter1.02
JSONSchema_Validate_Draft4_Pattern_Properties_True
2558.4363684810396
ns/iter2515.7972994172937
ns/iter1.02
JSONSchema_Validate_Draft4_Ref_To_Single_Property
135.7339554324512
ns/iter127.58868399257445
ns/iter1.06
JSONSchema_Validate_Draft4_Additional_Properties_Type
605.6757889058457
ns/iter580.4769145279405
ns/iter1.04
JSONSchema_Validate_Draft4_Nested_Oneof
537.5680509982101
ns/iter515.6152899999711
ns/iter1.04
JSONSchema_Validate_Draft6_Property_Names
1312.5223155077078
ns/iter1240.4018184600209
ns/iter1.06
JSONSchema_Validate_Draft7_If_Then_Else
231.22807340615944
ns/iter215.14917095432887
ns/iter1.07
JSONSchema_Compiler_Draft6_AdaptiveCard
5673500844.000046
ns/iter5373003992.999997
ns/iter1.06
This comment was automatically generated by workflow using github-action-benchmark.
5ceffcc
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)
JSONSchema_Compiler_Draft6_AdaptiveCard
6410052627.000028
ns/iter6344971050.000027
ns/iter1.01
JSONSchema_Validate_Draft4_Meta_1_No_Callback
1059.0876412458883
ns/iter1101.7370410671253
ns/iter0.96
JSONSchema_Validate_Draft4_Required_Properties
2368.5063835362707
ns/iter2452.780128552883
ns/iter0.97
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
190.48707913190503
ns/iter198.62687127674397
ns/iter0.96
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
138.9728414495219
ns/iter139.6465332796852
ns/iter1.00
JSONSchema_Validate_Draft4_Items_Schema
3062.40769395784
ns/iter3210.1044838342923
ns/iter0.95
JSONSchema_Validate_Draft4_Nested_Object
1727.9609674477003
ns/iter1738.539516699736
ns/iter0.99
JSONSchema_Validate_Draft4_Properties_Triad_Optional
1667.5505133436793
ns/iter1660.937222939609
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Closed
1364.7976551895158
ns/iter1362.435432927389
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Required
1751.708448345078
ns/iter1748.9823828016085
ns/iter1.00
JSONSchema_Validate_Draft4_Non_Recursive_Ref
480.813844012553
ns/iter469.6774187476461
ns/iter1.02
JSONSchema_Validate_Draft4_Pattern_Properties_True
2335.4275254419463
ns/iter2274.872455433494
ns/iter1.03
JSONSchema_Validate_Draft4_Ref_To_Single_Property
143.7310665749886
ns/iter145.2288361287263
ns/iter0.99
JSONSchema_Validate_Draft4_Additional_Properties_Type
1151.345635421773
ns/iter1105.2671683420886
ns/iter1.04
JSONSchema_Validate_Draft4_Nested_Oneof
430.5515434301001
ns/iter450.09989079108357
ns/iter0.96
JSONSchema_Validate_Draft6_Property_Names
1621.6906341211466
ns/iter1659.6565147250892
ns/iter0.98
JSONSchema_Validate_Draft7_If_Then_Else
197.02103190509737
ns/iter198.45794650635798
ns/iter0.99
JSON_Array_Of_Objects_Unique
3192.577458775558
ns/iter3325.380590459243
ns/iter0.96
This comment was automatically generated by workflow using github-action-benchmark.
5ceffcc
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
5240.476999999828
ns/iter4823.296927001978
ns/iter1.09
JSONSchema_Validate_Draft4_Meta_1_No_Callback
2338.3346670372407
ns/iter2334.2903635150774
ns/iter1.00
JSONSchema_Validate_Draft4_Required_Properties
2022.3498686937967
ns/iter2013.1662870159178
ns/iter1.00
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
539.5201785713003
ns/iter544.8323999999047
ns/iter0.99
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
412.2105976690715
ns/iter407.3492362791203
ns/iter1.01
JSONSchema_Validate_Draft4_Items_Schema
6471.800892857767
ns/iter6558.627678572293
ns/iter0.99
JSONSchema_Validate_Draft4_Nested_Object
3940.3934151785843
ns/iter3900.4547991071195
ns/iter1.01
JSONSchema_Validate_Draft4_Properties_Triad_Optional
5405.448999999861
ns/iter5368.767857143147
ns/iter1.01
JSONSchema_Validate_Draft4_Properties_Triad_Closed
4449.199588305518
ns/iter4390.579999999034
ns/iter1.01
JSONSchema_Validate_Draft4_Properties_Triad_Required
5485.45357143025
ns/iter5529.692857142062
ns/iter0.99
JSONSchema_Validate_Draft4_Non_Recursive_Ref
557.5144000001728
ns/iter560.7289285714095
ns/iter0.99
JSONSchema_Validate_Draft4_Pattern_Properties_True
8083.485491073057
ns/iter7962.8504464273365
ns/iter1.02
JSONSchema_Validate_Draft4_Ref_To_Single_Property
410.81234326723455
ns/iter411.6882897727424
ns/iter1.00
JSONSchema_Validate_Draft4_Additional_Properties_Type
773.9575892859054
ns/iter771.5140624997881
ns/iter1.00
JSONSchema_Validate_Draft4_Nested_Oneof
1087.4649999998098
ns/iter1089.9584419828886
ns/iter1.00
JSONSchema_Validate_Draft6_Property_Names
1849.1700439018157
ns/iter1860.68308989559
ns/iter0.99
JSONSchema_Validate_Draft7_If_Then_Else
548.7993750000848
ns/iter561.8539285714113
ns/iter0.98
JSONSchema_Compiler_Draft6_AdaptiveCard
10380249499.99999
ns/iter10886091299.999863
ns/iter0.95
This comment was automatically generated by workflow using github-action-benchmark.