Closed deltamualpha closed 9 years ago
Haven't used metalsmith-watch
so sadly can't help much there.
If you can narrow down exactly what function(s?) seem to take the bulk of the time we can work on optimizing, but at this macro view it's a little hard to know where to start.
Let me know what investigations you uncover though, happy to help.
Just published 0.10.0
from #18. Try that out for a spin and let me know?
Nice and fast! I'm getting some duplicate articles in my results pages, but that's probably me misusing the plugin somehow.
Woohoo, progress!
Let me know if you uncover anything with the duplicate post situation. Just checked my blog locally with the new version and it looks ok, but still something I'd like to be sure about.
Going to close this issue. Please open one if you uncover if there's a duplicates issue.
I ran into major performance problems with metalsmith while using it for live development, and so I started using a little home-cooked timer to see which plugin was making a change to a single file take almost a minute and a half to rebuild. Lo and behold:
metalsmith-tags is nice and fast on first run, and then falls off a cliff on subsequent rebuilds using metalsmith-watch. (Subsequent runs leveled off at 14s, but that's still orders of magnitude slower than any other plugin in the list.) Any guesses what's going on here?