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

Extend .frame() to collect inbound references #1391

Merged
merged 1 commit into from
Dec 23, 2024
Merged

Conversation

jviotti
Copy link
Member

@jviotti jviotti commented Dec 23, 2024

Signed-off-by: Juan Cruz Viotti jv@jviotti.com

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: 5fdd935 Previous: 2fc390f Ratio
JSON_Array_Of_Objects_Unique 444.5040869352226 ns/iter 447.4471944632829 ns/iter 0.99
JSON_Parse_1 30281.03568327829 ns/iter 30800.00004393634 ns/iter 0.98
JSON_Fast_Hash_Helm_Chart_Lock 54.71276865888919 ns/iter 54.699423703174794 ns/iter 1.00
JSON_Equality_Helm_Chart_Lock 149.24967407865375 ns/iter 149.06390943738538 ns/iter 1.00
Regex_Lower_S_Or_Upper_S_Asterisk 2.4862503377600826 ns/iter 2.2213123428205668 ns/iter 1.12
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.1865950924135875 ns/iter 2.2063366592706912 ns/iter 0.99
Regex_Period_Asterisk 2.4857206217715966 ns/iter 2.220672901531737 ns/iter 1.12
Regex_Group_Period_Asterisk_Group 2.181784128202185 ns/iter 2.205186754342063 ns/iter 0.99
Regex_Period_Plus 2.7958311818196915 ns/iter 2.486585529624862 ns/iter 1.12
Regex_Period 2.4922036198130924 ns/iter 2.3141820090370637 ns/iter 1.08
Regex_Caret_Period_Plus_Dollar 2.4914451150550723 ns/iter 2.2360514894504058 ns/iter 1.11
Regex_Caret_Group_Period_Plus_Group_Dollar 2.487659528670821 ns/iter 2.2100988753136117 ns/iter 1.13
Regex_Caret_Period_Asterisk_Dollar 3.4165788577629197 ns/iter 2.485407012555248 ns/iter 1.37
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.417930584418716 ns/iter 2.4876530828522165 ns/iter 1.37
Regex_Caret_X_Hyphen 12.480731786535722 ns/iter 13.046796887231679 ns/iter 0.96
Regex_Period_Md_Dollar 73.37471481235272 ns/iter 76.78268110618149 ns/iter 0.96
Regex_Caret_Slash_Period_Asterisk 6.213721277116347 ns/iter 7.146393043837154 ns/iter 0.87
Regex_Caret_Period_Range_Dollar 3.7271216279019286 ns/iter 3.728466720297558 ns/iter 1.00
Regex_Nested_Backtrack 493.0275387616415 ns/iter 497.77693630690817 ns/iter 0.99
Pointer_Object_Traverse 44.8305821804725 ns/iter 44.83492747412739 ns/iter 1.00
Pointer_Object_Try_Traverse 52.27636328973498 ns/iter 53.56384616596018 ns/iter 0.98
Pointer_Push_Back_Pointer_To_Weak_Pointer 355.7814835475226 ns/iter 352.24242947121115 ns/iter 1.01

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: 5fdd935 Previous: 2fc390f Ratio
JSON_Array_Of_Objects_Unique 423.80056398667796 ns/iter 417.08368227297973 ns/iter 1.02
JSON_Parse_1 79791.18789339846 ns/iter 80628.08035713687 ns/iter 0.99
JSON_Fast_Hash_Helm_Chart_Lock 58.149196428567095 ns/iter 57.3432099999991 ns/iter 1.01
JSON_Equality_Helm_Chart_Lock 214.4142136421966 ns/iter 218.13796874994296 ns/iter 0.98
Regex_Lower_S_Or_Upper_S_Asterisk 8.059691481875678 ns/iter 8.317311123582757 ns/iter 0.97
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 7.785924072384879 ns/iter 7.933944607438287 ns/iter 0.98
Regex_Period_Asterisk 7.820833705358053 ns/iter 8.007323660714455 ns/iter 0.98
Regex_Group_Period_Asterisk_Group 8.126198660714273 ns/iter 8.206589695507445 ns/iter 0.99
Regex_Period_Plus 7.878977678572597 ns/iter 7.942728794643829 ns/iter 0.99
Regex_Period 7.797264508927324 ns/iter 7.781946393830592 ns/iter 1.00
Regex_Caret_Period_Plus_Dollar 7.8334807686002925 ns/iter 7.76625781249913 ns/iter 1.01
Regex_Caret_Group_Period_Plus_Group_Dollar 8.102624963827946 ns/iter 8.12685666014974 ns/iter 1.00
Regex_Caret_Period_Asterisk_Dollar 7.8403303571406004 ns/iter 7.777515624999763 ns/iter 1.01
Regex_Caret_Group_Period_Asterisk_Group_Dollar 8.081517857141712 ns/iter 7.967405133929414 ns/iter 1.01
Regex_Caret_X_Hyphen 11.501320312500951 ns/iter 11.531382142858808 ns/iter 1.00
Regex_Period_Md_Dollar 142.77639541179022 ns/iter 142.11999811963685 ns/iter 1.00
Regex_Caret_Slash_Period_Asterisk 11.778298437498334 ns/iter 11.741166911867397 ns/iter 1.00
Regex_Caret_Period_Range_Dollar 8.764599068015738 ns/iter 8.735082550289825 ns/iter 1.00
Regex_Nested_Backtrack 595.5136999998559 ns/iter 589.150267857162 ns/iter 1.01
Pointer_Object_Traverse 55.898660000002565 ns/iter 56.03505357143491 ns/iter 1.00
Pointer_Object_Try_Traverse 75.93887276785085 ns/iter 75.87691964283343 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 187.35990065714364 ns/iter 227.0190312500375 ns/iter 0.83

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 (macos/llvm)

Benchmark suite Current: 5fdd935 Previous: 2fc390f Ratio
JSON_Array_Of_Objects_Unique 328.93603686114955 ns/iter 328.93220041046897 ns/iter 1.00
JSON_Parse_1 21288.395652172316 ns/iter 21400.39077440296 ns/iter 0.99
JSON_Fast_Hash_Helm_Chart_Lock 47.692836585277334 ns/iter 47.640322914211566 ns/iter 1.00
JSON_Equality_Helm_Chart_Lock 138.9968801387302 ns/iter 138.9246963420814 ns/iter 1.00
Regex_Lower_S_Or_Upper_S_Asterisk 1.5668726234428891 ns/iter 1.568645836634025 ns/iter 1.00
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 1.5773558575155042 ns/iter 1.5791489054178762 ns/iter 1.00
Regex_Period_Asterisk 1.566609939074471 ns/iter 1.5853964150165514 ns/iter 0.99
Regex_Group_Period_Asterisk_Group 1.5672387153158558 ns/iter 1.6006935782558085 ns/iter 0.98
Regex_Period_Plus 1.8859981720102612 ns/iter 1.9158874523923854 ns/iter 0.98
Regex_Period 1.8816444249806825 ns/iter 1.9056875229628896 ns/iter 0.99
Regex_Caret_Period_Plus_Dollar 1.9050066408639366 ns/iter 1.9023706179399709 ns/iter 1.00
Regex_Caret_Group_Period_Plus_Group_Dollar 1.8935614246513415 ns/iter 1.8795541051244944 ns/iter 1.01
Regex_Caret_Period_Asterisk_Dollar 1.7797933029200292 ns/iter 1.5771386552221547 ns/iter 1.13
Regex_Caret_Group_Period_Asterisk_Group_Dollar 1.5799570137844796 ns/iter 1.5728044958061815 ns/iter 1.00
Regex_Caret_X_Hyphen 6.358624600506156 ns/iter 6.27082575027052 ns/iter 1.01
Regex_Period_Md_Dollar 73.84971605687363 ns/iter 67.30066671442242 ns/iter 1.10
Regex_Caret_Slash_Period_Asterisk 6.375832048791234 ns/iter 5.2176172884244485 ns/iter 1.22
Regex_Caret_Period_Range_Dollar 2.0437447121849837 ns/iter 2.0803892637022083 ns/iter 0.98
Regex_Nested_Backtrack 724.1247694656203 ns/iter 727.2248184463684 ns/iter 1.00
Pointer_Object_Traverse 14.721552246406912 ns/iter 14.746705618531248 ns/iter 1.00
Pointer_Object_Try_Traverse 31.25485991832555 ns/iter 31.503510558688347 ns/iter 0.99
Pointer_Push_Back_Pointer_To_Weak_Pointer 170.56527793191566 ns/iter 172.68282486491103 ns/iter 0.99

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

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
@jviotti jviotti force-pushed the frame-destination-of branch from 6d927c8 to 5fdd935 Compare December 23, 2024 19:17
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: 5fdd935 Previous: 2fc390f Ratio
Pointer_Object_Traverse 44.91829936356072 ns/iter 44.40166123354683 ns/iter 1.01
Pointer_Object_Try_Traverse 22.41276890332967 ns/iter 22.41807450809565 ns/iter 1.00
Pointer_Push_Back_Pointer_To_Weak_Pointer 213.1676503780896 ns/iter 214.299855482918 ns/iter 0.99
Regex_Lower_S_Or_Upper_S_Asterisk 2.5845888053079205 ns/iter 2.4870850647766427 ns/iter 1.04
Regex_Caret_Lower_S_Or_Upper_S_Asterisk_Dollar 2.4855940223933297 ns/iter 2.4884939124924514 ns/iter 1.00
Regex_Period_Asterisk 2.4885404035745196 ns/iter 2.494691433485456 ns/iter 1.00
Regex_Group_Period_Asterisk_Group 2.4858658864863674 ns/iter 2.488027097575165 ns/iter 1.00
Regex_Period_Plus 2.796499772912337 ns/iter 2.850311715606535 ns/iter 0.98
Regex_Period 2.797364240756389 ns/iter 2.7972892616521925 ns/iter 1.00
Regex_Caret_Period_Plus_Dollar 2.8051592687653537 ns/iter 2.7988512610512934 ns/iter 1.00
Regex_Caret_Group_Period_Plus_Group_Dollar 2.7967399258625636 ns/iter 2.7983383579476953 ns/iter 1.00
Regex_Caret_Period_Asterisk_Dollar 3.728210711421929 ns/iter 3.254917738506315 ns/iter 1.15
Regex_Caret_Group_Period_Asterisk_Group_Dollar 3.728120878427263 ns/iter 3.7311721750890685 ns/iter 1.00
Regex_Caret_X_Hyphen 12.427424927575572 ns/iter 13.053928070605494 ns/iter 0.95
Regex_Period_Md_Dollar 87.7686060025379 ns/iter 88.67990109324211 ns/iter 0.99
Regex_Caret_Slash_Period_Asterisk 6.212372559814564 ns/iter 7.149946272839907 ns/iter 0.87
Regex_Caret_Period_Range_Dollar 4.040407160199662 ns/iter 4.039080649928468 ns/iter 1.00
Regex_Nested_Backtrack 826.7874825915716 ns/iter 821.7592305731716 ns/iter 1.01
JSON_Array_Of_Objects_Unique 378.4679682418868 ns/iter 380.1247002475692 ns/iter 1.00
JSON_Parse_1 32637.850265370977 ns/iter 32805.795108464496 ns/iter 0.99
JSON_Fast_Hash_Helm_Chart_Lock 62.82985326016795 ns/iter 63.18871929910595 ns/iter 0.99
JSON_Equality_Helm_Chart_Lock 151.1140466000226 ns/iter 142.99184949299737 ns/iter 1.06

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

@jviotti jviotti merged commit 75190ce into main Dec 23, 2024
13 checks passed
@jviotti jviotti deleted the frame-destination-of branch December 23, 2024 19:31
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