Skip to content

Conversation

@DaniPopes
Copy link
Member

Motivation

Unit tests are held hostage for 30s+ by a single keystore test because the key derivation crate is not optimized, and some create2 tests

Forge tests spend a lot of time cloning the compiler output, something to take note of ((*COMPILED).clone()) cc @Evalir

Solution

@Evalir Evalir requested review from Evalir and mattsse August 17, 2023 16:51
Copy link
Member

@Evalir Evalir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch! yep, we should take a look at how to speed up forge tests in general so CI is faster

@Evalir Evalir merged commit f7145c7 into foundry-rs:master Aug 17, 2023
@DaniPopes DaniPopes deleted the faster-tests branch August 17, 2023 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants