-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: reduce memory consumption of witness generation (#696)
## What ❔ Uses an [updated zkevm_test_harness](matter-labs/era-zkevm_test_harness#57) that uses less memory. The updated crate takes callback functions instead of returning a vector of all results. We may have to think about how to not keep the database open the whole time the callbacks are coming in. ## Why ❔ Proving batches currently uses memory proportional to the batch size, which is not ok for large batches. --------- Co-authored-by: Fedor Sakharov <fedor.sakharov@gmail.com> Co-authored-by: AntonD3 <74021421+AntonD3@users.noreply.github.com> Co-authored-by: Stanislav Breadless <stanislavbezkor@gmail.com> Co-authored-by: perekopskiy <53865202+perekopskiy@users.noreply.github.com> Co-authored-by: pompon0 <pompon.pompon@gmail.com> Co-authored-by: Dustin Brickwood <dustinbrickwood204@gmail.com> Co-authored-by: Igor Borodin <hatemosphere@protonmail.com>
- Loading branch information
1 parent
13ad7b2
commit dea6768
Showing
9 changed files
with
269 additions
and
273 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.