A metalsmith plugin that outputs the time elapsed between calls to it.
$ npm install metalsmith-timer
Pass the plugin to
var timer = ;metalsmith;
Standard runs of your build script won't output anything, but adding
DEBUG=metalsmith-timer to the call will output timings based on the labels.