1.0.1 • Published 6 years ago
@rainder/measure v1.0.1
Time
import { measure } from '@rainder/measure';
const ms = measure();
doSomethinghere();
console.log(ms()); //outputs time taken in milliseconds
That's pretty much it
import { measure } from '@rainder/measure';
const ms = measure();
doSomethinghere();
console.log(ms()); //outputs time taken in milliseconds
That's pretty much it