Hi
I just merged in some code that includes an update from 1.3 to 1.3.2.4 and my rebuild time has gone from 7s to 48s.
Turning the logging on seems to show the issue is in the compile stage, particularly with files.stat and files.lstat. does anyone know how to interpret that into what I need to do to fix this?
| files.readFile 3 ms (3)
| files.exists 5 ms (4)
| Rebuild App…47,749 ms (1)
| ├─ compiler.compile(the app)…42,790 ms (1)
| │ └─ compileUnibuild (the app)…42,790 ms (2)
| │ ├─ files.realpath 2,804 ms (3748)
| │ ├─ files.readdir 4,408 ms (12338)
| │ ├─ files.stat 10,082 ms (69234)
| │ ├─ files.readFile 328 ms (1250)
| │ ├─ files.lstat 18,460 ms (78054)
| │ └─ other compileUnibuild (the app) 6,692 ms
| ├─ bundler.bundle…makeClientTarget…3,722 ms (1)
Things I’ve tried so far, none of which helped:
- uninstalled and reinstalled Meteor (Windows 8.1)
- deleted the contents of .meteor/local
- deleted the contents of node_modules and reinstalled them
- cleared the npm cache
- upgrading to 1.3.3 beta
- deleted everything in AppData\Local.meteor
I also tried reverting back to 1.3 (had to delete everything in AppData\Local.meteor to get that to work) and it’s quicker, it takes around 25s to reload (so still not the 7s or so it was before). As for 1.3.2.4, the delay in 1.3.2 seems to be in the compile stage:
| Rebuild App…24,493 ms (1)
| ├─ compiler.compile(the app)…21,104 ms (1)
| │ └─ compileUnibuild (the app)…21,104 ms (2)
| │ ├─ files.readdir 1,549 ms (5032)
| │ ├─ files.lstat 16,265 ms (78054)
| │ └─ other compileUnibuild (the app) 2,942 ms
I can’t think what else to try?