Add benchmarks

This commit is contained in:
Stone_Red
2026-03-05 20:20:56 +01:00
parent 8ef621e61b
commit 4bcaf30d9e
10 changed files with 159 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
function add_one(x) {
return x + 1;
}
let i = 0;
while (i < 60000) {
i = add_one(i);
}
console.log(i);