12 lines
277 B
Text
12 lines
277 B
Text
|
|
iterations = 100000
|
||
|
|
|
||
|
|
for j = 2 to 4
|
||
|
|
a = peek("millisrunning")
|
||
|
|
for i = 1 to iterations
|
||
|
|
void = i + j^2
|
||
|
|
next
|
||
|
|
dif = peek("millisrunning") - a
|
||
|
|
print "take ", dif, " ms";
|
||
|
|
print " or ", iterations / dif * 1000 using "########", " sums per second"
|
||
|
|
next
|