Skip to content

Instantly share code, notes, and snippets.

@myogeshchavan97
Created November 13, 2019 11:59
Show Gist options
  • Save myogeshchavan97/21041ad3deac5d600bee10d81ee97a78 to your computer and use it in GitHub Desktop.
Save myogeshchavan97/21041ad3deac5d600bee10d81ee97a78 to your computer and use it in GitHub Desktop.
Calculate the execution time
console.time('users');
axios.get('https://randomuser.me/api/?page=1&results=20')
.then(response => {
console.timeEnd('users');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment