diff --git a/test/tree/public/index.html b/test/tree/public/index.html
index 0802f9fdfae..caa64367070 100644
--- a/test/tree/public/index.html
+++ b/test/tree/public/index.html
@@ -60,7 +60,11 @@
this.pattern = new RegExp(filter.value, 'i');
}
+ performance.mark('before refilter');
+ const start = performance.now();
tree.refilter();
+ console.log('refilter took', performance.now() - start);
+ performance.mark('after refilter');
}
filter(el) {
return (this.pattern ? this.pattern.test(el) : true) ? Visibility.Visible : Visibility.Recurse;