nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ci: propose a docker-compose to handle services tests locally
[nit.git]
/
tests
/
bench_send.nit
diff --git
a/tests/bench_send.nit
b/tests/bench_send.nit
index
5659ee1
..
0937117
100644
(file)
--- a/
tests/bench_send.nit
+++ b/
tests/bench_send.nit
@@
-44,8
+44,11
@@
class A
end
fun baz
do
+ i += 1
end
+ var i = 0
+
init
do
end
@@
-101,7
+104,12
@@
var i = 0
var n = 10
if args.not_empty then n = args.first.to_i
-while i < 1.lshift(n) do
+while i < 1 << n do
a.hop(b, c, d)
i = i + 1
end
+
+print a.i
+print b.i
+print c.i
+print d.i