Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitejs/vite
/ getTime
Function
getTime
packages/vite/src/node/env.ts:39–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
): Record<string, string> {
38
const
start = performance.now()
39
const
getTime = () => `${(performance.now() - start).toFixed(2)}ms`
40
41
if
(mode ===
'local'
) {
42
throw
new
Error(
Callers
1
loadEnv
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected