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
  21ced873_9602_86e0_fb63_44277812c5a2["start()"]
  8a5a53c8_b056_fb86_4bf2_308f1ad171e8["Instrumentation"]
  21ced873_9602_86e0_fb63_44277812c5a2 -->|defined in| 8a5a53c8_b056_fb86_4bf2_308f1ad171e8
  2820372c_b982_9e06_fc23_f8f4ac308d00["get()"]
  21ced873_9602_86e0_fb63_44277812c5a2 -->|calls| 2820372c_b982_9e06_fc23_f8f4ac308d00
  style 21ced873_9602_86e0_fb63_44277812c5a2 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