Home / File/ decode-arbitrary-value.bench.ts — tailwindcss Source File

decode-arbitrary-value.bench.ts — tailwindcss Source File

Architecture documentation for decode-arbitrary-value.bench.ts, a typescript file in the tailwindcss codebase. 3 imports, 0 dependents.

File typescript Oxide 3 imports

Entity Profile

Dependency Diagram

graph LR
  23a9c1fc_7b0d_cc80_077d_a315655e8821["decode-arbitrary-value.bench.ts"]
  7df4d001_f01e_1e05_13ee_91edb05bf1f8["decode-arbitrary-value.ts"]
  23a9c1fc_7b0d_cc80_077d_a315655e8821 --> 7df4d001_f01e_1e05_13ee_91edb05bf1f8
  8e4634e2_7c1f_b6c1_18b2_bd8f97be3651["decodeArbitraryValue"]
  23a9c1fc_7b0d_cc80_077d_a315655e8821 --> 8e4634e2_7c1f_b6c1_18b2_bd8f97be3651
  f1e05e5f_c1b2_a3f5_b2e8_3317b9243ac3["vitest"]
  23a9c1fc_7b0d_cc80_077d_a315655e8821 --> f1e05e5f_c1b2_a3f5_b2e8_3317b9243ac3
  style 23a9c1fc_7b0d_cc80_077d_a315655e8821 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { bench } from 'vitest'
import { decodeArbitraryValue } from './decode-arbitrary-value'

const values = [
  '#ffffff',
  'calc(1+2)',
  '[content-start]_calc(100%-1px)_[content-end]_minmax(1rem,1fr)',
  'var(--some-value,env(safe-area-inset-top,var(--some-other-value,env(safe-area-inset))))',
]

bench('decodeArbitraryValue', () => {
  for (let value of values) {
    decodeArbitraryValue(value)
  }
})

Domain

Frequently Asked Questions

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