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

Redefining lastDeclareJob #1022

Merged
merged 2 commits into from
Jul 3, 2024
Merged

Conversation

Shourya742
Copy link
Contributor

The PR is opened to address the suggested changes by @Fi3 on PR #904. The comments are as follows:

Copy link
Contributor

github-actions bot commented Jun 30, 2024

🐰Bencher

ReportWed, July 3, 2024 at 08:16:35 UTC
ProjectStratum v2 (SRI)
Branchfeature/jdc_nits
Testbedsv2

🚨 10 ALERTS: Threshold Boundary Limits exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
client_sv2_mining_message_submit_standardL2 Accesses (accesses)🚨 (view plot | view alert)26.00 (+45.77%)24.10 (107.87%)
client_sv2_mining_message_submit_standard_serializeL2 Accesses (accesses)🚨 (view plot | view alert)56.00 (+17.56%)53.77 (104.15%)
client_sv2_mining_message_submit_standard_serialize_deserializeInstructions (instructions)🚨 (view plot | view alert)10,585.00 (+0.39%)10,570.57 (100.14%)
client_sv2_mining_message_submit_standard_serialize_deserializeL1 Accesses (accesses)🚨 (view plot | view alert)15,398.00 (+0.36%)15,377.91 (100.13%)
client_sv2_open_channel_serialize_deserializeInstructions (instructions)🚨 (view plot | view alert)8,027.00 (+0.52%)8,012.93 (100.18%)
client_sv2_open_channel_serialize_deserializeL1 Accesses (accesses)🚨 (view plot | view alert)11,672.00 (+0.48%)11,652.77 (100.17%)
client_sv2_open_channel_serialize_deserializeL2 Accesses (accesses)🚨 (view plot | view alert)84.00 (+13.96%)83.25 (100.91%)
client_sv2_setup_connectionL2 Accesses (accesses)🚨 (view plot | view alert)15.00 (+61.45%)14.30 (104.91%)
client_sv2_setup_connection_serialize_deserializeInstructions (instructions)🚨 (view plot | view alert)14,855.00 (+0.29%)14,840.35 (100.10%)
client_sv2_setup_connection_serialize_deserializeL1 Accesses (accesses)🚨 (view plot | view alert)21,811.00 (+0.27%)21,789.89 (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,111.00 (+2.90%)2,131.26 (99.05%)✅ (view plot)473.00 (+0.48%)486.30 (97.27%)✅ (view plot)731.00 (-0.16%)755.01 (96.82%)✅ (view plot)10.00 (+42.49%)10.79 (92.65%)✅ (view plot)38.00 (+3.57%)38.65 (98.31%)
client_sv2_handle_message_mining✅ (view plot)8,253.00 (+0.65%)8,339.91 (98.96%)✅ (view plot)2,137.00 (+0.45%)2,171.21 (98.42%)✅ (view plot)3,158.00 (+0.42%)3,215.72 (98.21%)✅ (view plot)39.00 (+1.18%)43.57 (89.51%)✅ (view plot)140.00 (+0.79%)142.05 (98.56%)
client_sv2_mining_message_submit_standard✅ (view plot)6,350.00 (+1.13%)6,394.99 (99.30%)✅ (view plot)1,750.00 (+0.03%)1,763.06 (99.26%)✅ (view plot)2,545.00 (-0.33%)2,575.70 (98.81%)🚨 (view plot | view alert)26.00 (+45.77%)24.10 (107.87%)✅ (view plot)105.00 (+1.07%)106.96 (98.16%)
client_sv2_mining_message_submit_standard_serialize✅ (view plot)14,695.00 (-0.53%)15,030.16 (97.77%)✅ (view plot)4,694.00 (+0.01%)4,707.06 (99.72%)✅ (view plot)6,750.00 (-0.06%)6,774.99 (99.63%)🚨 (view plot | view alert)56.00 (+17.56%)53.77 (104.15%)✅ (view plot)219.00 (-1.49%)229.88 (95.27%)
client_sv2_mining_message_submit_standard_serialize_deserialize✅ (view plot)27,503.00 (+0.09%)27,842.42 (98.78%)🚨 (view plot | view alert)10,585.00 (+0.39%)10,570.57 (100.14%)🚨 (view plot | view alert)15,398.00 (+0.36%)15,377.91 (100.13%)✅ (view plot)90.00 (+7.21%)90.04 (99.96%)✅ (view plot)333.00 (-0.53%)345.18 (96.47%)
client_sv2_open_channel✅ (view plot)4,451.00 (-0.88%)4,609.31 (96.57%)✅ (view plot)1,461.00 (+0.05%)1,474.33 (99.10%)✅ (view plot)2,156.00 (+0.15%)2,172.89 (99.22%)✅ (view plot)11.00 (-7.91%)15.19 (72.41%)✅ (view plot)64.00 (-1.68%)68.13 (93.94%)
client_sv2_open_channel_serialize✅ (view plot)14,040.00 (-1.20%)14,462.80 (97.08%)✅ (view plot)5,064.00 (+0.02%)5,077.33 (99.74%)✅ (view plot)7,320.00 (+0.03%)7,339.21 (99.74%)✅ (view plot)42.00 (+12.30%)42.26 (99.39%)✅ (view plot)186.00 (-2.92%)198.98 (93.47%)
client_sv2_open_channel_serialize_deserialize✅ (view plot)22,557.00 (-0.36%)23,019.22 (97.99%)🚨 (view plot | view alert)8,027.00 (+0.52%)8,012.93 (100.18%)🚨 (view plot | view alert)11,672.00 (+0.48%)11,652.77 (100.17%)🚨 (view plot | view alert)84.00 (+13.96%)83.25 (100.91%)✅ (view plot)299.00 (-1.76%)314.93 (94.94%)
client_sv2_setup_connection✅ (view plot)4,693.00 (-0.11%)4,764.03 (98.51%)✅ (view plot)1,502.00 (+0.05%)1,515.33 (99.12%)✅ (view plot)2,273.00 (-0.16%)2,299.43 (98.85%)🚨 (view plot | view alert)15.00 (+61.45%)14.30 (104.91%)✅ (view plot)67.00 (-1.26%)69.62 (96.23%)
client_sv2_setup_connection_serialize✅ (view plot)15,976.00 (-1.71%)16,506.56 (96.79%)✅ (view plot)5,963.00 (+0.01%)5,976.33 (99.78%)✅ (view plot)8,661.00 (+0.07%)8,677.71 (99.81%)✅ (view plot)49.00 (+9.42%)49.40 (99.18%)✅ (view plot)202.00 (-4.14%)218.08 (92.63%)
client_sv2_setup_connection_serialize_deserialize✅ (view plot)35,416.00 (-0.32%)35,746.19 (99.08%)🚨 (view plot | view alert)14,855.00 (+0.29%)14,840.35 (100.10%)🚨 (view plot | view alert)21,811.00 (+0.27%)21,789.89 (100.10%)✅ (view plot)110.00 (+9.98%)113.65 (96.79%)✅ (view plot)373.00 (-1.67%)384.95 (96.90%)

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

Copy link
Contributor

github-actions bot commented Jun 30, 2024

🐰Bencher

ReportWed, July 3, 2024 at 08:16:39 UTC
ProjectStratum v2 (SRI)
Branchfeature/jdc_nits
Testbedsv2

🚨 2 ALERTS: Threshold Boundary Limits exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
client_sv2_open_channelLatency (nanoseconds (ns))🚨 (view plot | view alert)176.78 (+6.62%)172.20 (102.66%)
client_sv2_setup_connection_serialize_deserializeLatency (nanoseconds (ns))🚨 (view plot | view alert)1,043.90 (+7.39%)1,041.86 (100.20%)

Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
client_sv2_handle_message_common✅ (view plot)44.47 (-0.23%)45.26 (98.25%)
client_sv2_handle_message_mining✅ (view plot)72.89 (-0.02%)80.38 (90.68%)
client_sv2_mining_message_submit_standard✅ (view plot)14.66 (+0.09%)14.69 (99.82%)
client_sv2_mining_message_submit_standard_serialize✅ (view plot)278.18 (+5.04%)285.12 (97.57%)
client_sv2_mining_message_submit_standard_serialize_deserialize✅ (view plot)614.86 (+3.35%)628.82 (97.78%)
client_sv2_open_channel🚨 (view plot | view alert)176.78 (+6.62%)172.20 (102.66%)
client_sv2_open_channel_serialize✅ (view plot)282.52 (-0.22%)292.93 (96.45%)
client_sv2_open_channel_serialize_deserialize✅ (view plot)374.75 (-0.92%)423.36 (88.52%)
client_sv2_setup_connection✅ (view plot)161.99 (-1.48%)176.00 (92.04%)
client_sv2_setup_connection_serialize✅ (view plot)470.93 (-0.85%)505.60 (93.14%)
client_sv2_setup_connection_serialize_deserialize🚨 (view plot | view alert)1,043.90 (+7.39%)1,041.86 (100.20%)

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

Copy link
Contributor

github-actions bot commented Jun 30, 2024

🐰Bencher

ReportWed, July 3, 2024 at 08:16:37 UTC
ProjectStratum v2 (SRI)
Branchfeature/jdc_nits
Testbedsv1

🚨 1 ALERT: Threshold Boundary Limit exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
serialize_deserialize_handle_authorizeRAM Accesses (accesses)🚨 (view plot | view alert)368.00 (+1.10%)367.55 (100.12%)

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.78%)8,726.03 (97.46%)✅ (view plot)3,746.00 (+0.15%)3,854.74 (97.18%)✅ (view plot)5,249.00 (+0.08%)5,400.69 (97.19%)✅ (view plot)7.00 (-11.71%)10.37 (67.47%)✅ (view plot)92.00 (+2.12%)94.13 (97.74%)
get_submit✅ (view plot)95,475.00 (-0.08%)96,137.32 (99.31%)✅ (view plot)59,439.00 (-0.05%)59,776.31 (99.44%)✅ (view plot)85,360.00 (-0.05%)85,833.31 (99.45%)✅ (view plot)49.00 (-10.91%)62.60 (78.28%)✅ (view plot)282.00 (-0.04%)287.68 (98.02%)
get_subscribe✅ (view plot)7,957.00 (-0.25%)8,268.84 (96.23%)✅ (view plot)2,841.00 (+0.39%)2,939.32 (96.65%)✅ (view plot)3,972.00 (+0.45%)4,098.99 (96.90%)✅ (view plot)13.00 (-19.38%)19.83 (65.54%)✅ (view plot)112.00 (-0.57%)116.91 (95.80%)
serialize_authorize✅ (view plot)12,257.00 (+0.40%)12,503.58 (98.03%)✅ (view plot)5,317.00 (+0.10%)5,425.74 (98.00%)✅ (view plot)7,412.00 (+0.06%)7,564.04 (97.99%)✅ (view plot)10.00 (-7.28%)13.35 (74.89%)✅ (view plot)137.00 (+1.03%)140.29 (97.66%)
serialize_deserialize_authorize✅ (view plot)24,554.00 (+0.33%)24,711.60 (99.36%)✅ (view plot)9,898.00 (-0.02%)10,025.45 (98.73%)✅ (view plot)13,959.00 (-0.05%)14,149.89 (98.65%)✅ (view plot)33.00 (-9.63%)41.61 (79.31%)✅ (view plot)298.00 (+1.04%)298.11 (99.96%)
serialize_deserialize_handle_authorize✅ (view plot)30,293.00 (+0.47%)30,352.67 (99.80%)✅ (view plot)12,101.00 (+0.05%)12,209.74 (99.11%)✅ (view plot)17,118.00 (+0.00%)17,279.06 (99.07%)✅ (view plot)59.00 (+0.40%)64.62 (91.30%)🚨 (view plot | view alert)368.00 (+1.10%)367.55 (100.12%)
serialize_deserialize_handle_submit✅ (view plot)126,372.00 (-0.03%)127,026.24 (99.48%)✅ (view plot)73,224.00 (-0.04%)73,617.68 (99.47%)✅ (view plot)104,947.00 (-0.04%)105,508.33 (99.47%)✅ (view plot)120.00 (-0.41%)131.20 (91.46%)✅ (view plot)595.00 (+0.03%)599.14 (99.31%)
serialize_deserialize_handle_subscribe✅ (view plot)27,457.00 (+0.01%)27,600.18 (99.48%)✅ (view plot)9,643.00 (+0.11%)9,741.32 (98.99%)✅ (view plot)13,642.00 (+0.14%)13,775.00 (99.03%)✅ (view plot)61.00 (-7.25%)73.83 (82.63%)✅ (view plot)386.00 (+0.06%)388.53 (99.35%)
serialize_deserialize_submit✅ (view plot)114,999.00 (-0.07%)115,648.79 (99.44%)✅ (view plot)68,001.00 (-0.08%)68,400.22 (99.42%)✅ (view plot)97,559.00 (-0.09%)98,146.90 (99.40%)✅ (view plot)65.00 (-6.28%)75.30 (86.32%)✅ (view plot)489.00 (+0.18%)492.37 (99.32%)
serialize_deserialize_subscribe✅ (view plot)22,888.00 (+0.05%)23,110.97 (99.04%)✅ (view plot)8,195.00 (+0.11%)8,297.00 (98.77%)✅ (view plot)11,543.00 (+0.12%)11,682.13 (98.81%)✅ (view plot)36.00 (-8.49%)44.08 (81.67%)✅ (view plot)319.00 (+0.14%)321.53 (99.21%)
serialize_submit✅ (view plot)99,792.00 (-0.10%)100,465.45 (99.33%)✅ (view plot)61,483.00 (-0.05%)61,825.66 (99.45%)✅ (view plot)88,207.00 (-0.05%)88,686.80 (99.46%)✅ (view plot)49.00 (-11.85%)62.38 (78.55%)✅ (view plot)324.00 (-0.21%)329.16 (98.43%)
serialize_subscribe✅ (view plot)11,294.00 (-0.29%)11,604.62 (97.32%)✅ (view plot)4,188.00 (+0.26%)4,286.32 (97.71%)✅ (view plot)5,829.00 (+0.29%)5,958.17 (97.83%)✅ (view plot)15.00 (-8.20%)18.95 (79.14%)✅ (view plot)154.00 (-0.78%)159.72 (96.42%)

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

