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

Slow forge tests (non-invariant or fuzz) #920

Open
dutterbutter opened this issue Feb 19, 2025 · 0 comments
Open

Slow forge tests (non-invariant or fuzz) #920

dutterbutter opened this issue Feb 19, 2025 · 0 comments
Assignees

Comments

@dutterbutter
Copy link
Collaborator

Description

Users are experiencing abnormal slow test run times:

Local test runs with --zksync (warm): forge test --zksync --match-contract UniswapV2PairTest 74.65s

Local test runs without --zksync (warm): forge test --match-contract UniswapV2PairTest --no-warmup 107.11ms

The difference is around 700x.

Minimal reproduction

Repo: https://github.com/vmaark/slow-zksync-tests-reproduction/tree/main

@Karrq Karrq self-assigned this Feb 20, 2025
@Karrq Karrq moved this from Todo to In Progress in DevEx squad Feb 21, 2025
@Karrq Karrq moved this from In Progress to Todo in DevEx squad Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants