-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unroll
properties
of 1 keyword even more aggressively (#1199)
Signed-off-by: Juan Cruz Viotti <[email protected]>
- Loading branch information
Showing
3 changed files
with
100 additions
and
101 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
Oops, something went wrong.
3785582
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)
JSONSchema_Validate_Draft4_Meta_1_No_Callback
658.8367913349689
ns/iter712.0638280563484
ns/iter0.93
JSONSchema_Validate_Draft4_Required_Properties
785.7233159090523
ns/iter860.0134957838867
ns/iter0.91
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
142.33482783381845
ns/iter157.6024011608068
ns/iter0.90
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
105.17191899110043
ns/iter156.3305403420152
ns/iter0.67
JSONSchema_Validate_Draft4_Items_Schema
1954.208437470312
ns/iter2140.7352745969624
ns/iter0.91
JSONSchema_Validate_Draft4_Nested_Object
1212.0592334015541
ns/iter1359.2380229917974
ns/iter0.89
JSONSchema_Validate_Draft4_Properties_Triad_Optional
1329.8401704453045
ns/iter1465.9598542346614
ns/iter0.91
JSONSchema_Validate_Draft4_Properties_Triad_Closed
989.5349437892426
ns/iter1098.2583955076814
ns/iter0.90
JSONSchema_Validate_Draft4_Properties_Triad_Required
1340.8189848273337
ns/iter1461.8615209899222
ns/iter0.92
JSONSchema_Validate_Draft4_Non_Recursive_Ref
477.1638922273727
ns/iter526.065208999853
ns/iter0.91
JSONSchema_Validate_Draft4_Pattern_Properties_True
1308.491412048002
ns/iter1424.9182679342043
ns/iter0.92
JSONSchema_Validate_Draft4_Ref_To_Single_Property
108.49923418528799
ns/iter163.08370811844864
ns/iter0.67
This comment was automatically generated by workflow using github-action-benchmark.
3785582
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)
JSONSchema_Validate_Draft4_Meta_1_No_Callback
16565.434060824122
ns/iter16421.91511158993
ns/iter1.01
JSONSchema_Validate_Draft4_Required_Properties
6678.853178279034
ns/iter6661.345692395457
ns/iter1.00
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
1889.6647225091783
ns/iter1781.9400980551636
ns/iter1.06
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
868.3611936509324
ns/iter1652.4360867711086
ns/iter0.53
JSONSchema_Validate_Draft4_Items_Schema
114592.56199547891
ns/iter112901.5113801437
ns/iter1.01
JSONSchema_Validate_Draft4_Nested_Object
52827.79427793012
ns/iter52980.26901248326
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Optional
8602.46395288738
ns/iter8452.999493139536
ns/iter1.02
JSONSchema_Validate_Draft4_Properties_Triad_Closed
8047.682909750145
ns/iter7918.159417671355
ns/iter1.02
JSONSchema_Validate_Draft4_Properties_Triad_Required
8763.375446038732
ns/iter8660.196784073205
ns/iter1.01
JSONSchema_Validate_Draft4_Non_Recursive_Ref
4212.329836892985
ns/iter4183.269841550406
ns/iter1.01
JSONSchema_Validate_Draft4_Pattern_Properties_True
6062.716165251205
ns/iter5989.532055575493
ns/iter1.01
JSONSchema_Validate_Draft4_Ref_To_Single_Property
877.330995449429
ns/iter1661.6891447290402
ns/iter0.53
This comment was automatically generated by workflow using github-action-benchmark.
3785582
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_Validate_Draft4_Meta_1_No_Callback
1150.1157964673541
ns/iter1105.0562477749472
ns/iter1.04
JSONSchema_Validate_Draft4_Required_Properties
2179.16366254507
ns/iter2181.335805032025
ns/iter1.00
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
222.1631592103254
ns/iter191.36697468707422
ns/iter1.16
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
154.4391608795456
ns/iter211.71105968221605
ns/iter0.73
JSONSchema_Validate_Draft4_Items_Schema
3600.1140139230547
ns/iter3562.2429042770095
ns/iter1.01
JSONSchema_Validate_Draft4_Nested_Object
1724.2939608100148
ns/iter1721.4206104615118
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Optional
1790.6552228390751
ns/iter1747.7580652429906
ns/iter1.02
JSONSchema_Validate_Draft4_Properties_Triad_Closed
1485.390859839454
ns/iter1440.4425341478293
ns/iter1.03
JSONSchema_Validate_Draft4_Properties_Triad_Required
1867.1938599250702
ns/iter1827.1298579685326
ns/iter1.02
JSONSchema_Validate_Draft4_Non_Recursive_Ref
763.119013935854
ns/iter758.9195430973797
ns/iter1.01
JSONSchema_Validate_Draft4_Pattern_Properties_True
2293.6735920464803
ns/iter2413.6076486422517
ns/iter0.95
JSONSchema_Validate_Draft4_Ref_To_Single_Property
166.14221526556827
ns/iter223.5325863342504
ns/iter0.74
This comment was automatically generated by workflow using github-action-benchmark.
3785582
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)
JSONSchema_Validate_Draft4_Meta_1_No_Callback
3032.164774438195
ns/iter3022.048214284772
ns/iter1.00
JSONSchema_Validate_Draft4_Required_Properties
1636.1217168830967
ns/iter1651.6879464286865
ns/iter0.99
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
616.2248214286998
ns/iter629.6154464284394
ns/iter0.98
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
427.71791504525777
ns/iter589.7159000001011
ns/iter0.73
JSONSchema_Validate_Draft4_Items_Schema
11542.885714285538
ns/iter12009.349999999586
ns/iter0.96
JSONSchema_Validate_Draft4_Nested_Object
6545.711607143647
ns/iter6574.740178572419
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Optional
5671.5749999989375
ns/iter5639.312999999219
ns/iter1.01
JSONSchema_Validate_Draft4_Properties_Triad_Closed
4715.052935386061
ns/iter4694.440612590438
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Required
5709.127678571235
ns/iter5714.669000001322
ns/iter1.00
JSONSchema_Validate_Draft4_Non_Recursive_Ref
1154.4870312501841
ns/iter1164.147142856921
ns/iter0.99
JSONSchema_Validate_Draft4_Pattern_Properties_True
7882.447399788681
ns/iter7894.6562499991405
ns/iter1.00
JSONSchema_Validate_Draft4_Ref_To_Single_Property
432.53106250006107
ns/iter590.3569642857829
ns/iter0.73
This comment was automatically generated by workflow using github-action-benchmark.