diff --git a/vlib/strings/builder_test.js.v b/vlib/strings/builder_test.js.v
index e67a0f1bb7..52259c6391 100644
--- a/vlib/strings/builder_test.js.v
+++ b/vlib/strings/builder_test.js.v
@@ -2,7 +2,7 @@ import strings
 
 type MyInt = int
 
-const maxn = 100000
+const maxn = 1000
 
 fn test_sb() {
 	mut sb := strings.new_builder(100)