chore: disallowing users to specify bb min memory allocation#4570
chore: disallowing users to specify bb min memory allocation#4570signorecello wants to merge 1 commit intomasterfrom
Conversation
|
Hmm I get the reasoning for not having it available through Noir where we control the setup tightly, but I could see reasons for having initial memory for deeper hacking - if you are fiddling build stuff differently, you could need more. But I guess you could edit source. @charlielye thoughts? |
Benchmark resultsMetrics with a significant change:
Detailed resultsAll benchmarks are run on txs on the This benchmark source data is available in JSON format on S3 here. Values are compared against data from master at commit L2 block published to L1Each column represents the number of txs on an L2 block published to L1.
L2 chain processingEach column represents the number of blocks on the L2 chain where each block has 16 txs.
Circuits statsStats on running time and I/O sizes collected for every circuit run across all benchmarks.
Tree insertion statsThe duration to insert a fixed batch of leaves into each tree type.
MiscellaneousTransaction sizes based on how many contracts are deployed in the tx.
Transaction processing duration by data writes.
|
|
Copying across my concern from the other PR:
I'd agree that bb.js doesn't need to be changed here but I also don't think we need to expose this out to Noir if there's a potential footgun. As an alternative, ignoring the user input if its below the minimum required memory and just set it to the default value would also be acceptable to me. |
|
Makes sense to me. In that case I'm closing this one and reopening noir-lang/noir#4227. I'm leaving BB as it is while allowing the user to only change max memory in Noir tooling |
Replicating changes in noir-lang/noir#4227