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

import TryInto on template_distribution_sv2 #1086

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

plebhash
Copy link
Collaborator

@plebhash plebhash commented Aug 9, 2024

this PR is a requirement to unblock #985 (comment)

it needs #932 to be merged first

Copy link
Contributor

github-actions bot commented Aug 9, 2024

🐰Bencher

ReportFri, August 9, 2024 at 16:42:50 UTC
ProjectStratum v2 (SRI)
Branchfix-template-distribution-sv2
Testbedsv1
Click to view all benchmark results
BenchmarkEstimated CyclesEstimated Cycles Results
estimated cycles | (Δ%)
Estimated Cycles Upper Boundary
estimated cycles | (%)
InstructionsInstructions Results
instructions | (Δ%)
Instructions Upper Boundary
instructions | (%)
L1 AccessesL1 Accesses Results
accesses | (Δ%)
L1 Accesses Upper Boundary
accesses | (%)
L2 AccessesL2 Accesses Results
accesses | (Δ%)
L2 Accesses Upper Boundary
accesses | (%)
RAM AccessesRAM Accesses Results
accesses | (Δ%)
RAM Accesses Upper Boundary
accesses | (%)
get_authorize✅ (view plot)8,504.00 (+0.72%)8,715.71 (97.57%)✅ (view plot)3,746.00 (+0.13%)3,848.58 (97.33%)✅ (view plot)5,249.00 (+0.07%)5,391.93 (97.35%)✅ (view plot)7.00 (-10.55%)10.21 (68.59%)✅ (view plot)92.00 (+1.95%)94.14 (97.73%)
get_submit✅ (view plot)95,471.00 (-0.07%)96,095.11 (99.35%)✅ (view plot)59,439.00 (-0.05%)59,755.28 (99.47%)✅ (view plot)85,361.00 (-0.05%)85,803.92 (99.48%)✅ (view plot)48.00 (-11.42%)62.79 (76.45%)✅ (view plot)282.00 (-0.01%)287.29 (98.16%)
get_subscribe✅ (view plot)7,957.00 (-0.20%)8,248.21 (96.47%)✅ (view plot)2,841.00 (+0.34%)2,934.26 (96.82%)✅ (view plot)3,972.00 (+0.40%)4,092.93 (97.05%)✅ (view plot)13.00 (-17.61%)19.83 (65.56%)✅ (view plot)112.00 (-0.45%)116.60 (96.05%)
serialize_authorize✅ (view plot)12,257.00 (+0.38%)12,489.86 (98.14%)✅ (view plot)5,317.00 (+0.09%)5,419.58 (98.11%)✅ (view plot)7,412.00 (+0.05%)7,555.27 (98.10%)✅ (view plot)10.00 (-6.53%)13.17 (75.94%)✅ (view plot)137.00 (+0.96%)140.13 (97.77%)
serialize_deserialize_authorize✅ (view plot)24,516.00 (+0.17%)24,697.48 (99.27%)✅ (view plot)9,898.00 (-0.02%)10,017.74 (98.80%)✅ (view plot)13,961.00 (-0.04%)14,138.47 (98.74%)✅ (view plot)32.00 (-11.07%)41.71 (76.72%)✅ (view plot)297.00 (+0.65%)298.08 (99.64%)
serialize_deserialize_handle_authorize✅ (view plot)30,289.00 (+0.43%)30,360.31 (99.77%)✅ (view plot)12,101.00 (+0.04%)12,203.58 (99.16%)✅ (view plot)17,119.00 (+0.01%)17,269.84 (99.13%)✅ (view plot)58.00 (-1.00%)64.20 (90.34%)✅ (view plot)368.00 (+1.02%)368.11 (99.97%)
serialize_deserialize_handle_submit✅ (view plot)126,344.00 (-0.05%)126,983.60 (99.50%)✅ (view plot)73,224.00 (-0.03%)73,593.24 (99.50%)✅ (view plot)104,954.00 (-0.03%)105,474.09 (99.51%)✅ (view plot)113.00 (-5.40%)130.92 (86.31%)✅ (view plot)595.00 (+0.02%)598.93 (99.34%)
serialize_deserialize_handle_subscribe✅ (view plot)27,457.00 (+0.02%)27,590.79 (99.52%)✅ (view plot)9,643.00 (+0.10%)9,736.26 (99.04%)✅ (view plot)13,642.00 (+0.12%)13,768.85 (99.08%)✅ (view plot)61.00 (-6.29%)73.70 (82.77%)✅ (view plot)386.00 (+0.06%)388.37 (99.39%)
serialize_deserialize_submit✅ (view plot)114,957.00 (-0.09%)115,606.83 (99.44%)✅ (view plot)68,001.00 (-0.07%)68,375.58 (99.45%)✅ (view plot)97,562.00 (-0.08%)98,110.98 (99.44%)✅ (view plot)63.00 (-8.15%)75.75 (83.16%)✅ (view plot)488.00 (-0.02%)492.06 (99.18%)
serialize_deserialize_subscribe✅ (view plot)22,854.00 (-0.07%)23,092.49 (98.97%)✅ (view plot)8,195.00 (+0.10%)8,291.53 (98.84%)✅ (view plot)11,544.00 (+0.11%)11,675.06 (98.88%)✅ (view plot)36.00 (-7.62%)43.94 (81.93%)✅ (view plot)318.00 (-0.12%)321.26 (98.99%)
serialize_submit✅ (view plot)99,792.00 (-0.09%)100,423.66 (99.37%)✅ (view plot)61,483.00 (-0.04%)61,804.30 (99.48%)✅ (view plot)88,207.00 (-0.04%)88,656.93 (99.49%)✅ (view plot)49.00 (-10.68%)62.58 (78.30%)✅ (view plot)324.00 (-0.17%)328.83 (98.53%)
serialize_subscribe✅ (view plot)11,294.00 (-0.24%)11,584.42 (97.49%)✅ (view plot)4,188.00 (+0.23%)4,281.26 (97.82%)✅ (view plot)5,829.00 (+0.25%)5,951.85 (97.94%)✅ (view plot)15.00 (-7.35%)18.80 (79.77%)✅ (view plot)154.00 (-0.66%)159.41 (96.60%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

Copy link
Contributor

github-actions bot commented Aug 9, 2024

🐰Bencher

ReportFri, August 9, 2024 at 16:42:54 UTC
ProjectStratum v2 (SRI)
Branchfix-template-distribution-sv2
Testbedsv2

🚨 4 ALERTS: Threshold Boundary Limits exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
client_sv2_mining_message_submit_standard_serialize_deserializeInstructions (instructions)🚨 (view plot | view alert)10,591.00 (+0.40%)10,590.32 (100.01%)
client_sv2_mining_message_submit_standard_serialize_deserializeL1 Accesses (accesses)🚨 (view plot | view alert)15,408.00 (+0.38%)15,406.69 (100.01%)
client_sv2_open_channel_serialize_deserializeL1 Accesses (accesses)🚨 (view plot | view alert)11,682.00 (+0.50%)11,681.10 (100.01%)
client_sv2_setup_connection_serialize_deserializeL1 Accesses (accesses)🚨 (view plot | view alert)21,824.00 (+0.29%)21,821.40 (100.01%)

Click to view all benchmark results
BenchmarkEstimated CyclesEstimated Cycles Results
estimated cycles | (Δ%)
Estimated Cycles Upper Boundary
estimated cycles | (%)
InstructionsInstructions Results
instructions | (Δ%)
Instructions Upper Boundary
instructions | (%)
L1 AccessesL1 Accesses Results
accesses | (Δ%)
L1 Accesses Upper Boundary
accesses | (%)
L2 AccessesL2 Accesses Results
accesses | (Δ%)
L2 Accesses Upper Boundary
accesses | (%)
RAM AccessesRAM Accesses Results
accesses | (Δ%)
RAM Accesses Upper Boundary
accesses | (%)
client_sv2_handle_message_common✅ (view plot)2,103.00 (+2.27%)2,137.36 (98.39%)✅ (view plot)473.00 (+0.42%)485.69 (97.39%)✅ (view plot)733.00 (+0.11%)753.69 (97.26%)✅ (view plot)8.00 (+11.21%)10.96 (72.99%)✅ (view plot)38.00 (+3.24%)38.80 (97.95%)
client_sv2_handle_message_mining✅ (view plot)8,223.00 (+0.27%)8,332.33 (98.69%)✅ (view plot)2,143.00 (+0.64%)2,171.99 (98.67%)✅ (view plot)3,173.00 (+0.78%)3,217.97 (98.60%)✅ (view plot)30.00 (-19.76%)44.88 (66.84%)✅ (view plot)140.00 (+0.71%)142.04 (98.56%)
client_sv2_mining_message_submit_standard✅ (view plot)6,320.00 (+0.62%)6,390.77 (98.89%)✅ (view plot)1,756.00 (+0.32%)1,764.04 (99.54%)✅ (view plot)2,560.00 (+0.21%)2,575.68 (99.39%)✅ (view plot)17.00 (-2.95%)22.29 (76.25%)✅ (view plot)105.00 (+0.99%)106.93 (98.19%)
client_sv2_mining_message_submit_standard_serialize✅ (view plot)14,823.00 (+0.28%)15,024.59 (98.66%)✅ (view plot)4,700.00 (+0.12%)4,708.04 (99.83%)✅ (view plot)6,763.00 (+0.11%)6,775.93 (99.81%)✅ (view plot)44.00 (-6.19%)51.86 (84.85%)✅ (view plot)224.00 (+0.62%)229.73 (97.51%)
client_sv2_mining_message_submit_standard_serialize_deserialize✅ (view plot)27,613.00 (+0.43%)27,850.23 (99.15%)🚨 (view plot | view alert)10,591.00 (+0.40%)10,590.32 (100.01%)🚨 (view plot | view alert)15,408.00 (+0.38%)15,406.69 (100.01%)✅ (view plot)82.00 (-1.76%)88.85 (92.29%)✅ (view plot)337.00 (+0.56%)344.99 (97.69%)
client_sv2_open_channel✅ (view plot)4,341.00 (-2.87%)4,630.65 (93.74%)✅ (view plot)1,461.00 (+0.05%)1,473.58 (99.15%)✅ (view plot)2,161.00 (+0.33%)2,173.78 (99.41%)✅ (view plot)9.00 (-22.07%)15.29 (58.85%)✅ (view plot)61.00 (-5.43%)68.79 (88.67%)
client_sv2_open_channel_serialize✅ (view plot)14,046.00 (-1.02%)14,455.62 (97.17%)✅ (view plot)5,064.00 (+0.01%)5,076.58 (99.75%)✅ (view plot)7,326.00 (+0.09%)7,340.49 (99.80%)✅ (view plot)35.00 (-4.74%)41.94 (83.46%)✅ (view plot)187.00 (-2.14%)198.66 (94.13%)
client_sv2_open_channel_serialize_deserialize✅ (view plot)22,577.00 (-0.24%)22,991.41 (98.20%)✅ (view plot)8,027.00 (+0.46%)8,027.92 (99.99%)🚨 (view plot | view alert)11,682.00 (+0.50%)11,681.10 (100.01%)✅ (view plot)72.00 (-1.52%)81.12 (88.76%)✅ (view plot)301.00 (-0.99%)314.13 (95.82%)
client_sv2_setup_connection✅ (view plot)4,685.00 (-0.22%)4,760.04 (98.42%)✅ (view plot)1,502.00 (+0.05%)1,514.58 (99.17%)✅ (view plot)2,275.00 (-0.07%)2,297.94 (99.00%)✅ (view plot)13.00 (+34.78%)14.72 (88.33%)✅ (view plot)67.00 (-1.07%)69.58 (96.29%)
client_sv2_setup_connection_serialize✅ (view plot)16,096.00 (-0.88%)16,488.65 (97.62%)✅ (view plot)5,963.00 (+0.01%)5,975.58 (99.79%)✅ (view plot)8,661.00 (+0.06%)8,677.61 (99.81%)✅ (view plot)45.00 (+0.94%)48.63 (92.53%)✅ (view plot)206.00 (-2.04%)217.49 (94.72%)
client_sv2_setup_connection_serialize_deserialize✅ (view plot)35,514.00 (-0.05%)35,730.16 (99.40%)✅ (view plot)14,855.00 (+0.25%)14,855.78 (99.99%)🚨 (view plot | view alert)21,824.00 (+0.29%)21,821.40 (100.01%)✅ (view plot)92.00 (-6.71%)111.82 (82.28%)✅ (view plot)378.00 (-0.35%)384.19 (98.39%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

Copy link
Contributor

github-actions bot commented Aug 9, 2024

🐰Bencher

ReportFri, August 9, 2024 at 16:42:48 UTC
ProjectStratum v2 (SRI)
Branch1086/merge
Testbedsv1

🚨 2 ALERTS: Threshold Boundary Limits exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
client-sv1-authorize-serialize/client-sv1-authorize-serializeLatency (nanoseconds (ns))🚨 (view plot | view alert)256.60 (+3.59%)255.28 (100.52%)
client-sv1-get-authorize/client-sv1-get-authorizeLatency (nanoseconds (ns))🚨 (view plot | view alert)163.77 (+4.17%)162.49 (100.79%)

Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
client-submit-serialize✅ (view plot)6,533.30 (-4.72%)7,359.67 (88.77%)
client-submit-serialize-deserialize✅ (view plot)7,364.00 (-5.32%)8,318.27 (88.53%)
client-submit-serialize-deserialize-handle/client-submit-serialize-deserialize-handle✅ (view plot)8,049.00 (-3.52%)8,851.83 (90.93%)
client-sv1-authorize-serialize-deserialize-handle/client-sv1-authorize-serialize-deserialize-handle✅ (view plot)904.76 (+0.50%)928.22 (97.47%)
client-sv1-authorize-serialize-deserialize/client-sv1-authorize-serialize-deserialize✅ (view plot)697.87 (-0.12%)721.58 (96.71%)
client-sv1-authorize-serialize/client-sv1-authorize-serialize🚨 (view plot | view alert)256.60 (+3.59%)255.28 (100.52%)
client-sv1-get-authorize/client-sv1-get-authorize🚨 (view plot | view alert)163.77 (+4.17%)162.49 (100.79%)
client-sv1-get-submit✅ (view plot)6,197.00 (-6.42%)7,140.43 (86.79%)
client-sv1-get-subscribe/client-sv1-get-subscribe✅ (view plot)280.54 (+0.77%)290.56 (96.55%)
client-sv1-subscribe-serialize-deserialize-handle/client-sv1-subscribe-serialize-deserialize-handle✅ (view plot)750.05 (-0.23%)788.55 (95.12%)
client-sv1-subscribe-serialize-deserialize/client-sv1-subscribe-serialize-deserialize✅ (view plot)612.42 (-0.73%)642.21 (95.36%)
client-sv1-subscribe-serialize/client-sv1-subscribe-serialize✅ (view plot)207.61 (+0.37%)219.02 (94.79%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

Copy link
Contributor

github-actions bot commented Aug 9, 2024

🐰Bencher

ReportFri, August 9, 2024 at 16:42:45 UTC
ProjectStratum v2 (SRI)
Branchfix-template-distribution-sv2
Testbedsv2

🚨 1 ALERT: Threshold Boundary Limit exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
client_sv2_setup_connectionLatency (nanoseconds (ns))🚨 (view plot | view alert)180.27 (+9.97%)175.32 (102.82%)

Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
client_sv2_handle_message_common✅ (view plot)44.08 (-1.00%)45.26 (97.41%)
client_sv2_handle_message_mining✅ (view plot)80.34 (+9.47%)81.60 (98.46%)
client_sv2_mining_message_submit_standard✅ (view plot)14.63 (-0.16%)14.70 (99.51%)
client_sv2_mining_message_submit_standard_serialize✅ (view plot)274.23 (+3.29%)286.93 (95.57%)
client_sv2_mining_message_submit_standard_serialize_deserialize✅ (view plot)595.73 (+0.24%)625.82 (95.19%)
client_sv2_open_channel✅ (view plot)167.04 (+0.66%)173.10 (96.50%)
client_sv2_open_channel_serialize✅ (view plot)270.32 (-3.98%)294.35 (91.84%)
client_sv2_open_channel_serialize_deserialize✅ (view plot)378.02 (-0.08%)421.37 (89.71%)
client_sv2_setup_connection🚨 (view plot | view alert)180.27 (+9.97%)175.32 (102.82%)
client_sv2_setup_connection_serialize✅ (view plot)460.22 (-2.35%)505.53 (91.04%)
client_sv2_setup_connection_serialize_deserialize✅ (view plot)958.29 (-1.50%)1,043.52 (91.83%)

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help

@plebhash plebhash force-pushed the fix-template-distribution-sv2 branch 3 times, most recently from 2f53fc3 to 0cea550 Compare August 9, 2024 14:36
@plebhash plebhash force-pushed the fix-template-distribution-sv2 branch 2 times, most recently from 3b93549 to 0869da7 Compare August 9, 2024 15:51
@plebhash plebhash force-pushed the fix-template-distribution-sv2 branch 2 times, most recently from e713736 to 100a331 Compare August 9, 2024 16:23
@plebhash plebhash merged commit c1d4cf3 into stratum-mining:dev Aug 9, 2024
63 of 64 checks passed
@plebhash plebhash deleted the fix-template-distribution-sv2 branch August 9, 2024 16:49
@plebhash plebhash mentioned this pull request Aug 18, 2024
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.

2 participants