forked from M-Labs/artiq
1
0
Fork 0

examples/speed_benchmark: send 1MB in one RPC

This commit is contained in:
Sebastien Bourdeauducq 2015-07-31 18:23:11 +08:00
parent 33531c2f3b
commit 89343ae276
1 changed files with 2 additions and 5 deletions

View File

@ -42,11 +42,8 @@ class _PayloadCoreSend1MB(EnvExperiment):
@kernel
def run(self):
# FIXME: make this a single list
# affected by issue #82 at the moment
data = [0 for _ in range(20000//4)]
for i in range(50):
self.devnull(data)
data = [0 for _ in range(1000000//4)]
self.devnull(data)
class _PayloadCorePrimes(EnvExperiment):