Skip to content

prefetcher: preallocate aligned groupTasks in groupsReady#4876

Merged
algorandskiy merged 1 commit into
algorand:masterfrom
cce:align-prefetcher-groupsReady
Dec 9, 2022
Merged

prefetcher: preallocate aligned groupTasks in groupsReady#4876
algorandskiy merged 1 commit into
algorand:masterfrom
cce:align-prefetcher-groupsReady

Conversation

@cce
Copy link
Copy Markdown
Contributor

@cce cce commented Dec 8, 2022

Summary

For #4855 this ensures these groupTask{} objects are allocated outside of a slice, to ensure 64-bit alignment for each.

Test Plan

Existing tests should pass.

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 8, 2022

Codecov Report

Merging #4876 (a1eea0f) into master (ffa688a) will decrease coverage by 1.29%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4876      +/-   ##
==========================================
- Coverage   53.31%   52.01%   -1.30%     
==========================================
  Files         423      423              
  Lines       53852    53853       +1     
==========================================
- Hits        28713    28014     -699     
- Misses      22854    23521     +667     
- Partials     2285     2318      +33     
Impacted Files Coverage Δ
ledger/internal/prefetcher/prefetcher.go 95.52% <100.00%> (+0.01%) ⬆️
tools/debug/logfilter/main.go 0.00% <0.00%> (-83.34%) ⬇️
network/msgOfInterest.go 75.00% <0.00%> (-25.00%) ⬇️
agreement/agreeInstall.go 75.00% <0.00%> (-25.00%) ⬇️
agreement/sort.go 76.19% <0.00%> (-23.81%) ⬇️
cmd/tealdbg/debugger.go 54.61% <0.00%> (-18.88%) ⬇️
cmd/tealdbg/cdtSession.go 49.30% <0.00%> (-17.52%) ⬇️
agreement/certificate.go 66.66% <0.00%> (-16.67%) ⬇️
data/transactions/logic/box.go 80.23% <0.00%> (-14.98%) ⬇️
daemon/algod/api/server/router.go 0.00% <0.00%> (-13.89%) ⬇️
... and 61 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@cce cce force-pushed the align-prefetcher-groupsReady branch from 3ad00a9 to a1eea0f Compare December 9, 2022 01:46
@algorandskiy algorandskiy merged commit 4dd9877 into algorand:master Dec 9, 2022
@cce cce deleted the align-prefetcher-groupsReady branch December 9, 2022 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants