MCPcopy Create free account
hub / github.com/TanStack/router / warnClientMemoryDevMode

Function warnClientMemoryDevMode

benchmarks/memory/client/lifecycle.ts:18–24  ·  view source on GitHub ↗
(framework: Framework)

Source from the content-addressed store, hash-verified

16export function noop() {}
17
18export function warnClientMemoryDevMode(framework: Framework) {
19 if (process.env.NODE_ENV !== 'production') {
20 console.warn(
21 `memory client benchmark is running without NODE_ENV=production; ${frameworkNames[framework]} dev overhead will dominate results.`,
22 )
23 }
24}
25
26export function createBenchContainer() {
27 const container = document.createElement('div')

Callers 6

createWorkloadFunction · 0.90
createWorkloadFunction · 0.90
createWorkloadFunction · 0.90
createWorkloadFunction · 0.90
createWorkloadFunction · 0.90
createWorkloadFunction · 0.90

Calls 1

warnMethod · 0.65

Tested by

no test coverage detected