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

Reduce state trie size for dummy payloads #88

Merged
merged 3 commits into from
Mar 6, 2024
Merged

Conversation

Nashtare
Copy link
Collaborator

@Nashtare Nashtare commented Mar 6, 2024

Fairly minor, but while debugging I realized that we should (as the comment specifies) pass an empty iterator instead of once.
This saves a few thousand cycles on dummy payloads (tested against John's test chain).

@Nashtare Nashtare added performance Performance improvement related changes crate: trace_decoder Anything related to the trace_decoder crate. labels Mar 6, 2024
@Nashtare Nashtare requested a review from BGluth March 6, 2024 07:49
@Nashtare Nashtare self-assigned this Mar 6, 2024
@Nashtare Nashtare requested a review from muursh as a code owner March 6, 2024 07:49
@Nashtare Nashtare merged commit ff8688c into main Mar 6, 2024
5 checks passed
@Nashtare Nashtare deleted the reduce-dummy-trie-size branch March 6, 2024 09:36
BGluth pushed a commit that referenced this pull request Jun 17, 2024
* feat: add block interval

* fix: follow from loop

* feat: add block hash parsing for interval

* fix: proving logic

* fix: typos

* fix: review

* fix: doc tests

* feat: add block time cli argument

* fix: interval display

* feat: add from string for block interval

* fix: remove block interval single variant

* feat: implement concurrent block proving #88 #89 (#96)

* feat: implement concurrent block proving #88 #89

* Update prover/src/lib.rs

Co-authored-by: 0xaatif <169152398+0xaatif@users.noreply.github.com>

* fix suggestion

* Fix duplicated import when #[cfg(feature = "test_only")]

---------

Co-authored-by: 0xaatif <169152398+0xaatif@users.noreply.github.com>
Co-authored-by: Marko Atanasievski <markoatana@gmail.com>

* fix: block interval fmt

* fix: make parsing functions private

* fix: use futures iterator instead of tokio-stream

* fix: use anyhow error instead of block interval error

---------

Co-authored-by: Zach Brown <zach@zb.dev>
Co-authored-by: 0xaatif <169152398+0xaatif@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crate: trace_decoder Anything related to the trace_decoder crate. performance Performance improvement related changes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants