Home / Function/ start() — tailwindcss Function Reference

start() — tailwindcss Function Reference

Architecture documentation for the start() function in instrumentation.ts from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  623d82f8_1f44_f10c_5798_31968fd44fb2["start()"]
  f86cf69c_7c70_7a89_a666_593c4245917f["Instrumentation"]
  623d82f8_1f44_f10c_5798_31968fd44fb2 -->|defined in| f86cf69c_7c70_7a89_a666_593c4245917f
  5bcf4886_1230_a8ff_7302_a26cc5a9a525["get()"]
  623d82f8_1f44_f10c_5798_31968fd44fb2 -->|calls| 5bcf4886_1230_a8ff_7302_a26cc5a9a525
  style 623d82f8_1f44_f10c_5798_31968fd44fb2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/@tailwindcss-node/src/instrumentation.ts lines 23–33

  start(label: string) {
    let namespace = this.#timerStack.map((t) => t.label).join('//')
    let id = `${namespace}${namespace.length === 0 ? '' : '//'}${label}`

    this.#hits.get(id).value++

    // Create the timer if it doesn't exist yet
    this.#timers.get(id)

    this.#timerStack.push({ id, label, namespace, value: process.hrtime.bigint() })
  }

Domain

Subdomains

Calls

Frequently Asked Questions

What does start() do?
start() is a function in the tailwindcss codebase, defined in packages/@tailwindcss-node/src/instrumentation.ts.
Where is start() defined?
start() is defined in packages/@tailwindcss-node/src/instrumentation.ts at line 23.
What does start() call?
start() calls 1 function(s): get.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free