Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a new SchemaCompilerAssertionTypeObjectBounded #1223

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

jviotti
Copy link
Member

@jviotti jviotti commented Sep 24, 2024

Signed-off-by: Juan Cruz Viotti [email protected]

Copy link

@github-actions github-actions bot left a comment

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: 8b0f281 Previous: 0fd8c92 Ratio
JSONSchema_Validate_Draft4_Meta_1_No_Callback 708.4120916536882 ns/iter 749.1266296028281 ns/iter 0.95
JSONSchema_Validate_Draft4_Required_Properties 848.44808662593 ns/iter 889.389810961436 ns/iter 0.95
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match 145.88081609590608 ns/iter 173.82713846933268 ns/iter 0.84
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match 105.73442309033545 ns/iter 138.23017371407224 ns/iter 0.76
JSONSchema_Validate_Draft4_Items_Schema 2550.0690270355 ns/iter 2775.9666126908173 ns/iter 0.92
JSONSchema_Validate_Draft4_Nested_Object 1282.463245771694 ns/iter 1367.8669267574398 ns/iter 0.94
JSONSchema_Validate_Draft4_Properties_Triad_Optional 1348.5121584477733 ns/iter 1472.7402831233082 ns/iter 0.92
JSONSchema_Validate_Draft4_Properties_Triad_Closed 1020.6236876981623 ns/iter 1106.1128378610363 ns/iter 0.92
JSONSchema_Validate_Draft4_Properties_Triad_Required 1467.4576665743352 ns/iter 1480.905916569726 ns/iter 0.99
JSONSchema_Validate_Draft4_Non_Recursive_Ref 187.38332285058402 ns/iter 213.94666687146486 ns/iter 0.88
JSONSchema_Validate_Draft4_Pattern_Properties_True 1374.3540319392926 ns/iter 1536.9412278417103 ns/iter 0.89
JSONSchema_Validate_Draft4_Ref_To_Single_Property 108.59269617437583 ns/iter 123.51861311199376 ns/iter 0.88
JSONSchema_Validate_Draft4_Additional_Properties_Type 330.0036964191882 ns/iter 357.4999667449632 ns/iter 0.92

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

Copy link

@github-actions github-actions bot left a comment

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: 8b0f281 Previous: 0fd8c92 Ratio
JSONSchema_Validate_Draft4_Meta_1_No_Callback 18172.42488269022 ns/iter 18509.77049094612 ns/iter 0.98
JSONSchema_Validate_Draft4_Required_Properties 6508.40889953431 ns/iter 7284.257429865209 ns/iter 0.89
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match 1942.7886808866363 ns/iter 1916.330547294335 ns/iter 1.01
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match 985.6649458672126 ns/iter 971.0989601012524 ns/iter 1.01
JSONSchema_Validate_Draft4_Items_Schema 127606.60756717343 ns/iter 125481.25530767707 ns/iter 1.02
JSONSchema_Validate_Draft4_Nested_Object 59052.448162783345 ns/iter 56938.0150443197 ns/iter 1.04
JSONSchema_Validate_Draft4_Properties_Triad_Optional 9063.515162919162 ns/iter 9199.40942554872 ns/iter 0.99
JSONSchema_Validate_Draft4_Properties_Triad_Closed 8492.951930702262 ns/iter 8607.751496783581 ns/iter 0.99
JSONSchema_Validate_Draft4_Properties_Triad_Required 9288.485495296747 ns/iter 9726.168509209003 ns/iter 0.95
JSONSchema_Validate_Draft4_Non_Recursive_Ref 2264.6924856502274 ns/iter 2207.0602924068735 ns/iter 1.03
JSONSchema_Validate_Draft4_Pattern_Properties_True 6256.595153580058 ns/iter 6521.448017019788 ns/iter 0.96
JSONSchema_Validate_Draft4_Ref_To_Single_Property 1000.9688023540251 ns/iter 976.759720210506 ns/iter 1.02
JSONSchema_Validate_Draft4_Additional_Properties_Type 2397.8582799636924 ns/iter 2340.1737916855827 ns/iter 1.02

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

Copy link

@github-actions github-actions bot left a comment

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: 8b0f281 Previous: 0fd8c92 Ratio
JSONSchema_Validate_Draft4_Meta_1_No_Callback 1087.5849191696523 ns/iter 1110.0602148625035 ns/iter 0.98
JSONSchema_Validate_Draft4_Required_Properties 2081.0880443093533 ns/iter 2218.2713650934725 ns/iter 0.94
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match 183.20587383106772 ns/iter 189.57407917143155 ns/iter 0.97
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match 149.70372988748971 ns/iter 156.1978044053039 ns/iter 0.96
JSONSchema_Validate_Draft4_Items_Schema 3735.2592314209514 ns/iter 3626.8852220171734 ns/iter 1.03
JSONSchema_Validate_Draft4_Nested_Object 1714.2510605952514 ns/iter 1717.632699720749 ns/iter 1.00
JSONSchema_Validate_Draft4_Properties_Triad_Optional 1699.044893461723 ns/iter 1695.148604182702 ns/iter 1.00
JSONSchema_Validate_Draft4_Properties_Triad_Closed 1384.104389648112 ns/iter 1397.2887774639264 ns/iter 0.99
JSONSchema_Validate_Draft4_Properties_Triad_Required 1780.6684067417675 ns/iter 1785.9994968972323 ns/iter 1.00
JSONSchema_Validate_Draft4_Non_Recursive_Ref 438.04436194760325 ns/iter 447.239959158991 ns/iter 0.98
JSONSchema_Validate_Draft4_Pattern_Properties_True 2240.4412140626473 ns/iter 2196.5052960358576 ns/iter 1.02
JSONSchema_Validate_Draft4_Ref_To_Single_Property 163.155834221475 ns/iter 170.14066219086402 ns/iter 0.96
JSONSchema_Validate_Draft4_Additional_Properties_Type 1024.3851479412642 ns/iter 1059.3226163180464 ns/iter 0.97

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

Copy link

@github-actions github-actions bot left a comment

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: 8b0f281 Previous: 0fd8c92 Ratio
JSONSchema_Validate_Draft4_Meta_1_No_Callback 3089.184397914935 ns/iter 3062.019196428472 ns/iter 1.01
JSONSchema_Validate_Draft4_Required_Properties 1768.250043582609 ns/iter 1657.356613377233 ns/iter 1.07
JSONSchema_Validate_Draft4_Many_Optional_Properties_Minimal_Match 631.9699107141982 ns/iter 610.9516071429002 ns/iter 1.03
JSONSchema_Validate_Draft4_Few_Optional_Properties_Minimal_Match 466.51879691460704 ns/iter 427.7566875001071 ns/iter 1.09
JSONSchema_Validate_Draft4_Items_Schema 12584.187500002437 ns/iter 12251.155357140371 ns/iter 1.03
JSONSchema_Validate_Draft4_Nested_Object 6869.577678571659 ns/iter 6835.630580356776 ns/iter 1.00
JSONSchema_Validate_Draft4_Properties_Triad_Optional 5853.227678573246 ns/iter 5827.261607141817 ns/iter 1.00
JSONSchema_Validate_Draft4_Properties_Triad_Closed 4841.724791718417 ns/iter 4843.494145976943 ns/iter 1.00
JSONSchema_Validate_Draft4_Properties_Triad_Required 5925.285714285776 ns/iter 5934.634000000187 ns/iter 1.00
JSONSchema_Validate_Draft4_Non_Recursive_Ref 697.6520535713705 ns/iter 686.4872767854889 ns/iter 1.02
JSONSchema_Validate_Draft4_Pattern_Properties_True 8281.994419644232 ns/iter 8107.915178572662 ns/iter 1.02
JSONSchema_Validate_Draft4_Ref_To_Single_Property 460.2019777236169 ns/iter 435.604187499905 ns/iter 1.06
JSONSchema_Validate_Draft4_Additional_Properties_Type 982.2133561549126 ns/iter 987.8629687499085 ns/iter 0.99

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

@jviotti jviotti marked this pull request as ready for review September 24, 2024 19:51
@jviotti jviotti force-pushed the type-object-bounded branch from 7ed75f2 to 8b0f281 Compare September 24, 2024 19:54
@jviotti jviotti merged commit b252e8b into main Sep 24, 2024
13 checks passed
@jviotti jviotti deleted the type-object-bounded branch September 24, 2024 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant