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
+12
View File
@@ -0,0 +1,12 @@
func add_one:
var x = %in
var y = ${x} + 1 calc
push_out ${y}
return
var i = 0
while ${i} < 60000:
call add_one with ${i}
var i = %out
end_while
print_line ${i}