MCPcopy Create free account
hub / github.com/TanStack/db / trackLookup

Function trackLookup

packages/db/src/indexes/base-index.ts:217–221  ·  view source on GitHub ↗
(startTime: number)

Source from the content-addressed store, hash-verified

215 }
216
217 protected trackLookup(startTime: number): void {
218 const duration = performance.now() - startTime
219 this.lookupCount++
220 this.totalLookupTime += duration
221 }
222
223 protected updateTimestamp(): void {
224 this.lastUpdated = new Date()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected