-
-
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.
Optimize
patternProperties
set to wildcard schemas before 2019-09 (#…
…1189) Signed-off-by: Juan Cruz Viotti <[email protected]>
- Loading branch information
Showing
2 changed files
with
54 additions
and
28 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
8e19ade
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
729.2259159815563
ns/iter860.1924572099057
ns/iter0.85
JSONSchema_Validate_Draft4_Required_Properties
783.4522755427253
ns/iter900.2756496918734
ns/iter0.87
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match
142.60770723519462
ns/iter164.33741192037593
ns/iter0.87
JSONSchema_Validate_Draft4_Items_Schema
1981.7646428004973
ns/iter2187.7293666896176
ns/iter0.91
JSONSchema_Validate_Draft4_Nested_Object
1218.7000199129448
ns/iter1318.0500697691245
ns/iter0.92
JSONSchema_Validate_Draft4_Properties_Triad_Optional
1308.8919149587318
ns/iter1424.3751930556991
ns/iter0.92
JSONSchema_Validate_Draft4_Properties_Triad_Closed
966.8050658239378
ns/iter1036.6805817005236
ns/iter0.93
JSONSchema_Validate_Draft4_Properties_Triad_Required
1332.716966606539
ns/iter1447.221323094018
ns/iter0.92
JSONSchema_Validate_Draft4_Non_Recursive_Ref
1557.8809775030786
ns/iter1715.9723310554687
ns/iter0.91
JSONSchema_Validate_Draft4_Pattern_Properties_True
1298.0003340271753
ns/iter2599.1591901258803
ns/iter0.50
This comment was automatically generated by workflow using github-action-benchmark.
8e19ade
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
16390.157861008476
ns/iter16493.874066945
ns/iter0.99
JSONSchema_Validate_Draft4_Required_Properties
6683.140428864843
ns/iter6596.7442602773735
ns/iter1.01
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match
1638.282423644848
ns/iter1667.0908480738394
ns/iter0.98
JSONSchema_Validate_Draft4_Items_Schema
101797.30592395469
ns/iter102160.41978726503
ns/iter1.00
JSONSchema_Validate_Draft4_Nested_Object
47504.917347496885
ns/iter47690.828184547594
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Optional
8009.690801003745
ns/iter8027.300906559587
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Closed
7455.075406935326
ns/iter7487.039361553931
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Required
8214.782690378115
ns/iter8213.957437345201
ns/iter1.00
JSONSchema_Validate_Draft4_Non_Recursive_Ref
77086.67579202124
ns/iter77241.89286498258
ns/iter1.00
JSONSchema_Validate_Draft4_Pattern_Properties_True
6141.686634824218
ns/iter10077.137492126014
ns/iter0.61
This comment was automatically generated by workflow using github-action-benchmark.
8e19ade
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
1111.093942538803
ns/iter1137.8396604036463
ns/iter0.98
JSONSchema_Validate_Draft4_Required_Properties
2289.560508156796
ns/iter2395.0251305508523
ns/iter0.96
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match
200.009947128165
ns/iter192.7588232752665
ns/iter1.04
JSONSchema_Validate_Draft4_Items_Schema
3564.8858236484775
ns/iter3605.537419460414
ns/iter0.99
JSONSchema_Validate_Draft4_Nested_Object
1702.6830949565804
ns/iter1744.948762432967
ns/iter0.98
JSONSchema_Validate_Draft4_Properties_Triad_Optional
1695.1832815895204
ns/iter1716.5968664347563
ns/iter0.99
JSONSchema_Validate_Draft4_Properties_Triad_Closed
1387.3433879265365
ns/iter1407.4107281360866
ns/iter0.99
JSONSchema_Validate_Draft4_Properties_Triad_Required
1764.117300169156
ns/iter1790.1480478903732
ns/iter0.99
JSONSchema_Validate_Draft4_Non_Recursive_Ref
2731.708552826035
ns/iter2810.960409425121
ns/iter0.97
JSONSchema_Validate_Draft4_Pattern_Properties_True
2336.953321063876
ns/iter3968.978388363654
ns/iter0.59
This comment was automatically generated by workflow using github-action-benchmark.
8e19ade
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
3097.5736607134404
ns/iter3119.204464285628
ns/iter0.99
JSONSchema_Validate_Draft4_Required_Properties
1644.5178571429558
ns/iter1637.6573660714655
ns/iter1.00
JSONSchema_Validate_Draft4_Optional_Properties_Minimal_Match
602.638214285735
ns/iter615.6332142856919
ns/iter0.98
JSONSchema_Validate_Draft4_Items_Schema
11487.128571425435
ns/iter11282.723437499699
ns/iter1.02
JSONSchema_Validate_Draft4_Nested_Object
6536.537946428515
ns/iter6509.093749999449
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Optional
5691.988392858402
ns/iter5752.680000000509
ns/iter0.99
JSONSchema_Validate_Draft4_Properties_Triad_Closed
4710.593290708664
ns/iter4762.572907529241
ns/iter0.99
JSONSchema_Validate_Draft4_Properties_Triad_Required
5777.740000000904
ns/iter5847.480357143046
ns/iter0.99
JSONSchema_Validate_Draft4_Non_Recursive_Ref
7338.311383929659
ns/iter7242.4620535700105
ns/iter1.01
JSONSchema_Validate_Draft4_Pattern_Properties_True
8028.24665178749
ns/iter15381.665178568126
ns/iter0.52
This comment was automatically generated by workflow using github-action-benchmark.