end() — tailwindcss Function Reference
Architecture documentation for the end() function in instrumentation.ts from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD bed21705_b820_6f10_d63b_c8f1c3245176["end()"] f47c57f6_c3e9_0d89_f276_2158dc0350b0["report()"] f47c57f6_c3e9_0d89_f276_2158dc0350b0 -->|calls| bed21705_b820_6f10_d63b_c8f1c3245176 0aa64a1c_efd8_a69d_48ed_649b7a86c854["get()"] bed21705_b820_6f10_d63b_c8f1c3245176 -->|calls| 0aa64a1c_efd8_a69d_48ed_649b7a86c854 style bed21705_b820_6f10_d63b_c8f1c3245176 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