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

Dependency Diagram

graph TD
  1eb91d9a_f4b3_2f7e_76e1_7313fadec676["test_candidate_machine_performance()"]
  add7fb68_668d_acbb_2d68_5b2963b9c0e4["candidate_machine.rs"]
  1eb91d9a_f4b3_2f7e_76e1_7313fadec676 -->|defined in| add7fb68_668d_acbb_2d68_5b2963b9c0e4
  style 1eb91d9a_f4b3_2f7e_76e1_7313fadec676 fill:#6366f1,stroke:#818cf8,color:#fff

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

Frequently Asked Questions

What does test_candidate_machine_performance() do?
test_candidate_machine_performance() is a function in the tailwindcss codebase, defined in crates/oxide/src/extractor/candidate_machine.rs.
Where is test_candidate_machine_performance() defined?
test_candidate_machine_performance() is defined in crates/oxide/src/extractor/candidate_machine.rs at line 188.

Analyze Your Own Codebase

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

Try Supermodel Free