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

add missing impl for Seq0255 on binary_sv2/serde-sv2 #1085

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

plebhash
Copy link
Collaborator

@plebhash plebhash commented Aug 9, 2024

required to unblock #985 (comment)

Copy link
Contributor

github-actions bot commented Aug 9, 2024

🐰Bencher

ReportFri, August 9, 2024 at 14:54:24 UTC
ProjectStratum v2 (SRI)
Branch1085/merge
Testbedsv1
Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
client-submit-serialize✅ (view plot)6,459.40 (-6.47%)7,365.71 (87.70%)
client-submit-serialize-deserialize✅ (view plot)7,335.90 (-6.23%)8,345.34 (87.90%)
client-submit-serialize-deserialize-handle/client-submit-serialize-deserialize-handle✅ (view plot)8,004.80 (-4.69%)8,843.77 (90.51%)
client-sv1-authorize-serialize-deserialize-handle/client-sv1-authorize-serialize-deserialize-handle✅ (view plot)896.55 (-0.18%)925.77 (96.84%)
client-sv1-authorize-serialize-deserialize/client-sv1-authorize-serialize-deserialize✅ (view plot)708.72 (+1.55%)720.10 (98.42%)
client-sv1-authorize-serialize/client-sv1-authorize-serialize✅ (view plot)247.98 (-0.07%)255.12 (97.20%)
client-sv1-get-authorize/client-sv1-get-authorize✅ (view plot)156.30 (-0.54%)162.31 (96.29%)
client-sv1-get-submit✅ (view plot)6,350.10 (-4.89%)7,138.89 (88.95%)
client-sv1-get-subscribe/client-sv1-get-subscribe✅ (view plot)281.87 (+1.09%)291.25 (96.78%)
client-sv1-subscribe-serialize-deserialize-handle/client-sv1-subscribe-serialize-deserialize-handle✅ (view plot)776.28 (+3.73%)778.78 (99.68%)
client-sv1-subscribe-serialize-deserialize/client-sv1-subscribe-serialize-deserialize✅ (view plot)625.55 (+1.84%)637.56 (98.12%)
client-sv1-subscribe-serialize/client-sv1-subscribe-serialize✅ (view plot)203.76 (-1.30%)219.61 (92.78%)

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 14:54:40 UTC
ProjectStratum v2 (SRI)
Branchfix-binary-sv2
Testbedsv1

🚨 3 ALERTS: Threshold Boundary Limits exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
serialize_deserialize_authorizeRAM Accesses (accesses)🚨 (view plot | view alert)300.00 (+1.69%)298.30 (100.57%)
serialize_deserialize_handle_authorizeEstimated Cycles (estimated cycles)🚨 (view plot | view alert)30,361.00 (+0.69%)30,358.81 (100.01%)
serialize_deserialize_handle_authorizeRAM Accesses (accesses)🚨 (view plot | view alert)370.00 (+1.63%)367.80 (100.60%)

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,572.00 (+1.58%)8,725.74 (98.24%)✅ (view plot)3,746.00 (+0.14%)3,853.79 (97.20%)✅ (view plot)5,247.00 (+0.04%)5,399.33 (97.18%)✅ (view plot)7.00 (-11.53%)10.35 (67.64%)✅ (view plot)94.00 (+4.30%)94.20 (99.79%)
get_submit✅ (view plot)95,543.00 (-0.01%)96,131.27 (99.39%)✅ (view plot)59,439.00 (-0.05%)59,773.05 (99.44%)✅ (view plot)85,358.00 (-0.05%)85,828.75 (99.45%)✅ (view plot)49.00 (-10.74%)62.60 (78.28%)✅ (view plot)284.00 (+0.67%)287.66 (98.73%)
get_subscribe✅ (view plot)8,025.00 (+0.60%)8,266.46 (97.08%)✅ (view plot)2,841.00 (+0.38%)2,938.55 (96.68%)✅ (view plot)3,970.00 (+0.40%)4,098.05 (96.88%)✅ (view plot)13.00 (-19.10%)19.85 (65.51%)✅ (view plot)114.00 (+1.21%)116.90 (97.52%)
serialize_authorize✅ (view plot)12,325.00 (+0.95%)12,502.64 (98.58%)✅ (view plot)5,317.00 (+0.10%)5,424.79 (98.01%)✅ (view plot)7,410.00 (+0.03%)7,562.67 (97.98%)✅ (view plot)10.00 (-7.17%)13.33 (75.05%)✅ (view plot)139.00 (+2.48%)140.32 (99.06%)
serialize_deserialize_authorize✅ (view plot)24,622.00 (+0.61%)24,712.65 (99.63%)✅ (view plot)9,898.00 (-0.02%)10,024.26 (98.74%)✅ (view plot)13,957.00 (-0.07%)14,148.07 (98.65%)✅ (view plot)33.00 (-9.48%)41.59 (79.34%)🚨 (view plot | view alert)300.00 (+1.69%)298.30 (100.57%)
serialize_deserialize_handle_authorize🚨 (view plot | view alert)30,361.00 (+0.69%)30,358.81 (100.01%)✅ (view plot)12,101.00 (+0.04%)12,208.79 (99.12%)✅ (view plot)17,116.00 (-0.01%)17,277.52 (99.07%)✅ (view plot)59.00 (+0.30%)64.65 (91.25%)🚨 (view plot | view alert)370.00 (+1.63%)367.80 (100.60%)
serialize_deserialize_handle_submit✅ (view plot)126,372.00 (-0.03%)127,021.48 (99.49%)✅ (view plot)73,224.00 (-0.03%)73,613.89 (99.47%)✅ (view plot)104,947.00 (-0.04%)105,502.89 (99.47%)✅ (view plot)120.00 (-0.41%)131.10 (91.53%)✅ (view plot)595.00 (+0.02%)599.19 (99.30%)
serialize_deserialize_handle_subscribe✅ (view plot)27,525.00 (+0.25%)27,602.66 (99.72%)✅ (view plot)9,643.00 (+0.11%)9,740.55 (99.00%)✅ (view plot)13,640.00 (+0.12%)13,773.86 (99.03%)✅ (view plot)61.00 (-7.21%)73.71 (82.76%)✅ (view plot)388.00 (+0.56%)388.65 (99.83%)
serialize_deserialize_submit✅ (view plot)114,999.00 (-0.07%)115,642.56 (99.44%)✅ (view plot)68,001.00 (-0.08%)68,396.42 (99.42%)✅ (view plot)97,559.00 (-0.09%)98,141.34 (99.41%)✅ (view plot)65.00 (-6.18%)75.29 (86.33%)✅ (view plot)489.00 (+0.18%)492.35 (99.32%)
serialize_deserialize_subscribe✅ (view plot)22,956.00 (+0.35%)23,109.81 (99.33%)✅ (view plot)8,195.00 (+0.11%)8,296.16 (98.78%)✅ (view plot)11,541.00 (+0.10%)11,681.00 (98.80%)✅ (view plot)36.00 (-8.35%)44.07 (81.69%)✅ (view plot)321.00 (+0.77%)321.56 (99.83%)
serialize_submit✅ (view plot)99,860.00 (-0.03%)100,459.39 (99.40%)✅ (view plot)61,483.00 (-0.05%)61,822.35 (99.45%)✅ (view plot)88,205.00 (-0.05%)88,682.18 (99.46%)✅ (view plot)49.00 (-11.67%)62.44 (78.47%)✅ (view plot)326.00 (+0.41%)329.15 (99.04%)
serialize_subscribe✅ (view plot)11,362.00 (+0.32%)11,602.28 (97.93%)✅ (view plot)4,188.00 (+0.26%)4,285.55 (97.72%)✅ (view plot)5,827.00 (+0.25%)5,957.19 (97.81%)✅ (view plot)15.00 (-8.06%)18.93 (79.23%)✅ (view plot)156.00 (+0.52%)159.71 (97.68%)

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 14:54:40 UTC
ProjectStratum v2 (SRI)
Branchfix-binary-sv2
Testbedsv2

