You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I compared two configurations by running a single task "grunt clean"
Time for loading tasks:
plain gruntfile with jit-grunt - 852ms separated config files with load-grunt-config and jitGrunt - 1.9s
At first, I thought jitGrunt didn't work, that turned out was wrong, debugging showed it did work.
However, comparing before and after using load-grunt-config to split the gruntfile.js, the performance impact is significant by double the loading time.
It may not noticeable on a powerful computer, for example, if the loading time before is 50ms, increasing to 100ms isn't a big deal. But on my computer, this adds 1 second on each task running, and sum up to additional 15+ seconds for my "build" task which has 10+ steps.
The text was updated successfully, but these errors were encountered:
themenow
changed the title
jitGrunt not working
Improve performance: load-grunt-config is twice slower than plain gruntfile.js
Mar 19, 2018
I compared two configurations by running a single task "grunt clean"
Time for loading tasks:
plain gruntfile with jit-grunt - 852ms
separated config files with load-grunt-config and jitGrunt - 1.9s
At first, I thought jitGrunt didn't work, that turned out was wrong, debugging showed it did work.
However, comparing before and after using load-grunt-config to split the gruntfile.js, the performance impact is significant by double the loading time.
It may not noticeable on a powerful computer, for example, if the loading time before is 50ms, increasing to 100ms isn't a big deal. But on my computer, this adds 1 second on each task running, and sum up to additional 15+ seconds for my "build" task which has 10+ steps.
The text was updated successfully, but these errors were encountered: