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

Avoid unnecessary layer copy #2567

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Avoid unnecessary layer copy #2567

merged 1 commit into from
Aug 19, 2024

Commits on Aug 18, 2024

  1. Avoid unnecessary layer copy

    When the stack has an empty layer on top, there's no need to copy the
    contents of `top` to it since it would be the same.
    
    ~13% processing saved (!)
    
    pre
    ```
    INF 2024-08-17 19:11:31.748+02:00 Imported blocks
    blockNumber=18667648 blocks=12000 importedSlot=7860043 txs=1797812
    mgas=181135.177 bps=8.763 tps=1375.062 mgps=132.125 avgBps=6.798
    avgTps=1018.501 avgMGps=102.617 elapsed=29m25s154ms
    ```
    
    post
    ```
    INF 2024-08-17 18:22:52.513+02:00 Imported blocks
    blockNumber=18667648 blocks=12000 importedSlot=7860043 txs=1797812
    mgas=181135.177 bps=9.648 tps=1513.961 mgps=145.472 avgBps=7.876
    avgTps=1179.998 avgMGps=118.888 elapsed=25m23s572ms
    ```
    arnetheduck committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    13f0328 View commit details
    Browse the repository at this point in the history