Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created July 24, 2014 15:58
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 tmcw/6cbbece90ec3eeb7a350 to your computer and use it in GitHub Desktop.
Save tmcw/6cbbece90ec3eeb7a350 to your computer and use it in GitHub Desktop.
Gist from mistakes.io
var DEBUG = true;
function timeStart(name) { if (DEBUG) console.time(name); }
function timeEnd(name) { if (DEBUG) console.time(name); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment