-
-
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.
Don't directly unroll
$ref
in exhaustive mode (#1282)
Signed-off-by: Juan Cruz Viotti <[email protected]>
- Loading branch information
Showing
3 changed files
with
46 additions
and
6 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
73275ef
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
3554.7801552089704
ns/iter3532.9775363117005
ns/iter1.01
JSONSchema_Validate_Draft4_Meta_1_No_Callback
742.3011912989036
ns/iter733.7035222854163
ns/iter1.01
JSONSchema_Validate_Draft4_Required_Properties
939.9547028686065
ns/iter941.1993314478193
ns/iter1.00
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
152.32464566166672
ns/iter151.44525578483578
ns/iter1.01
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
105.97448830120834
ns/iter105.52662040244232
ns/iter1.00
JSONSchema_Validate_Draft4_Items_Schema
2626.4518507313874
ns/iter2699.0592012505304
ns/iter0.97
JSONSchema_Validate_Draft4_Nested_Object
23.499608088678084
ns/iter22.727402001829955
ns/iter1.03
JSONSchema_Validate_Draft4_Properties_Triad_Optional
1308.4993993205571
ns/iter1316.250546748359
ns/iter0.99
JSONSchema_Validate_Draft4_Properties_Triad_Closed
954.294428293158
ns/iter968.1358405158121
ns/iter0.99
JSONSchema_Validate_Draft4_Properties_Triad_Required
1287.322828360174
ns/iter1281.4382141139556
ns/iter1.00
JSONSchema_Validate_Draft4_Non_Recursive_Ref
215.02499070223888
ns/iter212.47696367185648
ns/iter1.01
JSONSchema_Validate_Draft4_Pattern_Properties_True
1364.558605399449
ns/iter1349.3413918408087
ns/iter1.01
JSONSchema_Validate_Draft4_Ref_To_Single_Property
105.7334447150982
ns/iter107.40701572776767
ns/iter0.98
JSONSchema_Validate_Draft4_Additional_Properties_Type
407.6268944158721
ns/iter405.24265704863063
ns/iter1.01
JSONSchema_Validate_Draft4_Nested_Oneof
359.8783467763029
ns/iter364.8110968967731
ns/iter0.99
JSONSchema_Validate_Draft6_Property_Names
774.0832172348311
ns/iter775.0083705414057
ns/iter1.00
JSONSchema_Validate_Draft7_If_Then_Else
168.29681188480905
ns/iter168.98620830876314
ns/iter1.00
JSONSchema_Compiler_Draft6_AdaptiveCard
2982330957.9999204
ns/iter2875372917.0000496
ns/iter1.04
This comment was automatically generated by workflow using github-action-benchmark.
73275ef
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
2136.352662386968
ns/iter2135.7396648484587
ns/iter1.00
JSONSchema_Validate_Draft4_Meta_1_No_Callback
969.6580404212965
ns/iter956.0751725731602
ns/iter1.01
JSONSchema_Validate_Draft4_Required_Properties
1624.3589105705537
ns/iter1605.1569766261202
ns/iter1.01
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
179.53087584359727
ns/iter179.4524554466117
ns/iter1.00
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
131.3788323741565
ns/iter130.60677402774948
ns/iter1.01
JSONSchema_Validate_Draft4_Items_Schema
3531.6118436671886
ns/iter3544.2524505272713
ns/iter1.00
JSONSchema_Validate_Draft4_Nested_Object
33.069912531345686
ns/iter33.449290037406946
ns/iter0.99
JSONSchema_Validate_Draft4_Properties_Triad_Optional
1812.212505167662
ns/iter1812.8220854612528
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Closed
1483.1050044134547
ns/iter1496.3260140177208
ns/iter0.99
JSONSchema_Validate_Draft4_Properties_Triad_Required
1874.8941280902843
ns/iter1897.4478142873231
ns/iter0.99
JSONSchema_Validate_Draft4_Non_Recursive_Ref
482.039007683336
ns/iter481.4698865501708
ns/iter1.00
JSONSchema_Validate_Draft4_Pattern_Properties_True
2458.160970640438
ns/iter2424.343904452599
ns/iter1.01
JSONSchema_Validate_Draft4_Ref_To_Single_Property
134.3032565119076
ns/iter133.14509385951501
ns/iter1.01
JSONSchema_Validate_Draft4_Additional_Properties_Type
606.1745326558644
ns/iter605.3871128443448
ns/iter1.00
JSONSchema_Validate_Draft4_Nested_Oneof
473.9668792029137
ns/iter473.31565413507064
ns/iter1.00
JSONSchema_Validate_Draft6_Property_Names
1248.1741195366385
ns/iter1257.4498797324077
ns/iter0.99
JSONSchema_Validate_Draft7_If_Then_Else
209.49261367760937
ns/iter208.93379048145422
ns/iter1.00
JSONSchema_Compiler_Draft6_AdaptiveCard
5529102521.000027
ns/iter5495286106.9999695
ns/iter1.01
This comment was automatically generated by workflow using github-action-benchmark.
73275ef
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
6102350798.999965
ns/iter6198320409.999951
ns/iter0.98
JSONSchema_Validate_Draft4_Meta_1_No_Callback
1077.1487209656746
ns/iter1073.1876285065396
ns/iter1.00
JSONSchema_Validate_Draft4_Required_Properties
2280.979906777337
ns/iter2307.4004281950274
ns/iter0.99
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
190.58389323509502
ns/iter192.09161641603438
ns/iter0.99
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
138.89750584691024
ns/iter135.78709189602924
ns/iter1.02
JSONSchema_Validate_Draft4_Items_Schema
3097.0873300534845
ns/iter3112.6289156952926
ns/iter1.00
JSONSchema_Validate_Draft4_Nested_Object
22.989111889799084
ns/iter22.413635720226996
ns/iter1.03
JSONSchema_Validate_Draft4_Properties_Triad_Optional
1652.0168028168343
ns/iter1721.9589401082628
ns/iter0.96
JSONSchema_Validate_Draft4_Properties_Triad_Closed
1376.4713264886561
ns/iter1423.8432937941134
ns/iter0.97
JSONSchema_Validate_Draft4_Properties_Triad_Required
1734.719536209943
ns/iter1809.4157465898522
ns/iter0.96
JSONSchema_Validate_Draft4_Non_Recursive_Ref
453.0170563654138
ns/iter470.7458828899615
ns/iter0.96
JSONSchema_Validate_Draft4_Pattern_Properties_True
2205.0763082633066
ns/iter2333.9745890479694
ns/iter0.94
JSONSchema_Validate_Draft4_Ref_To_Single_Property
147.05966679118274
ns/iter142.17822446547484
ns/iter1.03
JSONSchema_Validate_Draft4_Additional_Properties_Type
1079.0392566520616
ns/iter1113.3194527245948
ns/iter0.97
JSONSchema_Validate_Draft4_Nested_Oneof
436.4525220904463
ns/iter422.7490345732372
ns/iter1.03
JSONSchema_Validate_Draft6_Property_Names
1724.2800962664235
ns/iter1771.8267354682396
ns/iter0.97
JSONSchema_Validate_Draft7_If_Then_Else
195.60148618877773
ns/iter197.40855727063544
ns/iter0.99
JSON_Array_Of_Objects_Unique
3179.5933011703196
ns/iter3267.74614833222
ns/iter0.97
This comment was automatically generated by workflow using github-action-benchmark.
73275ef
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
5139.909821429407
ns/iter5075.467000001481
ns/iter1.01
JSONSchema_Validate_Draft4_Meta_1_No_Callback
2377.099244308454
ns/iter2382.4905329348726
ns/iter1.00
JSONSchema_Validate_Draft4_Required_Properties
2066.59750736309
ns/iter2068.6705453906825
ns/iter1.00
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
560.3268749999708
ns/iter559.255199999825
ns/iter1.00
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
415.1845216436016
ns/iter415.2965305672197
ns/iter1.00
JSONSchema_Validate_Draft4_Items_Schema
6420.2214285700165
ns/iter6522.911607141119
ns/iter0.98
JSONSchema_Validate_Draft4_Nested_Object
160.24649553573664
ns/iter158.75198607713745
ns/iter1.01
JSONSchema_Validate_Draft4_Properties_Triad_Optional
5296.520535714373
ns/iter5378.892857143975
ns/iter0.98
JSONSchema_Validate_Draft4_Properties_Triad_Closed
4362.993750000044
ns/iter4395.797595851294
ns/iter0.99
JSONSchema_Validate_Draft4_Properties_Triad_Required
5370.130999999674
ns/iter5433.4670000002925
ns/iter0.99
JSONSchema_Validate_Draft4_Non_Recursive_Ref
543.4537499998069
ns/iter552.7878000000328
ns/iter0.98
JSONSchema_Validate_Draft4_Pattern_Properties_True
7982.660714286486
ns/iter8173.260044644439
ns/iter0.98
JSONSchema_Validate_Draft4_Ref_To_Single_Property
420.86196308102336
ns/iter420.50397195374035
ns/iter1.00
JSONSchema_Validate_Draft4_Additional_Properties_Type
742.7904464285413
ns/iter761.1329241069394
ns/iter0.98
JSONSchema_Validate_Draft4_Nested_Oneof
1112.667968750003
ns/iter1120.4892857145003
ns/iter0.99
JSONSchema_Validate_Draft6_Property_Names
1849.7392408382273
ns/iter1870.693613374562
ns/iter0.99
JSONSchema_Validate_Draft7_If_Then_Else
572.7018749999908
ns/iter573.1597999999849
ns/iter1.00
JSONSchema_Compiler_Draft6_AdaptiveCard
10029944699.999987
ns/iter10519105300.000092
ns/iter0.95
This comment was automatically generated by workflow using github-action-benchmark.