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.

Entity Profile

Dependency Diagram

graph LR
  0cb00ce0_5f54_8628_99aa_0c832deb2600["to-key-path.bench.ts"]
  e3e0c6b9_7cc3_bd6c_ce01_14f8efdc5a0d["to-key-path.ts"]
  0cb00ce0_5f54_8628_99aa_0c832deb2600 --> e3e0c6b9_7cc3_bd6c_ce01_14f8efdc5a0d
  1b250eae_0bea_d404_ca9e_42da26c56b45["toKeyPath"]
  0cb00ce0_5f54_8628_99aa_0c832deb2600 --> 1b250eae_0bea_d404_ca9e_42da26c56b45
  696bd648_5f24_1b59_8e8b_7a97a692869e["vitest"]
  0cb00ce0_5f54_8628_99aa_0c832deb2600 --> 696bd648_5f24_1b59_8e8b_7a97a692869e
  style 0cb00ce0_5f54_8628_99aa_0c832deb2600 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 OxideEngine 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: 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