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

Tooling Performance Upgrades #250

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

cgewecke
Copy link
Contributor

Cuts command and test startup times in half. For the test:fast command saw ~15sec improvement and slower test commands should see even greater gains.

PR:

  • Upgrades hardhat to 2.9.3: (Contains a 2X improvement in forked test speeds)
  • Upgrades solidity-coverage to 0.7.21 (Cuts ~2 seconds from command startup times)
  • Upgrade ts-node to 10.7.0
  • Adds swc-core for typescript
    • This is a rust-lang compilation engine with ~25% speedup
  • Skip typescript typechecking where irrelevant to command (ex: compile)
  • Skip unnecessary typechain compilation of files in the external/artifacts folder for most commonly used commands.
    • typechain (correctly) uses incremental generation for the regular artifacts
    • we rarely add anything to external and it's types are (incorrectly) regenerated for every command

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.

1 participant