Open arv opened 3 years ago
performance.now() gives the time since start of the webpage in ms and fractions. We round this in rust to ms so we might as well use Date.now()... Or change Timer to use f64 instead
performance.now()
Date.now()
Timer
f64
performance.now()
gives the time since start of the webpage in ms and fractions. We round this in rust to ms so we might as well useDate.now()
... Or changeTimer
to usef64
instead