Files
tdf/benches/for_profiling.rs
itsjunetime 5825849434 - Significantly improved time to render full document
- Added support for debugging with tokio-console through tracing feature
- Added extra benchmark for checking time to render first page
- Removed unwraps to just make background loops return and terminate if something goes wrong
- Modularize rendering somewhat
2024-06-04 15:46:25 -06:00

14 lines
223 B
Rust

mod utils;
#[tokio::main]
async fn main() {
#[cfg(feature = "tracing")]
console_subscriber::init();
let file = std::env::args()
.nth(1)
.expect("Please enter a file to profile");
utils::render_doc(file).await;
}