Copy link
Contributor

github-actions bot commented Jun 30, 2024

🐰Bencher

ReportWed, July 3, 2024 at 08:16:36 UTC
ProjectStratum v2 (SRI)
Branch1022/merge
Testbedsv1

🚨 2 ALERTS: Threshold Boundary Limits exceeded!
BenchmarkMeasure (units)ViewValueLower BoundaryUpper Boundary
client-sv1-subscribe-serialize-deserialize-handle/client-sv1-subscribe-serialize-deserialize-handleLatency (nanoseconds (ns))🚨 (view plot | view alert)793.82 (+5.73%)792.59 (100.15%)
client-sv1-subscribe-serialize-deserialize/client-sv1-subscribe-serialize-deserializeLatency (nanoseconds (ns))🚨 (view plot | view alert)659.98 (+7.18%)643.36 (102.58%)

Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns) | (Δ%)
Latency Upper Boundary
nanoseconds (ns) | (%)
client-submit-serialize✅ (view plot)6,446.90 (-6.70%)7,356.72 (87.63%)
client-submit-serialize-deserialize✅ (view plot)7,382.30 (-5.66%)8,340.07 (88.52%)
client-submit-serialize-deserialize-handle/client-submit-serialize-deserialize-handle✅ (view plot)7,999.70 (-4.76%)8,841.97 (90.47%)
client-sv1-authorize-serialize-deserialize-handle/client-sv1-authorize-serialize-deserialize-handle✅ (view plot)890.20 (-0.89%)925.70 (96.17%)
client-sv1-authorize-serialize-deserialize/client-sv1-authorize-serialize-deserialize✅ (view plot)700.45 (+0.47%)718.58 (97.48%)
client-sv1-authorize-serialize/client-sv1-authorize-serialize✅ (view plot)248.86 (+0.28%)255.06 (97.57%)
client-sv1-get-authorize/client-sv1-get-authorize✅ (view plot)157.89 (+0.43%)162.46 (97.18%)
client-sv1-get-submit✅ (view plot)6,201.90 (-7.07%)7,148.09 (86.76%)
client-sv1-get-subscribe/client-sv1-get-subscribe✅ (view plot)281.12 (+0.66%)294.30 (95.52%)
client-sv1-subscribe-serialize-deserialize-handle/client-sv1-subscribe-serialize-deserialize-handle🚨 (view plot | view alert)793.82 (+5.73%)792.59 (100.15%)
client-sv1-subscribe-serialize-deserialize/client-sv1-subscribe-serialize-deserialize🚨 (view plot | view alert)659.98 (+7.18%)643.36 (102.58%)
client-sv1-subscribe-serialize/client-sv1-subscribe-serialize✅ (view plot)205.38 (-0.94%)223.39 (91.94%)

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

Copy link
Collaborator

@GitGab19 GitGab19 left a comment

Choose a reason for hiding this comment

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

LGTM.
@Fi3 could you give a round of review as well since these changes were the ones you did request to me some months ago?

@GitGab19 GitGab19 merged commit c959f42 into stratum-mining:dev Jul 3, 2024
13 checks passed
@pavlenex pavlenex added this to the 1.0.2 milestone Jul 3, 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
Status: Done ✅
Development

Successfully merging this pull request may close these issues.

4 participants