Tree: increase to 500**2 to test performance

This commit is contained in:
Cecile Tonglet 2020-09-18 21:20:16 +02:00
parent eafd9bc339
commit de2b121443

View file

@ -56,7 +56,7 @@ impl Component for App {
InsertBehavior::UnderNode(&root_id),
)
.unwrap();
for i in 0..100 {
for i in 0..500 {
let dir2 = tree
.insert(
Node::new(NodeData {
@ -69,7 +69,7 @@ impl Component for App {
InsertBehavior::UnderNode(&dir1),
)
.unwrap();
for i in 0..100 {
for i in 0..500 {
tree.insert(
Node::new(NodeData {
icon: Some(IconName::Document),