Home / Function/ test_candidate_machine_performance() — tailwindcss Function Reference

test_candidate_machine_performance() — tailwindcss Function Reference

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

Entity Profile

Relationship Graph

Source Code

crates/oxide/src/extractor/candidate_machine.rs lines 188–198

    fn test_candidate_machine_performance() {
        let n = 10_000;
        let input = include_str!("../fixtures/example.html");
        // let input = &r#"<button type="button" class="absolute -top-1 -left-1.5 flex items-center justify-center p-1.5 text-gray-400 hover:text-gray-500">"#.repeat(100);

        CandidateMachine::test_throughput(n, input);
        CandidateMachine::test_duration_once(input);
        CandidateMachine::test_duration_n(n, input);

        todo!()
    }

Domain

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free