Skip to content

Latest commit

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Metrics Timer

Simple timer for use in application metrics

Example Usage

vartimer=require('metrics-timer');varmyEvent=require('foo');myEvent.on('connect',function(id){timer.start(id);});myEvent.on('disconnect',function(id){vareventTime=timer.stop(id);// outputs millisecondsconsole.log(eventTime);});

About

Simple timer for use in application metrics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages