defunctzombie / node-process

process information for node.js and browsers
MIT License
122 stars 62 forks source link

process.hrtime #80

Open domenic opened 6 years ago

domenic commented 6 years ago

This is pretty easy to shim in few lines of code as seen by https://github.com/kumavis/browser-process-hrtime/blob/master/index.js . (And you can omit the browser prefixed versions.)

calvinmetcalf commented 6 years ago

so this gets pulled into a LOT of packages so we'd want to do it small, also this gets run in some weird environments, like without setTimeout so I may need to check what those people were doing and if they would have Math and Date available.