Home / File/ segment.bench.ts — tailwindcss Source File

segment.bench.ts — tailwindcss Source File

Architecture documentation for segment.bench.ts, a typescript file in the tailwindcss codebase. 3 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  2f8c7286_084a_5e8e_4455_3935724c7ab5["segment.bench.ts"]
  ef204000_8998_5a6c_5455_324b37624713["segment.ts"]
  2f8c7286_084a_5e8e_4455_3935724c7ab5 --> ef204000_8998_5a6c_5455_324b37624713
  f712ed47_45d4_4e5a_dd73_fdefa1da71da["segment"]
  2f8c7286_084a_5e8e_4455_3935724c7ab5 --> f712ed47_45d4_4e5a_dd73_fdefa1da71da
  696bd648_5f24_1b59_8e8b_7a97a692869e["vitest"]
  2f8c7286_084a_5e8e_4455_3935724c7ab5 --> 696bd648_5f24_1b59_8e8b_7a97a692869e
  style 2f8c7286_084a_5e8e_4455_3935724c7ab5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { bench } from 'vitest'
import { segment } from './segment'

const values = [
  ['hover:focus:underline', ':'],
  ['var(--a, 0 0 1px rgb(0, 0, 0)), 0 0 1px rgb(0, 0, 0)', ','],
  ['var(--some-value,env(safe-area-inset-top,var(--some-other-value,env(safe-area-inset))))', ','],
]

bench('segment', () => {
  for (let [value, sep] of values) {
    segment(value, sep)
  }
})

Domain

Dependencies

Frequently Asked Questions

What does segment.bench.ts do?
segment.bench.ts is a source file in the tailwindcss codebase, written in typescript. It belongs to the OxideEngine domain.
What does segment.bench.ts depend on?
segment.bench.ts imports 3 module(s): segment, segment.ts, vitest.
Where is segment.bench.ts in the architecture?
segment.bench.ts is located at packages/tailwindcss/src/utils/segment.bench.ts (domain: OxideEngine, directory: packages/tailwindcss/src/utils).

Analyze Your Own Codebase

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

Try Supermodel Free