Now how much time takes a callback to be called.
Instead of passing a
howmuchtime(callback) to log how much time was taken to call the callback, e.g.:
var howmuchtime = ;;
will result in :
The callback call was done in 29437 µs
You can optionnaly pass a second argument which is a "timeHandler" function, which will be called before the callback, with 3 arguments: