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

RELEASE 1.0.1 #940

Merged
merged 40 commits into from
May 28, 2024
Merged

RELEASE 1.0.1 #940

merged 40 commits into from
May 28, 2024

Conversation

fi3 and others added 30 commits May 3, 2024 12:15
Add a nicer user interface to the sv2 cpuminer with help messages.
Add noise to the cpuminer.
Add a nicer user interface to the sv2 cpuminer with help messages.
Add noise to the cpuminer.
When the remote peer try to open an encrypted sv2 connection and then
immediatly close the tcp connection, the helper for async std and tokio
it panic, mostly of the time we don't want to panic in this situation.
This commit add an error for this case and return it.
Copy link
Contributor

🐰Bencher

ReportTue, May 28, 2024 at 08:25:19 UTC
ProjectStratum v2 (SRI)
Branchdev
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,515.00 (+1.02%)8,728.74 (97.55%)✅ (view plot)3,772.00 (+0.90%)3,858.45 (97.76%)✅ (view plot)5,295.00 (+1.01%)5,404.95 (97.97%)✅ (view plot)7.00 (-13.15%)10.50 (66.67%)✅ (view plot)91.00 (+1.22%)93.97 (96.83%)
get_submit✅ (view plot)95,618.00 (+0.07%)96,171.29 (99.42%)✅ (view plot)59,522.00 (+0.09%)59,792.42 (99.55%)✅ (view plot)85,493.00 (+0.11%)85,854.33 (99.58%)✅ (view plot)58.00 (+5.19%)62.33 (93.06%)✅ (view plot)281.00 (-0.41%)288.04 (97.55%)
get_subscribe✅ (view plot)8,020.00 (+0.57%)8,283.18 (96.82%)✅ (view plot)2,848.00 (+0.69%)2,943.84 (96.74%)✅ (view plot)3,980.00 (+0.72%)4,104.61 (96.96%)✅ (view plot)17.00 (+5.20%)19.49 (87.21%)✅ (view plot)113.00 (+0.32%)117.16 (96.45%)
serialize_authorize✅ (view plot)12,336.00 (+1.14%)12,501.13 (98.68%)✅ (view plot)5,343.00 (+0.63%)5,429.45 (98.41%)✅ (view plot)7,456.00 (+0.70%)7,568.56 (98.51%)✅ (view plot)10.00 (-8.26%)13.51 (74.02%)✅ (view plot)138.00 (+1.95%)140.05 (98.53%)
serialize_deserialize_authorize✅ (view plot)24,550.00 (+0.36%)24,707.44 (99.36%)✅ (view plot)9,950.00 (+0.53%)10,027.76 (99.22%)✅ (view plot)14,050.00 (+0.63%)14,151.60 (99.28%)✅ (view plot)35.00 (-4.99%)41.79 (83.76%)✅ (view plot)295.00 (+0.09%)297.56 (99.14%)
serialize_deserialize_handle_authorize✅ (view plot)30,176.00 (+0.12%)30,338.50 (99.46%)✅ (view plot)12,127.00 (+0.28%)12,213.45 (99.29%)✅ (view plot)17,166.00 (+0.30%)17,284.36 (99.32%)✅ (view plot)61.00 (+4.24%)64.34 (94.81%)✅ (view plot)363.00 (-0.23%)366.70 (98.99%)
serialize_deserialize_handle_submit✅ (view plot)126,465.00 (+0.04%)127,062.71 (99.53%)✅ (view plot)73,307.00 (+0.08%)73,637.03 (99.55%)✅ (view plot)105,085.00 (+0.09%)105,534.34 (99.57%)✅ (view plot)125.00 (+3.99%)131.18 (95.29%)✅ (view plot)593.00 (-0.33%)599.37 (98.94%)
serialize_deserialize_handle_subscribe✅ (view plot)27,446.00 (-0.03%)27,608.44 (99.41%)✅ (view plot)9,650.00 (+0.20%)9,745.84 (99.02%)✅ (view plot)13,646.00 (+0.19%)13,781.06 (99.02%)✅ (view plot)72.00 (+9.56%)73.36 (98.14%)✅ (view plot)384.00 (-0.49%)388.54 (98.83%)
serialize_deserialize_submit✅ (view plot)115,245.00 (+0.15%)115,670.50 (99.63%)✅ (view plot)68,167.00 (+0.17%)68,412.34 (99.64%)✅ (view plot)97,835.00 (+0.20%)98,160.79 (99.67%)✅ (view plot)73.00 (+5.28%)74.72 (97.70%)✅ (view plot)487.00 (-0.23%)492.59 (98.87%)
serialize_deserialize_subscribe✅ (view plot)22,930.00 (+0.26%)23,118.32 (99.19%)✅ (view plot)8,209.00 (+0.30%)8,301.25 (98.89%)✅ (view plot)11,565.00 (+0.33%)11,687.51 (98.95%)✅ (view plot)40.00 (+1.37%)44.12 (90.65%)✅ (view plot)319.00 (+0.16%)321.59 (99.20%)
serialize_submit✅ (view plot)100,011.00 (+0.12%)100,493.82 (99.52%)✅ (view plot)61,566.00 (+0.09%)61,842.17 (99.55%)✅ (view plot)88,336.00 (+0.10%)88,708.67 (99.58%)✅ (view plot)60.00 (+7.76%)61.46 (97.63%)✅ (view plot)325.00 (+0.10%)329.42 (98.66%)
serialize_subscribe✅ (view plot)11,417.00 (+0.84%)11,612.51 (98.32%)✅ (view plot)4,195.00 (+0.47%)4,290.84 (97.77%)✅ (view plot)5,837.00 (+0.47%)5,964.10 (97.87%)✅ (view plot)17.00 (+4.42%)18.67 (91.06%)✅ (view plot)157.00 (+1.19%)159.83 (98.23%)

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

Copy link
Contributor

🐰Bencher

ReportTue, May 28, 2024 at 08:25:21 UTC
ProjectStratum v2 (SRI)
Branch940/merge
Testbedsv1

🚨 2 ALERTS: Threshold Boundary Limits exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
client-sv1-get-authorize/client-sv1-get-authorizeLatency (nanoseconds (ns))🚨 (view plot | view alert)163.15 (+3.68%)162.99 (100.10%)
client-sv1-subscribe-serialize-deserialize-handle/client-sv1-subscribe-serialize-deserialize-handleLatency (nanoseconds (ns))🚨 (view plot | view alert)796.76 (+6.31%)785.72 (101.40%)

Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
client-submit-serialize✅ (view plot)7,128.00 (+2.58%)7,339.92 (97.11%)
client-submit-serialize-deserialize✅ (view plot)8,105.50 (+3.05%)8,326.50 (97.35%)
client-submit-serialize-deserialize-handle/client-submit-serialize-deserialize-handle✅ (view plot)8,547.10 (+1.33%)8,837.20 (96.72%)
client-sv1-authorize-serialize-deserialize-handle/client-sv1-authorize-serialize-deserialize-handle✅ (view plot)920.01 (+2.34%)927.75 (99.17%)
client-sv1-authorize-serialize-deserialize/client-sv1-authorize-serialize-deserialize✅ (view plot)715.93 (+2.67%)719.09 (99.56%)
client-sv1-authorize-serialize/client-sv1-authorize-serialize✅ (view plot)254.96 (+2.69%)255.65 (99.73%)
client-sv1-get-authorize/client-sv1-get-authorize🚨 (view plot | view alert)163.15 (+3.68%)162.99 (100.10%)
client-sv1-get-submit✅ (view plot)6,948.60 (+3.44%)7,149.42 (97.19%)
client-sv1-get-subscribe/client-sv1-get-subscribe✅ (view plot)291.71 (+4.56%)292.25 (99.82%)
client-sv1-subscribe-serialize-deserialize-handle/client-sv1-subscribe-serialize-deserialize-handle🚨 (view plot | view alert)796.76 (+6.31%)785.72 (101.40%)
client-sv1-subscribe-serialize-deserialize/client-sv1-subscribe-serialize-deserialize✅ (view plot)633.46 (+2.99%)639.10 (99.12%)
client-sv1-subscribe-serialize/client-sv1-subscribe-serialize✅ (view plot)210.25 (+1.64%)220.03 (95.56%)

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

Copy link
Contributor

🐰Bencher

ReportTue, May 28, 2024 at 08:25:21 UTC
ProjectStratum v2 (SRI)
Branchdev
Testbedsv2
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,065.00 (+0.82%)2,127.69 (97.05%)✅ (view plot)473.00 (+0.51%)486.87 (97.15%)✅ (view plot)735.00 (+0.40%)756.08 (97.21%)✅ (view plot)7.00 (+1.45%)10.49 (66.75%)✅ (view plot)37.00 (+1.04%)38.59 (95.87%)
client_sv2_handle_message_mining✅ (view plot)8,203.00 (+0.09%)8,340.98 (98.35%)✅ (view plot)2,137.00 (+0.49%)2,172.01 (98.39%)✅ (view plot)3,163.00 (+0.63%)3,217.07 (98.32%)✅ (view plot)35.00 (-9.47%)43.72 (80.06%)✅ (view plot)139.00 (+0.12%)142.09 (97.82%)
client_sv2_mining_message_submit_standard✅ (view plot)6,242.00 (-0.55%)6,393.46 (97.63%)✅ (view plot)1,750.00 (+0.03%)1,763.75 (99.22%)✅ (view plot)2,557.00 (+0.12%)2,576.86 (99.23%)✅ (view plot)16.00 (-8.05%)22.34 (71.62%)✅ (view plot)103.00 (-0.85%)107.06 (96.21%)
client_sv2_mining_message_submit_standard_serialize✅ (view plot)14,825.00 (+0.33%)15,042.82 (98.55%)✅ (view plot)4,694.00 (+0.01%)4,707.75 (99.71%)✅ (view plot)6,755.00 (+0.01%)6,776.24 (99.69%)✅ (view plot)46.00 (-2.46%)51.81 (88.79%)✅ (view plot)224.00 (+0.69%)230.21 (97.30%)
client_sv2_mining_message_submit_standard_serialize_deserialize✅ (view plot)27,522.00 (+0.16%)27,858.23 (98.79%)✅ (view plot)10,545.00 (+0.03%)10,558.99 (99.87%)✅ (view plot)15,342.00 (+0.02%)15,361.67 (99.87%)✅ (view plot)84.00 (+0.50%)89.20 (94.18%)✅ (view plot)336.00 (+0.34%)345.75 (97.18%)
client_sv2_open_channel✅ (view plot)4,527.00 (+0.77%)4,613.21 (98.13%)✅ (view plot)1,461.00 (+0.06%)1,475.02 (99.05%)✅ (view plot)2,152.00 (-0.03%)2,173.68 (99.00%)✅ (view plot)13.00 (+8.51%)15.34 (84.73%)✅ (view plot)66.00 (+1.32%)68.21 (96.76%)
client_sv2_open_channel_serialize✅ (view plot)14,262.00 (+0.29%)14,466.19 (98.59%)✅ (view plot)5,064.00 (+0.02%)5,078.02 (99.72%)✅ (view plot)7,317.00 (-0.01%)7,340.13 (99.68%)✅ (view plot)38.00 (+2.21%)41.62 (91.30%)✅ (view plot)193.00 (+0.57%)198.98 (97.00%)
client_sv2_open_channel_serialize_deserialize✅ (view plot)22,700.00 (+0.26%)23,039.07 (98.53%)✅ (view plot)7,987.00 (+0.05%)8,001.55 (99.82%)✅ (view plot)11,615.00 (+0.02%)11,637.45 (99.81%)✅ (view plot)75.00 (+2.71%)81.36 (92.18%)✅ (view plot)306.00 (+0.45%)315.37 (97.03%)
client_sv2_setup_connection✅ (view plot)4,699.00 (-0.00%)4,767.43 (98.56%)✅ (view plot)1,502.00 (+0.05%)1,516.02 (99.08%)✅ (view plot)2,279.00 (+0.09%)2,300.67 (99.06%)✅ (view plot)8.00 (-11.31%)13.27 (60.28%)✅ (view plot)68.00 (+0.12%)69.65 (97.63%)
client_sv2_setup_connection_serialize✅ (view plot)16,372.00 (+0.64%)16,478.36 (99.35%)✅ (view plot)5,963.00 (+0.01%)5,977.02 (99.77%)✅ (view plot)8,652.00 (-0.04%)8,678.40 (99.70%)✅ (view plot)46.00 (+3.42%)48.73 (94.41%)✅ (view plot)214.00 (+1.35%)217.06 (98.59%)
client_sv2_setup_connection_serialize_deserialize✅ (view plot)35,608.00 (+0.21%)35,751.78 (99.60%)✅ (view plot)14,814.00 (+0.03%)14,828.55 (99.90%)✅ (view plot)21,748.00 (-0.01%)21,773.30 (99.88%)✅ (view plot)105.00 (+5.87%)112.18 (93.60%)✅ (view plot)381.00 (+0.35%)384.50 (99.09%)

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

Copy link
Contributor

🐰Bencher

ReportTue, May 28, 2024 at 08:25:23 UTC
ProjectStratum v2 (SRI)
Branchdev
Testbedsv2
Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
client_sv2_handle_message_common✅ (view plot)44.45 (-0.22%)45.26 (98.22%)
client_sv2_handle_message_mining✅ (view plot)76.96 (+5.80%)80.49 (95.61%)
client_sv2_mining_message_submit_standard✅ (view plot)14.63 (-0.17%)14.69 (99.57%)
client_sv2_mining_message_submit_standard_serialize✅ (view plot)261.50 (-1.01%)284.40 (91.95%)
client_sv2_mining_message_submit_standard_serialize_deserialize✅ (view plot)590.64 (-0.66%)629.17 (93.88%)
client_sv2_open_channel✅ (view plot)167.26 (+0.95%)171.40 (97.59%)
client_sv2_open_channel_serialize✅ (view plot)278.66 (-1.65%)293.23 (95.03%)
client_sv2_open_channel_serialize_deserialize✅ (view plot)374.12 (-0.47%)401.85 (93.10%)
client_sv2_setup_connection✅ (view plot)167.31 (+1.76%)175.32 (95.43%)
client_sv2_setup_connection_serialize✅ (view plot)471.56 (-0.67%)503.86 (93.59%)
client_sv2_setup_connection_serialize_deserialize✅ (view plot)991.79 (+2.05%)1,040.16 (95.35%)

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

@Fi3 Fi3 merged commit 7841021 into main May 28, 2024
23 checks passed
@plebhash plebhash added the release Important for upcoming release label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Important for upcoming release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants