mirror of
https://github.com/Stone-Red-Code/YesNt-Interpreter.git
synced 2026-09-04 09:06:41 +02:00
Add benchmarks
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const numbers = [];
|
||||
for (let i = 0; i < 30000; i++) {
|
||||
numbers.push(i);
|
||||
}
|
||||
let s = 0;
|
||||
for (let i = 0; i < 30000; i++) {
|
||||
s += numbers[i];
|
||||
}
|
||||
console.log(s);
|
||||
Reference in New Issue
Block a user