end() — tailwindcss Function Reference
Architecture documentation for the end() function in instrumentation.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 54f94230_6b90_dc87_08f9_66289e5b299d["end()"] 3568c474_624e_066e_07ef_ed5bb1f93d4a["report()"] 3568c474_624e_066e_07ef_ed5bb1f93d4a -->|calls| 54f94230_6b90_dc87_08f9_66289e5b299d 4cd99e59_ac1e_2a1f_0946_33cc1afd2532["get()"] 54f94230_6b90_dc87_08f9_66289e5b299d -->|calls| 4cd99e59_ac1e_2a1f_0946_33cc1afd2532 style 54f94230_6b90_dc87_08f9_66289e5b299d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/@tailwindcss-node/src/instrumentation.ts lines 35–49
end(label: string) {
let end = process.hrtime.bigint()
if (this.#timerStack[this.#timerStack.length - 1].label !== label) {
throw new Error(
`Mismatched timer label: \`${label}\`, expected \`${
this.#timerStack[this.#timerStack.length - 1].label
}\``,
)
}
let parent = this.#timerStack.pop()!
let elapsed = end - parent.value
this.#timers.get(parent.id).value += elapsed
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does end() do?
end() is a function in the tailwindcss codebase.
What does end() call?
end() calls 1 function(s): get.
What calls end()?
end() is called by 1 function(s): report.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free