bhauman / lein-figwheel

Figwheel builds your ClojureScript code and hot loads it into the browser as you are coding!
Eclipse Public License 1.0
2.88k stars 210 forks source link

Slow recompiling / reloading on Windows #626

Open mtruyens opened 6 years ago

mtruyens commented 6 years ago

Hi, On my brand-new workstation (i7820x, 8-core, 32 GB), recompiling a file (e.g., some user interface) on which just a few other files depend, takes about 1.4 seconds under Linux. On my 3-year old Mac, the same operation took about 2.2 seconds, which is in line with the difference in CPU speed.

When I dual-boot the new workstation to Windows 10 (currently the "Fall Creators Update", but before that the Creators update) and try the same operation, it takes about 3 seconds -- so about 40% slower than the old Mac. Strange thing is, all other Clojure-related operations have more or less the same performance as under Linux -- for example, doing an initial compile of all files takes about 30 seconds under both operating systems, and doing a production compile takes about 60 seconds.

Do you have any idea what would be causing this problem? I tried different JVM 8 versions, moving the files to a ramdisk (helps a bit, but not much), and of course I disabled virus scanning & file indexation.

Many thanks