perf: fix bad test

Nia Espera created

Change summary

crates/vim/src/test.rs   | 2 +-
tooling/perf/src/main.rs | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)

Detailed changes

crates/vim/src/test.rs 🔗

@@ -1772,7 +1772,7 @@ async fn test_visual_indent_count(cx: &mut gpui::TestAppContext) {
     cx.assert_state("    ˇhi", Mode::Normal);
 }
 
-#[perf]
+#[perf(iterations = 1)]
 #[gpui::test]
 async fn test_record_replay_recursion(cx: &mut gpui::TestAppContext) {
     let mut cx = NeovimBackedTestContext::new(cx).await;

tooling/perf/src/main.rs 🔗

@@ -499,6 +499,7 @@ fn main() {
         if !QUIET.load(Ordering::Relaxed) {
             eprint!("\rProfiling test {}/{}", idx + 1, len);
         }
+
         // Pretty-printable stripped name for the test.
         let t_name_pretty = t_name.replace(consts::SUF_NORMAL, "");