ChrisAntaki / time.js

Tell Time about a function, and it'll tell you about how fast it is.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

function yourMethod() {
    // Wonderous, magical code
}

Time(yourMethod); // 23 ms

Tell Time about a function, and it'll tell you about how fast it is.

Time is using console.log, and I wanna test on mobile

Time understands your plight.

Time(yourMethod, {
    notification : 'alert'
});

This is great, but does this library have a memorable catchphrase?

Isn't it about time you used Time?

About

Tell Time about a function, and it'll tell you about how fast it is.


Languages

Language:JavaScript 100.0%