Skip to content

Commit

Permalink
Upgrade JSON Toolkit to aae184d87d6c4efe600cfb3c85163eda61f207c4 (#206
Browse files Browse the repository at this point in the history
)

Signed-off-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
jviotti authored Nov 21, 2024
1 parent 8f5a209 commit 1901212
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DEPENDENCIES
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
vendorpull https://github.com/sourcemeta/vendorpull dea311b5bfb53b6926a4140267959ae334d3ecf4
noa https://github.com/sourcemeta/noa caad2e1ceedf9fd1a18686a6a6d1e2b9757ead75
jsontoolkit https://github.com/sourcemeta/jsontoolkit 4829e706f5ae2e1730cfd34fc982d690ba729cfd
jsontoolkit https://github.com/sourcemeta/jsontoolkit aae184d87d6c4efe600cfb3c85163eda61f207c4
googletest https://github.com/google/googletest a7f443b80b105f940225332ed3c31f2790092f47
googlebenchmark https://github.com/google/benchmark 378fe693a1ef51500db21b11ff05a8018c5f0e55
jsonschema-test-suite https://github.com/json-schema-org/JSON-Schema-Test-Suite c2badb1298a8698f86dadf1aea7b44b3a894e5ac

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 comments on commit 1901212

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (macos/llvm)

Benchmark suite Current: 1901212 Previous: 8f5a209 Ratio
Compiler_Draft6_AdaptiveCard 32928188500.000034 ns/iter 31690408790.99998 ns/iter 1.04
Compiler_2019_09_OMC_JSON_V2 6682876332.999968 ns/iter 6635070208.000115 ns/iter 1.01
Evaluator_Draft4_Meta_1_No_Callback 285.1302773572336 ns/iter 285.371550710853 ns/iter 1.00
Evaluator_Draft4_Required_Properties 352.2067584293805 ns/iter 350.3191366615375 ns/iter 1.01
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match 23.065761478249687 ns/iter 22.667084771093393 ns/iter 1.02
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match 10.63831234349936 ns/iter 10.51411225160657 ns/iter 1.01
Evaluator_Draft4_Items_Schema 708.9081715718844 ns/iter 706.8492599498057 ns/iter 1.00
Evaluator_Draft4_Nested_Object 1.4560995620335888 ns/iter 1.4227033943388905 ns/iter 1.02
Evaluator_Draft4_Properties_Triad_Optional 1006.3170916252085 ns/iter 1009.3904065952297 ns/iter 1.00
Evaluator_Draft4_Properties_Triad_Closed 711.0066614829109 ns/iter 707.8902572300294 ns/iter 1.00
Evaluator_Draft4_Properties_Triad_Required 1142.3346608512466 ns/iter 1000.300639306516 ns/iter 1.14
Evaluator_Draft4_Properties_Closed 101.63309634949945 ns/iter 94.29910089531346 ns/iter 1.08
Evaluator_Draft4_Non_Recursive_Ref 12.703797842312133 ns/iter 12.078923907611582 ns/iter 1.05
Evaluator_Draft4_Pattern_Properties_True 1270.9071574100026 ns/iter 1184.0886458577727 ns/iter 1.07
Evaluator_Draft4_Ref_To_Single_Property 12.57947900771395 ns/iter 11.590990241021917 ns/iter 1.09
Evaluator_Draft4_Additional_Properties_Type 27.610269667406868 ns/iter 26.00926006301659 ns/iter 1.06
Evaluator_Draft4_Nested_Oneof 105.3941522320664 ns/iter 91.89733985649704 ns/iter 1.15
Evaluator_Draft4_Long_Enum 23.61397012467068 ns/iter 21.147088394575697 ns/iter 1.12
Evaluator_Draft4_Type_Object 7.259100604805546 ns/iter 6.289068083593984 ns/iter 1.15
Evaluator_Draft6_Property_Names 326.76243646972085 ns/iter 286.6709362487123 ns/iter 1.14
Evaluator_Draft7_If_Then_Else 43.808898001093006 ns/iter 38.42392510320474 ns/iter 1.14
Evaluator_Draft7_Vercel_1 109762.07659048414 ns/iter 103235.43547914206 ns/iter 1.06
Evaluator_2019_09_Unevaluated_Properties 203.1359973972724 ns/iter 156.663985141258 ns/iter 1.30
Evaluator_2019_09_OMC_JSON_V2_1 7269.91895572082 ns/iter 6693.77188354066 ns/iter 1.09
Evaluator_2020_12_Dynamic_Ref 594.9272212024803 ns/iter 539.9164101588149 ns/iter 1.10

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (linux/llvm)

Benchmark suite Current: 1901212 Previous: 8f5a209 Ratio
Compiler_Draft6_AdaptiveCard 57394118387.999985 ns/iter 58417201218.99999 ns/iter 0.98
Compiler_2019_09_OMC_JSON_V2 10994433461.000029 ns/iter 11069004919.999998 ns/iter 0.99
Evaluator_Draft4_Meta_1_No_Callback 456.3337261833491 ns/iter 465.4291309618219 ns/iter 0.98
Evaluator_Draft4_Required_Properties 886.3743004190875 ns/iter 901.6173909857649 ns/iter 0.98
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match 48.106468928833074 ns/iter 48.37795097951381 ns/iter 0.99
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match 28.765310981182626 ns/iter 29.066237446454757 ns/iter 0.99
Evaluator_Draft4_Items_Schema 1433.7840977724773 ns/iter 1414.0923207453739 ns/iter 1.01
Evaluator_Draft4_Nested_Object 4.9489478537854446 ns/iter 4.947826417444941 ns/iter 1.00
Evaluator_Draft4_Properties_Triad_Optional 1328.8576371884085 ns/iter 1333.3461037218528 ns/iter 1.00
Evaluator_Draft4_Properties_Triad_Closed 1033.6973798259603 ns/iter 1032.4359251412166 ns/iter 1.00
Evaluator_Draft4_Properties_Triad_Required 1373.875990162234 ns/iter 1362.7154905108157 ns/iter 1.01
Evaluator_Draft4_Properties_Closed 161.98739021790266 ns/iter 163.01863706370926 ns/iter 0.99
Evaluator_Draft4_Non_Recursive_Ref 35.87719580554186 ns/iter 35.56610100912072 ns/iter 1.01
Evaluator_Draft4_Pattern_Properties_True 2055.3912961506826 ns/iter 2041.2568078755796 ns/iter 1.01
Evaluator_Draft4_Ref_To_Single_Property 28.492185006896936 ns/iter 29.682556463721326 ns/iter 0.96
Evaluator_Draft4_Additional_Properties_Type 60.0195232477984 ns/iter 59.72099913767344 ns/iter 1.00
Evaluator_Draft4_Nested_Oneof 181.40480242085948 ns/iter 184.56963477874837 ns/iter 0.98
Evaluator_Draft4_Long_Enum 27.25991913561163 ns/iter 27.237908493631267 ns/iter 1.00
Evaluator_Draft4_Type_Object 16.425890997078216 ns/iter 16.43136483621932 ns/iter 1.00
Evaluator_Draft6_Property_Names 591.7276848276766 ns/iter 599.740013947606 ns/iter 0.99
Evaluator_Draft7_If_Then_Else 83.71982331546322 ns/iter 81.8319949155883 ns/iter 1.02
Evaluator_Draft7_Vercel_1 140612.98422208359 ns/iter 139529.46307661943 ns/iter 1.01
Evaluator_2019_09_Unevaluated_Properties 217.53831434366214 ns/iter 218.0124796338991 ns/iter 1.00
Evaluator_2019_09_OMC_JSON_V2_1 10156.913206205454 ns/iter 10287.516622052932 ns/iter 0.99
Evaluator_2020_12_Dynamic_Ref 960.5033408917715 ns/iter 971.1169199861591 ns/iter 0.99

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (macos/gcc)

Benchmark suite Current: 1901212 Previous: 8f5a209 Ratio
Compiler_Draft6_AdaptiveCard 46048396110.53467 ns/iter 42013858079.91028 ns/iter 1.10
Compiler_2019_09_OMC_JSON_V2 10171654939.65149 ns/iter 7907115936.279297 ns/iter 1.29
Evaluator_Draft4_Meta_1_No_Callback 337.32949534115545 ns/iter 288.0376366259923 ns/iter 1.17
Evaluator_Draft4_Required_Properties 535.3535804659318 ns/iter 494.48913741119134 ns/iter 1.08
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match 35.31941262971237 ns/iter 27.132642728096034 ns/iter 1.30
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match 17.58415783166342 ns/iter 15.5844768721743 ns/iter 1.13
Evaluator_Draft4_Items_Schema 936.9440191311131 ns/iter 847.6248322037509 ns/iter 1.11
Evaluator_Draft4_Nested_Object 2.21861467135531 ns/iter 1.9493393086929647 ns/iter 1.14
Evaluator_Draft4_Properties_Triad_Optional 1283.5506745933978 ns/iter 1052.6916205564548 ns/iter 1.22
Evaluator_Draft4_Properties_Triad_Closed 965.6077447089498 ns/iter 841.6028154024199 ns/iter 1.15
Evaluator_Draft4_Properties_Triad_Required 1169.4604720040745 ns/iter 1110.5852077464713 ns/iter 1.05
Evaluator_Draft4_Properties_Closed 120.45491812077312 ns/iter 111.10166237354834 ns/iter 1.08
Evaluator_Draft4_Non_Recursive_Ref 22.55764705971149 ns/iter 23.30179939500205 ns/iter 0.97
Evaluator_Draft4_Pattern_Properties_True 1817.787552272 ns/iter 1595.2625013424756 ns/iter 1.14
Evaluator_Draft4_Ref_To_Single_Property 15.887810939900186 ns/iter 14.965381846136136 ns/iter 1.06
Evaluator_Draft4_Additional_Properties_Type 37.35504282616536 ns/iter 34.48474797162981 ns/iter 1.08
Evaluator_Draft4_Nested_Oneof 115.899987741381 ns/iter 99.0015430841485 ns/iter 1.17
Evaluator_Draft4_Long_Enum 14.586314634858 ns/iter 12.490843134349966 ns/iter 1.17
Evaluator_Draft4_Type_Object 9.927388993260154 ns/iter 8.19736841913941 ns/iter 1.21
Evaluator_Draft6_Property_Names 449.5199855469339 ns/iter 400.5852996942071 ns/iter 1.12
Evaluator_Draft7_If_Then_Else 43.655077031576404 ns/iter 42.74147773970708 ns/iter 1.02
Evaluator_Draft7_Vercel_1 97055.84895118623 ns/iter 97632.29200221137 ns/iter 0.99
Evaluator_2019_09_Unevaluated_Properties 171.06232674158628 ns/iter 165.7627129115346 ns/iter 1.03
Evaluator_2019_09_OMC_JSON_V2_1 6738.234261493139 ns/iter 6222.131879162783 ns/iter 1.08
Evaluator_2020_12_Dynamic_Ref 679.9547010485254 ns/iter 621.2897922026949 ns/iter 1.09

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (linux/gcc)

Benchmark suite Current: 1901212 Previous: 8f5a209 Ratio
Evaluator_2020_12_Dynamic_Ref 958.7565469680407 ns/iter 965.3781168376809 ns/iter 0.99
Evaluator_2019_09_Unevaluated_Properties 253.96743295290432 ns/iter 262.1518602574494 ns/iter 0.97
Evaluator_2019_09_OMC_JSON_V2_1 12355.275865098689 ns/iter 13099.731685252284 ns/iter 0.94
Evaluator_Draft7_If_Then_Else 70.93028350102533 ns/iter 71.22727512483424 ns/iter 1.00
Evaluator_Draft7_Vercel_1 147800.376752222 ns/iter 154846.82036189488 ns/iter 0.95
Evaluator_Draft6_Property_Names 1235.7068737612994 ns/iter 1337.9223260699764 ns/iter 0.92
Evaluator_Draft4_Meta_1_No_Callback 512.0056105172091 ns/iter 531.1496089277114 ns/iter 0.96
Evaluator_Draft4_Required_Properties 1777.752212276444 ns/iter 1852.0952500981143 ns/iter 0.96
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match 48.743284529798466 ns/iter 49.267585325949746 ns/iter 0.99
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match 36.89886561487131 ns/iter 38.069244294290655 ns/iter 0.97
Evaluator_Draft4_Items_Schema 1250.39513184441 ns/iter 1203.1057628087135 ns/iter 1.04
Evaluator_Draft4_Nested_Object 3.52344103500216 ns/iter 3.4880077564649965 ns/iter 1.01
Evaluator_Draft4_Properties_Triad_Optional 1361.8840241529317 ns/iter 1365.7450102233202 ns/iter 1.00
Evaluator_Draft4_Properties_Triad_Closed 1103.7997646101164 ns/iter 1087.179139780953 ns/iter 1.02
Evaluator_Draft4_Properties_Triad_Required 1469.007744507058 ns/iter 1425.706931303554 ns/iter 1.03
Evaluator_Draft4_Properties_Closed 207.62423865858312 ns/iter 214.07851435725755 ns/iter 0.97
Evaluator_Draft4_Non_Recursive_Ref 59.520396345975946 ns/iter 54.51821493596012 ns/iter 1.09
Evaluator_Draft4_Pattern_Properties_True 2226.5422508742363 ns/iter 2216.3728082663115 ns/iter 1.00
Evaluator_Draft4_Ref_To_Single_Property 40.48610978411746 ns/iter 41.68571262269338 ns/iter 0.97
Evaluator_Draft4_Additional_Properties_Type 121.27692026262928 ns/iter 108.79365579503165 ns/iter 1.11
Evaluator_Draft4_Nested_Oneof 166.13681655144987 ns/iter 154.44394610551868 ns/iter 1.08
Evaluator_Draft4_Long_Enum 23.020366037349334 ns/iter 23.895251448221952 ns/iter 0.96
Evaluator_Draft4_Type_Object 13.452938308507369 ns/iter 13.421388078635806 ns/iter 1.00
Compiler_2019_09_OMC_JSON_V2 11432166193.000057 ns/iter 11241971961.999979 ns/iter 1.02
Compiler_Draft6_AdaptiveCard 66100061155.000046 ns/iter 64529825952.00001 ns/iter 1.02

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark (windows/msvc)

Benchmark suite Current: 1901212 Previous: 8f5a209 Ratio
Compiler_Draft6_AdaptiveCard 119107258499.99994 ns/iter 118049018100.00002 ns/iter 1.01
Compiler_2019_09_OMC_JSON_V2 25203933000.000008 ns/iter 25094241899.999817 ns/iter 1.00
Evaluator_Draft4_Meta_1_No_Callback 805.1684351926037 ns/iter 812.0761999659316 ns/iter 0.99
Evaluator_Draft4_Required_Properties 1190.4489062501966 ns/iter 1189.032187500061 ns/iter 1.00
Evaluator_Draft4_Many_Optional_Properties_Minimal_Match 81.53770089288162 ns/iter 81.65447544643861 ns/iter 1.00
Evaluator_Draft4_Few_Optional_Properties_Minimal_Match 37.87666852678332 ns/iter 37.92866629463987 ns/iter 1.00
Evaluator_Draft4_Items_Schema 2622.199074863852 ns/iter 2608.6400358211217 ns/iter 1.01
Evaluator_Draft4_Nested_Object 2.183954439526777 ns/iter 2.1769387500000903 ns/iter 1.00
Evaluator_Draft4_Properties_Triad_Optional 4739.544507912332 ns/iter 4749.8399999994945 ns/iter 1.00
Evaluator_Draft4_Properties_Triad_Closed 3819.6863934167204 ns/iter 3804.6548131165882 ns/iter 1.00
Evaluator_Draft4_Properties_Triad_Required 4755.231596498194 ns/iter 4723.0129977972965 ns/iter 1.01
Evaluator_Draft4_Properties_Closed 283.65877305093204 ns/iter 283.78075518827313 ns/iter 1.00
Evaluator_Draft4_Non_Recursive_Ref 94.10988865582564 ns/iter 94.52862970854159 ns/iter 1.00
Evaluator_Draft4_Pattern_Properties_True 9588.601390173637 ns/iter 7700.130580357012 ns/iter 1.25
Evaluator_Draft4_Ref_To_Single_Property 38.93545149934892 ns/iter 38.2178028889668 ns/iter 1.02
Evaluator_Draft4_Additional_Properties_Type 178.51032843839883 ns/iter 180.41260806338056 ns/iter 0.99
Evaluator_Draft4_Nested_Oneof 308.8590624999808 ns/iter 309.1512132643863 ns/iter 1.00
Evaluator_Draft4_Long_Enum 54.850276785702235 ns/iter 54.93607142856912 ns/iter 1.00
Evaluator_Draft4_Type_Object 23.527416032064888 ns/iter 23.5443044247244 ns/iter 1.00
Evaluator_Draft6_Property_Names 1115.9395312500208 ns/iter 1110.0589062497334 ns/iter 1.01
Evaluator_Draft7_If_Then_Else 121.8351718749844 ns/iter 121.14823214285967 ns/iter 1.01
Evaluator_Draft7_Vercel_1 238077.870773322 ns/iter 236984.80080351004 ns/iter 1.00
Evaluator_2019_09_Unevaluated_Properties 444.55227378064865 ns/iter 441.77931250004576 ns/iter 1.01
Evaluator_2019_09_OMC_JSON_V2_1 15931.274553569858 ns/iter 15832.279017854285 ns/iter 1.01
Evaluator_2020_12_Dynamic_Ref 1546.1895089283116 ns/iter 1571.6372767857122 ns/iter 0.98

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.