Skip to content

core: implement hrtimefp()

hrtime() works with tuples, which comes at a performance cost. Instead, by returning a double we're able to reduce the call from ~230ns to ~80ns per call.

Note: I'm doing this to save the ~150ns per call that working with tuples is currently costing me.

R=@bnoordhuis R=@indutny

Merge request reports

Loading