Skip to content

A metalsmith plugin to output timings for each step in your build path.

Notifications You must be signed in to change notification settings

deltamualpha/metalsmith-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

metalsmith-timer

A metalsmith plugin that outputs the time elapsed between calls to it.

Installation

$ npm install metalsmith-timer

Usage

Pass the plugin to Metalsmith#use:

var timer = require('metalsmith-timer');

metalsmith
  .use(timer("init"))
  .use(someLongPlugin())
  .use(timer("post-long-plugin"));

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.

License

MIT

About

A metalsmith plugin to output timings for each step in your build path.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published