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 0b78ead6_0bff_8a7f_7596_2be0e910010f["test_candidate_machine_performance()"] 16b5fabd_92d2_8602_e43a_c1d04ce5e265["candidate_machine.rs"] 0b78ead6_0bff_8a7f_7596_2be0e910010f -->|defined in| 16b5fabd_92d2_8602_e43a_c1d04ce5e265 style 0b78ead6_0bff_8a7f_7596_2be0e910010f 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
Source
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