MCPcopy
hub / github.com/mongodb/node-mongodb-native / processTimeMS

Function processTimeMS

src/utils.ts:443–445  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

441 * @internal
442 * */
443export function processTimeMS(): number {
444 return Math.floor(performance.now());
445}
446
447/** @internal */
448export function calculateDurationInMs(started: number | undefined): number {

Callers 15

withTransactionMethod · 0.90
constructorMethod · 0.90
applySessionFunction · 0.90
checkOutMethod · 0.90
createConnectionMethod · 0.90
constructorMethod · 0.90
markAvailableMethod · 0.90
sendCommandMethod · 0.90
constructorMethod · 0.90
constructorMethod · 0.90
constructorMethod · 0.90
constructorMethod · 0.90

Calls

no outgoing calls

Tested by 1

makeOldSessionFunction · 0.68