🚨 7 ALERTS: Threshold Boundary Limits exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
client_sv2_handle_message_commonL2 Accesses (accesses)🚨 (view plot | view alert)12.00 (+66.34%)11.64 (103.13%)
client_sv2_mining_message_submit_standard_serialize_deserializeInstructions (instructions)🚨 (view plot | view alert)10,591.00 (+0.44%)10,575.81 (100.14%)
client_sv2_mining_message_submit_standard_serialize_deserializeL1 Accesses (accesses)🚨 (view plot | view alert)15,407.00 (+0.41%)15,385.44 (100.14%)
client_sv2_open_channel_serialize_deserializeInstructions (instructions)🚨 (view plot | view alert)8,027.00 (+0.51%)8,015.77 (100.14%)
client_sv2_open_channel_serialize_deserializeL1 Accesses (accesses)🚨 (view plot | view alert)11,678.00 (+0.52%)11,658.82 (100.16%)
client_sv2_setup_connection_serialize_deserializeInstructions (instructions)🚨 (view plot | view alert)14,855.00 (+0.28%)14,843.28 (100.08%)
client_sv2_setup_connection_serialize_deserializeL1 Accesses (accesses)🚨 (view plot | view alert)21,817.00 (+0.29%)21,796.11 (100.10%)

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,085.00 (+1.62%)2,131.03 (97.84%)✅ (view plot)473.00 (+0.47%)486.21 (97.28%)✅ (view plot)730.00 (-0.28%)754.70 (96.73%)🚨 (view plot | view alert)12.00 (+66.34%)11.64 (103.13%)✅ (view plot)37.00 (+0.88%)38.59 (95.88%)
client_sv2_handle_message_mining✅ (view plot)8,213.00 (+0.19%)8,334.55 (98.54%)✅ (view plot)2,143.00 (+0.71%)2,171.77 (98.68%)✅ (view plot)3,168.00 (+0.71%)3,216.54 (98.49%)✅ (view plot)36.00 (-6.23%)43.51 (82.74%)✅ (view plot)139.00 (+0.10%)141.92 (97.94%)
client_sv2_mining_message_submit_standard✅ (view plot)6,272.00 (-0.06%)6,386.94 (98.20%)✅ (view plot)1,756.00 (+0.35%)1,763.61 (99.57%)✅ (view plot)2,557.00 (+0.12%)2,575.73 (99.27%)✅ (view plot)22.00 (+24.07%)23.19 (94.87%)✅ (view plot)103.00 (-0.77%)106.84 (96.40%)
client_sv2_mining_message_submit_standard_serialize✅ (view plot)14,753.00 (-0.15%)15,029.75 (98.16%)✅ (view plot)4,700.00 (+0.13%)4,707.61 (99.84%)✅ (view plot)6,758.00 (+0.05%)6,775.11 (99.75%)✅ (view plot)52.00 (+9.39%)52.82 (98.44%)✅ (view plot)221.00 (-0.62%)229.82 (96.16%)
client_sv2_mining_message_submit_standard_serialize_deserialize✅ (view plot)27,527.00 (+0.17%)27,842.94 (98.87%)🚨 (view plot | view alert)10,591.00 (+0.44%)10,575.81 (100.14%)🚨 (view plot | view alert)15,407.00 (+0.41%)15,385.44 (100.14%)✅ (view plot)86.00 (+2.60%)89.42 (96.18%)✅ (view plot)334.00 (-0.25%)345.13 (96.78%)
client_sv2_open_channel✅ (view plot)4,285.00 (-4.39%)4,630.76 (92.53%)✅ (view plot)1,461.00 (+0.05%)1,474.22 (99.10%)✅ (view plot)2,160.00 (+0.32%)2,173.19 (99.39%)✅ (view plot)12.00 (+0.15%)15.17 (79.08%)✅ (view plot)59.00 (-8.98%)68.88 (85.66%)
client_sv2_open_channel_serialize✅ (view plot)14,016.00 (-1.35%)14,463.02 (96.91%)✅ (view plot)5,064.00 (+0.02%)5,077.22 (99.74%)✅ (view plot)7,326.00 (+0.11%)7,339.62 (99.81%)✅ (view plot)36.00 (-3.22%)41.87 (85.97%)✅ (view plot)186.00 (-2.88%)198.94 (93.49%)
client_sv2_open_channel_serialize_deserialize✅ (view plot)22,563.00 (-0.33%)23,015.53 (98.03%)🚨 (view plot | view alert)8,027.00 (+0.51%)8,015.77 (100.14%)🚨 (view plot | view alert)11,678.00 (+0.52%)11,658.82 (100.16%)✅ (view plot)77.00 (+4.76%)82.06 (93.83%)✅ (view plot)300.00 (-1.43%)314.77 (95.31%)
client_sv2_setup_connection✅ (view plot)4,655.00 (-0.88%)4,764.04 (97.71%)✅ (view plot)1,502.00 (+0.05%)1,515.22 (99.13%)✅ (view plot)2,275.00 (-0.08%)2,299.21 (98.95%)✅ (view plot)14.00 (+49.90%)14.31 (97.84%)✅ (view plot)66.00 (-2.66%)69.69 (94.71%)
client_sv2_setup_connection_serialize✅ (view plot)16,112.00 (-0.90%)16,490.17 (97.71%)✅ (view plot)5,963.00 (+0.01%)5,976.22 (99.78%)✅ (view plot)8,657.00 (+0.02%)8,677.26 (99.77%)✅ (view plot)49.00 (+9.24%)49.58 (98.82%)✅ (view plot)206.00 (-2.28%)217.56 (94.69%)
client_sv2_setup_connection_serialize_deserialize✅ (view plot)35,482.00 (-0.14%)35,743.06 (99.27%)🚨 (view plot | view alert)14,855.00 (+0.28%)14,843.28 (100.08%)🚨 (view plot | view alert)21,817.00 (+0.29%)21,796.11 (100.10%)✅ (view plot)101.00 (+1.29%)112.56 (89.73%)✅ (view plot)376.00 (-0.90%)384.56 (97.77%)

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 14:54:39 UTC
ProjectStratum v2 (SRI)
Branchfix-binary-sv2
Testbedsv2
Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
client_sv2_handle_message_common✅ (view plot)43.98 (-1.28%)45.25 (97.19%)
client_sv2_handle_message_mining✅ (view plot)74.52 (+2.21%)80.32 (92.78%)
client_sv2_mining_message_submit_standard✅ (view plot)14.66 (+0.06%)14.69 (99.78%)
client_sv2_mining_message_submit_standard_serialize✅ (view plot)265.88 (+0.45%)284.11 (93.58%)
client_sv2_mining_message_submit_standard_serialize_deserialize✅ (view plot)592.88 (-0.37%)629.10 (94.24%)
client_sv2_open_channel✅ (view plot)166.27 (+0.18%)173.37 (95.90%)
client_sv2_open_channel_serialize✅ (view plot)268.26 (-5.08%)293.77 (91.32%)
client_sv2_open_channel_serialize_deserialize✅ (view plot)379.75 (+0.18%)425.13 (89.33%)
client_sv2_setup_connection✅ (view plot)163.00 (-0.80%)175.10 (93.09%)
client_sv2_setup_connection_serialize✅ (view plot)433.01 (-8.38%)507.93 (85.25%)
client_sv2_setup_connection_serialize_deserialize✅ (view plot)932.61 (-3.89%)1,038.13 (89.84%)

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

Copy link
Contributor

@Shourya742 Shourya742 left a comment

Choose a reason for hiding this comment

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

ACK. One small nit.

@plebhash plebhash merged commit 0566798 into stratum-mining:dev Aug 9, 2024
32 checks passed
@plebhash plebhash deleted the fix-binary-sv2 branch August 9, 2024 15:17
@plebhash plebhash mentioned this pull request Aug 9, 2024
@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.

3 participants