Home / Function/ main() — tailwindcss Function Reference

main() — tailwindcss Function Reference

Architecture documentation for the main() function in main.rs from the tailwindcss codebase.

Entity Profile

Relationship Graph

Source Code

crates/oxide/src/main.rs lines 51–65

fn main() {
    let iterations = 10_000;
    let input = include_bytes!("./fixtures/example.html");

    let throughput = Throughput::compute(iterations, input.len(), || {
        _ = black_box(
            input
                .split(|x| *x == b'\n')
                .flat_map(run)
                .collect::<Vec<_>>(),
        );
    });

    eprintln!("Extractor: {:}", throughput);
}

Domain

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free