MCPcopy
hub / github.com/claude-code-best/claude-code / now

Method now

src/utils/profilerBase.ts:57–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 }
56
57 now(): number {
58 return Number(process.hrtime.bigint() / 1000n) / 1000 - this._origin
59 }
60}
61
62// Singleton — shared across all profilers (same as the old perf_hooks singleton)

Callers 15

markMethod · 0.95
downloadRemoteToTempFunction · 0.80
waitForLoginFunction · 0.80
addPendingPairingFunction · 0.80
confirmPairingFunction · 0.80
setActivePermissionChatFunction · 0.80
savePendingPermissionFunction · 0.80
downloadMediaFunction · 0.80
handleUploadFunction · 0.80
withConnectionTimeoutFunction · 0.80
installConnectionMonitorFunction · 0.80

Calls

no outgoing calls

Tested by 12

mainFunction · 0.64
mainFunction · 0.64
makeEventFunction · 0.64
makeTaskFunction · 0.64
makeEntryFunction · 0.64
makeShutdownMsgFunction · 0.64
makeToolUseMsgFunction · 0.64
makeToolResultMsgFunction · 0.64
makeTextMsgFunction · 0.64
makeStateFunction · 0.64
makeRunningTaskFunction · 0.64
makeRunFunction · 0.64