test_extract_performance() — tailwindcss Function Reference
Architecture documentation for the test_extract_performance() function in mod.rs from the tailwindcss codebase.
Entity Profile
Dependency Diagram
graph TD 9dc33f0f_7581_bedd_6ea6_c3a243024716["test_extract_performance()"] 422ad34b_4317_4855_30c2_d1ae1b67d97a["extract()"] 9dc33f0f_7581_bedd_6ea6_c3a243024716 -->|calls| 422ad34b_4317_4855_30c2_d1ae1b67d97a style 9dc33f0f_7581_bedd_6ea6_c3a243024716 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
crates/oxide/src/extractor/mod.rs lines 318–338
fn test_extract_performance() {
if true {
let iterations = 50_000;
let input = include_bytes!("../fixtures/example.html");
let throughput = Throughput::compute(iterations, input.len(), || {
let mut extractor = Extractor::new(input);
_ = black_box(extractor.extract());
});
eprintln!("Extractor throughput: {:}", throughput);
let mut extractor = Extractor::new(input);
let start = std::time::Instant::now();
_ = black_box(extractor.extract().len());
let end = start.elapsed();
eprintln!("Extractor took: {:?}", end);
todo!();
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does test_extract_performance() do?
test_extract_performance() is a function in the tailwindcss codebase.
What does test_extract_performance() call?
test_extract_performance() calls 1 function(s): extract.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free