nolanlawson / marky

High-resolution JavaScript timer based on performance.mark/measure (491 bytes min+gz)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cache the window.performance object

nolanlawson opened this issue · comments

According to @toddreifsteck this has a non-negligible cost, so it's best to cache.