mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
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
|
||||
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):
|
||||
|
Loading…
Reference in New Issue
Block a user