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

rebuild is 4x+ slower caused by non buffered file reading #198

Closed
laizy opened this issue Dec 9, 2021 · 1 comment
Closed

rebuild is 4x+ slower caused by non buffered file reading #198

laizy opened this issue Dec 9, 2021 · 1 comment

Comments

@laizy
Copy link
Contributor

laizy commented Dec 9, 2021

$ time forge build                                                 
success.

real    0m1.274s
user    0m0.173s
sys     0m0.029s

$ time forge build
no files changed, compilation skippped.

real    0m5.053s
user    0m0.355s
sys     0m0.511s
 938 read(5, "{", 1)                         = 1
  939 read(5, "\n", 1)                        = 1
  940 read(5, " ", 1)                         = 1
  941 read(5, " ", 1)                         = 1
  942 read(5, "\"", 1)                        = 1
  943 read(5, "a", 1)                         = 1
  944 read(5, "b", 1)                         = 1
  945 read(5, "i", 1)                         = 1
  946 read(5, "\"", 1)                        = 1
  947 read(5, ":", 1)                         = 1
@mattsse
Copy link
Member

mattsse commented Dec 9, 2021

vote close since will be resolved after bumping ethers @gakonst

@gakonst gakonst closed this as completed Dec 9, 2021
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

No branches or pull requests

3 participants