forked from M-Labs/artiq
examples/speed_benchmark: send 1MB in one RPC
This commit is contained in:
parent
33531c2f3b
commit
89343ae276
|
@ -42,11 +42,8 @@ class _PayloadCoreSend1MB(EnvExperiment):
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def run(self):
|
def run(self):
|
||||||
# FIXME: make this a single list
|
data = [0 for _ in range(1000000//4)]
|
||||||
# affected by issue #82 at the moment
|
self.devnull(data)
|
||||||
data = [0 for _ in range(20000//4)]
|
|
||||||
for i in range(50):
|
|
||||||
self.devnull(data)
|
|
||||||
|
|
||||||
|
|
||||||
class _PayloadCorePrimes(EnvExperiment):
|
class _PayloadCorePrimes(EnvExperiment):
|
||||||
|
|
Loading…
Reference in New Issue