instrumentation.ts — tailwindcss Source File
Architecture documentation for instrumentation.ts, a typescript file in the tailwindcss codebase. 0 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR afa6fc55_69fa_18e5_688a_b47fdb1a1c3e["instrumentation.ts"] d3ff87a1_ef49_dab7_2e4d_39270282fbd2["index.ts"] d3ff87a1_ef49_dab7_2e4d_39270282fbd2 --> afa6fc55_69fa_18e5_688a_b47fdb1a1c3e style afa6fc55_69fa_18e5_688a_b47fdb1a1c3e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
export class Instrumentation {
start(label: string) {
performance.mark(`${label} (start)`)
}
end(label: string, detail?: any) {
performance.mark(`${label} (end)`)
performance.measure(label, {
start: `${label} (start)`,
end: `${label} (end)`,
detail,
})
}
hit(label: string, detail?: any) {
performance.mark(label, {
detail,
})
}
error(error: any) {
performance.mark(`(error)`, {
detail: { error: `${error}` },
})
throw error
}
}
Domain
Subdomains
Classes
Imported By
Source
Frequently Asked Questions
What does instrumentation.ts do?
instrumentation.ts is a source file in the tailwindcss codebase, written in typescript. It belongs to the OxideEngine domain, PreProcessors subdomain.
What files import instrumentation.ts?
instrumentation.ts is imported by 1 file(s): index.ts.
Where is instrumentation.ts in the architecture?
instrumentation.ts is located at packages/@tailwindcss-browser/src/instrumentation.ts (domain: OxideEngine, subdomain: PreProcessors, directory: packages/@tailwindcss-browser/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free