Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created July 24, 2014 15:58
Show Gist options
  • 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