Skip to content

Instantly share code, notes, and snippets.

@josemmo
Created March 28, 2018 08:36
Show Gist options
  • Save josemmo/48fac42e3260d3e2f285fd1489a39f23 to your computer and use it in GitHub Desktop.
Save josemmo/48fac42e3260d3e2f285fd1489a39f23 to your computer and use it in GitHub Desktop.
// Iniciar cronómetro
var time_start = (new Date()).getTime();
// Pausar ejecución
debugger;
// Parar cronómetro
var time_end = (new Date()).getTime();
var diff = time_end - time_start;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment