-
-
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.
Make compiler JSON formatter more resilient to unknown keywords (#1194)
Signed-off-by: Juan Cruz Viotti <[email protected]>
- Loading branch information
Showing
2 changed files
with
10 additions
and
11 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
1f0cfa2
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
720.2525959256295
ns/iter667.1735415967004
ns/iter1.08
JSONSchema_Validate_Draft4_Required_Properties
934.1942275584938
ns/iter785.4626709026937
ns/iter1.19
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
152.4594895915016
ns/iter142.42895641924292
ns/iter1.07
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
134.2628155775465
ns/iter104.10384579570086
ns/iter1.29
JSONSchema_Validate_Draft4_Items_Schema
2097.7039604082793
ns/iter1970.5488733595168
ns/iter1.06
JSONSchema_Validate_Draft4_Nested_Object
1270.8307180228974
ns/iter1210.4202302106576
ns/iter1.05
JSONSchema_Validate_Draft4_Properties_Triad_Optional
1476.7680117961638
ns/iter1319.5710442532716
ns/iter1.12
JSONSchema_Validate_Draft4_Properties_Triad_Closed
1058.6010950961033
ns/iter982.906971142387
ns/iter1.08
JSONSchema_Validate_Draft4_Properties_Triad_Required
1471.9725273529396
ns/iter1322.1507604358912
ns/iter1.11
JSONSchema_Validate_Draft4_Non_Recursive_Ref
517.8857555334384
ns/iter472.96031295359404
ns/iter1.09
JSONSchema_Validate_Draft4_Pattern_Properties_True
1419.2381572618394
ns/iter1363.0788039232045
ns/iter1.04
JSONSchema_Validate_Draft4_Ref_To_Single_Property
118.16146903874511
ns/iter111.56104119109007
ns/iter1.06
This comment was automatically generated by workflow using github-action-benchmark.
1f0cfa2
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
17473.13042500601
ns/iter17729.26830192477
ns/iter0.99
JSONSchema_Validate_Draft4_Required_Properties
7151.661607241466
ns/iter7261.3480942746755
ns/iter0.98
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
1871.9930645663264
ns/iter1890.6649045435702
ns/iter0.99
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
913.8141543562224
ns/iter939.6359202409514
ns/iter0.97
JSONSchema_Validate_Draft4_Items_Schema
116654.19890054557
ns/iter117619.84888216267
ns/iter0.99
JSONSchema_Validate_Draft4_Nested_Object
56400.19112325901
ns/iter56933.87480755148
ns/iter0.99
JSONSchema_Validate_Draft4_Properties_Triad_Optional
8824.030131541012
ns/iter8867.753292506675
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Closed
8291.825763694877
ns/iter8324.24364604875
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Required
9005.2868175228
ns/iter9051.317487531707
ns/iter0.99
JSONSchema_Validate_Draft4_Non_Recursive_Ref
4378.716357634848
ns/iter4481.3812133993815
ns/iter0.98
JSONSchema_Validate_Draft4_Pattern_Properties_True
6435.050026566147
ns/iter6437.8655236800505
ns/iter1.00
JSONSchema_Validate_Draft4_Ref_To_Single_Property
923.3524514876088
ns/iter939.7475171753259
ns/iter0.98
This comment was automatically generated by workflow using github-action-benchmark.
1f0cfa2
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
1072.1488220157507
ns/iter1099.680419438895
ns/iter0.97
JSONSchema_Validate_Draft4_Required_Properties
2106.4476105455738
ns/iter2127.231024956107
ns/iter0.99
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
184.91853167286337
ns/iter201.64598630117217
ns/iter0.92
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
151.01272440363317
ns/iter154.67408025809732
ns/iter0.98
JSONSchema_Validate_Draft4_Items_Schema
3639.095570093325
ns/iter3644.8656233657716
ns/iter1.00
JSONSchema_Validate_Draft4_Nested_Object
1687.571627229883
ns/iter1688.0388400066759
ns/iter1.00
JSONSchema_Validate_Draft4_Properties_Triad_Optional
1745.9663770913398
ns/iter1822.1938109141336
ns/iter0.96
JSONSchema_Validate_Draft4_Properties_Triad_Closed
1417.6420134954967
ns/iter1489.4100042700743
ns/iter0.95
JSONSchema_Validate_Draft4_Properties_Triad_Required
1806.6197879510853
ns/iter1806.3300164895954
ns/iter1.00
JSONSchema_Validate_Draft4_Non_Recursive_Ref
715.8868903826683
ns/iter730.1348265515346
ns/iter0.98
JSONSchema_Validate_Draft4_Pattern_Properties_True
2371.016070134145
ns/iter2414.1310316580293
ns/iter0.98
JSONSchema_Validate_Draft4_Ref_To_Single_Property
161.54215793264063
ns/iter168.5694812717015
ns/iter0.96
This comment was automatically generated by workflow using github-action-benchmark.
1f0cfa2
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
2924.6640004413052
ns/iter2965.8249536662247
ns/iter0.99
JSONSchema_Validate_Draft4_Required_Properties
1603.5794642859407
ns/iter1613.3189732143092
ns/iter0.99
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match
613.8299999999422
ns/iter614.1255357142938
ns/iter1.00
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match
423.4408750001251
ns/iter429.42656933000563
ns/iter0.99
JSONSchema_Validate_Draft4_Items_Schema
11498.616071431146
ns/iter11525.062500000771
ns/iter1.00
JSONSchema_Validate_Draft4_Nested_Object
6696.429464286422
ns/iter6598.435714286057
ns/iter1.01
JSONSchema_Validate_Draft4_Properties_Triad_Optional
5602.031250000599
ns/iter5740.125892857456
ns/iter0.98
JSONSchema_Validate_Draft4_Properties_Triad_Closed
4655.377578967403
ns/iter4820.480777215212
ns/iter0.97
JSONSchema_Validate_Draft4_Properties_Triad_Required
5644.843749999089
ns/iter5816.117857142851
ns/iter0.97
JSONSchema_Validate_Draft4_Non_Recursive_Ref
1162.7771428570504
ns/iter1171.3431249999574
ns/iter0.99
JSONSchema_Validate_Draft4_Pattern_Properties_True
7942.603827658952
ns/iter8116.256696428793
ns/iter0.98
JSONSchema_Validate_Draft4_Ref_To_Single_Property
434.6361874999616
ns/iter446.0694006064073
ns/iter0.97
This comment was automatically generated by workflow using github-action-benchmark.