From f0a6e23f8af442d3d997673688da3897b48d5f0b Mon Sep 17 00:00:00 2001 From: itsjunetime Date: Thu, 5 Jun 2025 17:30:27 -0600 Subject: [PATCH] And use the normal values for black and white in for_profiling --- benches/for_profiling.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/benches/for_profiling.rs b/benches/for_profiling.rs index 6800929..ce32489 100644 --- a/benches/for_profiling.rs +++ b/benches/for_profiling.rs @@ -1,5 +1,8 @@ mod utils; +const BLACK: i32 = 0; +const WHITE: i32 = i32::from_be_bytes([0, 0xff, 0xff, 0xff]); + #[tokio::main] async fn main() { #[cfg(feature = "tracing")] @@ -9,5 +12,5 @@ async fn main() { .nth(1) .expect("Please enter a file to profile"); - utils::render_doc(file, None, 0, 1000).await; + utils::render_doc(file, None, BLACK, WHITE).await; }