Reuse optimized IR for bytecode dependencies#15182
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
Here's some more benchmarking with #15183:
Some important notes:
|
|
And here is the timing from external tests (extracted using the script from #15023 (comment)):
They numbers don't seem particularly reliable though. For example the longer running time for Also, I'm not sure how OpenZeppelin in CI takes ~150 s to compile. The main difference is that it's being compiled with Hardhat rather than Foundry, but such a difference still seems odd. Is it downloading something rather than just building? Is the CI machine that slow? |
|
I'm closing this since we won't be merging it. The actual fix is based on caching optimized IR instead. |
The quick and easy solution for #15179, which only reuses the IR.