Skip to content

feat(config): enable dynamic-test-linking by default#14718

Merged
grandizzy merged 6 commits into
masterfrom
mablr/default_dynamic_test_linking
Jun 8, 2026
Merged

feat(config): enable dynamic-test-linking by default#14718
grandizzy merged 6 commits into
masterfrom
mablr/default_dynamic_test_linking

Conversation

@mablr

@mablr mablr commented May 12, 2026

Copy link
Copy Markdown
Member

Motivation

Closes #10285, by enabling dynamic-test-linking by default

@mablr mablr marked this pull request as draft May 12, 2026 15:09
Base automatically changed from mablr/fix-salted-create2-script-preprocessor to master May 13, 2026 09:14
@github-actions github-actions Bot added the stale label May 29, 2026
@mablr mablr added stop-stale and removed stale labels May 29, 2026
@foundry-rs foundry-rs deleted a comment from github-actions Bot May 29, 2026
@mablr mablr force-pushed the mablr/default_dynamic_test_linking branch from 1a46c28 to e45e791 Compare June 4, 2026 10:51
@github-actions

This comment was marked as low quality.

@mablr mablr left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Benchmarks for 4ebcdad

Project Mutation dynamic_test_linking = false (initial rebuild/ rebuild) dynamic_test_linking = true (initial rebuild/ rebuild)
Solady duplicate _setOwner(newOwner); 12.52s / 1.48s 12.62s / 1.52s
Uniswap v4-core add Lock.lock(); 109.54s / 96.76s 48.31s / 11.63s
Morpho Blue duplicate require(assets != 0, ErrorsLib.ZERO_ASSETS); 162.68s / 162.83s 134.61s / 52.46s
Aave v4 add require(assetId < _assetCount, AssetNotListed()); 197.79s / 184.19s 201.41s / 185.27s

@foundry-rs foundry-rs deleted a comment from github-actions Bot Jun 4, 2026
@mablr mablr marked this pull request as ready for review June 4, 2026 16:39
@figtracer

Copy link
Copy Markdown
Member

609f49a

Project Mutation dynamic_test_linking = false (initial rebuild / rebuild) dynamic_test_linking = true (initial rebuild / rebuild)
Ithaca Account duplicate if (keyHash == bytes32(0)) return true; 21.59s / 21.25s 21.08s / 21.12s
Spark PSM duplicate require(assetsToDeposit != 0, "PSM3/invalid-amount"); 12.77s / 12.96s 1.79s / 1.78s
Solmate duplicate require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED"); 1.58s / 1.57s 1.58s / 1.56s
OpenZeppelin Contracts duplicate _transferOwnership(newOwner); 0.87s / 0.86s 0.88s / 0.90s
PRBMath duplicate if (x == 0) return 0 block 2.76s / 2.73s 2.72s / 2.74s
Forge Std duplicate require(min <= max, ...) in StdUtils 3.76s / 3.89s 3.64s / 3.66s

@grandizzy grandizzy merged commit 75fd6f9 into master Jun 8, 2026
44 of 49 checks passed
@github-project-automation github-project-automation Bot moved this to Done in Foundry Jun 8, 2026
@grandizzy grandizzy deleted the mablr/default_dynamic_test_linking branch June 8, 2026 09:04
@grandizzy grandizzy added the T-likely-breaking Type: requires changes that can be breaking label Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stop-stale T-likely-breaking Type: requires changes that can be breaking

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

feat(config): enable dynamic test linking by default

4 participants