index.bench.ts — tailwindcss Source File
Architecture documentation for index.bench.ts, a typescript file in the tailwindcss codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR db4e8fcd_ca5b_089e_a30c_a9651fc30b81["index.bench.ts"] 8f3a837a_4918_fced_fe0d_2cfdb0bd2b31["oxide"] db4e8fcd_ca5b_089e_a30c_a9651fc30b81 --> 8f3a837a_4918_fced_fe0d_2cfdb0bd2b31 696bd648_5f24_1b59_8e8b_7a97a692869e["vitest"] db4e8fcd_ca5b_089e_a30c_a9651fc30b81 --> 696bd648_5f24_1b59_8e8b_7a97a692869e 901927f2_bc06_7bba_3b59_6521372af070["."] db4e8fcd_ca5b_089e_a30c_a9651fc30b81 --> 901927f2_bc06_7bba_3b59_6521372af070 style db4e8fcd_ca5b_089e_a30c_a9651fc30b81 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { Scanner } from '@tailwindcss/oxide'
import { bench } from 'vitest'
import { compile } from '.'
// FOLDER=path/to/folder vitest bench
const root = process.env.FOLDER || process.cwd()
const css = String.raw
bench('compile', async () => {
let scanner = new Scanner({ sources: [{ base: root, pattern: '**/*', negated: true }] })
let candidates = scanner.scan()
let { build } = await compile(css`
@tailwind utilities;
`)
build(candidates)
})
Dependencies
- .
- oxide
- vitest
Source
Frequently Asked Questions
What does index.bench.ts do?
index.bench.ts is a source file in the tailwindcss codebase, written in typescript.
What does index.bench.ts depend on?
index.bench.ts imports 3 module(s): ., oxide, vitest.
Where is index.bench.ts in the architecture?
index.bench.ts is located at packages/tailwindcss/src/index.bench.ts (directory: packages/tailwindcss/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free