diff --git a/examples/editor-test/src/main.rs b/examples/editor-test/src/main.rs index f05d402..7f38592 100644 --- a/examples/editor-test/src/main.rs +++ b/examples/editor-test/src/main.rs @@ -135,6 +135,8 @@ fn main() { default_text.to_string() }; + let test_start = Instant::now(); + //TODO: support bidi for line in text.lines() { log::debug!("Line {:?}", line); @@ -200,6 +202,9 @@ fn main() { } } + let test_elapsed = test_start.elapsed(); + log::info!("Test completed in {:?}", test_elapsed); + let mut wrong = 0; let buffer_lines = buffer.text_lines(); for (line_i, line) in text.lines().enumerate() {