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.

Entity Profile

Dependency Diagram

graph LR
  d9b3f9a7_24aa_0263_17df_cd322fafcbd1["decode-arbitrary-value.bench.ts"]
  e90d9c51_31f0_3175_a861_610a15e277e5["decode-arbitrary-value.ts"]
  d9b3f9a7_24aa_0263_17df_cd322fafcbd1 --> e90d9c51_31f0_3175_a861_610a15e277e5
  2e1adb5d_9a16_16d9_9e0d_e7ef80a3ec69["decodeArbitraryValue"]
  d9b3f9a7_24aa_0263_17df_cd322fafcbd1 --> 2e1adb5d_9a16_16d9_9e0d_e7ef80a3ec69
  696bd648_5f24_1b59_8e8b_7a97a692869e["vitest"]
  d9b3f9a7_24aa_0263_17df_cd322fafcbd1 --> 696bd648_5f24_1b59_8e8b_7a97a692869e
  style d9b3f9a7_24aa_0263_17df_cd322fafcbd1 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 OxideEngine 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: 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