Home / File/ to-key-path.bench.ts — tailwindcss Source File

to-key-path.bench.ts — tailwindcss Source File

Architecture documentation for to-key-path.bench.ts, a typescript file in the tailwindcss codebase. 3 imports, 0 dependents.

File typescript Oxide 3 imports

Entity Profile

Dependency Diagram

graph LR
  911b650c_d689_882c_d7b6_1fe3a2de3359["to-key-path.bench.ts"]
  1f643124_89df_1d95_f8fd_e4036c7301de["to-key-path.ts"]
  911b650c_d689_882c_d7b6_1fe3a2de3359 --> 1f643124_89df_1d95_f8fd_e4036c7301de
  05d44181_6631_c1fa_4a63_96653e28f99c["toKeyPath"]
  911b650c_d689_882c_d7b6_1fe3a2de3359 --> 05d44181_6631_c1fa_4a63_96653e28f99c
  f1e05e5f_c1b2_a3f5_b2e8_3317b9243ac3["vitest"]
  911b650c_d689_882c_d7b6_1fe3a2de3359 --> f1e05e5f_c1b2_a3f5_b2e8_3317b9243ac3
  style 911b650c_d689_882c_d7b6_1fe3a2de3359 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { bench } from 'vitest'
import { toKeyPath } from './to-key-path'

bench('toKeyPath', () => {
  toKeyPath('fontSize.xs')
  toKeyPath('fontSize.xs[1].lineHeight')
  toKeyPath('colors.red.500')
  toKeyPath('colors[red].500')
  toKeyPath('colors[red].[500]')
  toKeyPath('colors[red]500')
  toKeyPath('colors[red][500]')
})

Domain

Dependencies

Frequently Asked Questions

What does to-key-path.bench.ts do?
to-key-path.bench.ts is a source file in the tailwindcss codebase, written in typescript. It belongs to the Oxide domain.
What does to-key-path.bench.ts depend on?
to-key-path.bench.ts imports 3 module(s): to-key-path.ts, toKeyPath, vitest.
Where is to-key-path.bench.ts in the architecture?
to-key-path.bench.ts is located at packages/tailwindcss/src/utils/to-key-path.bench.ts (domain: Oxide, 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