MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / nowMicros

Function nowMicros

scripts/perf/node-bench/start_nodefs_socket.mjs:36–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36function nowMicros() {
37 return Math.round(performance.now() * 1000)
38}
39
40function elapsedMicros(startMicros) {
41 return nowMicros() - startMicros

Callers 2

elapsedMicrosFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected