Skip to content

Instantly share code, notes, and snippets.

@kevinburkeshyp
Last active February 16, 2016 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinburkeshyp/ba5cacfc8cffb0b21aad to your computer and use it in GitHub Desktop.
Save kevinburkeshyp/ba5cacfc8cffb0b21aad to your computer and use it in GitHub Desktop.
$ bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
1455664279688 - 1455664279541
147
$ node timings.js | ts '[%Y-%m-%d %H:%M:%.S]'
[2016-02-16 15:11:19.550597] starting 1455664279541
[2016-02-16 15:11:19.688965] after 200ms 1455664279688
console.log('starting', new Date().getTime());
setTimeout(function() {
console.log('after 200ms', new Date().getTime());
}, 200);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment