From e0da08cf6af30169e72ceda34aaa0bf413c80c19 Mon Sep 17 00:00:00 2001 From: Cecile Tonglet Date: Sat, 19 Sep 2020 14:26:19 +0200 Subject: [PATCH] Remove perf test tweaks --- src/app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.rs b/src/app.rs index 9ea7c5d..d76e0ec 100644 --- a/src/app.rs +++ b/src/app.rs @@ -56,7 +56,7 @@ impl Component for App { InsertBehavior::UnderNode(&root_id), ) .unwrap(); - for i in 0..500 { + for i in 0..10 { let dir2 = tree .insert( Node::new(NodeData { @@ -69,7 +69,7 @@ impl Component for App { InsertBehavior::UnderNode(&dir1), ) .unwrap(); - for i in 0..500 { + for i in 0..10 { tree.insert( Node::new(NodeData { icon: Some(IconName::Document),