From e285fe0d566777343b615083391eee15829a5194 Mon Sep 17 00:00:00 2001 From: whitequark Date: Sun, 12 Aug 2018 20:17:37 +0000 Subject: [PATCH] test: tighten required TransferTest timings. smoltcp performs significantly better with LTO. --- artiq/test/coredevice/test_performance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/test/coredevice/test_performance.py b/artiq/test/coredevice/test_performance.py index 19d1a41af..9d423714d 100644 --- a/artiq/test/coredevice/test_performance.py +++ b/artiq/test/coredevice/test_performance.py @@ -44,7 +44,7 @@ class TransferTest(ExperimentCase): exp = self.create(_Transfer) host_to_device_rate = exp.host_to_device() print(host_to_device_rate, "B/s") - self.assertGreater(host_to_device_rate, 1.8e6) + self.assertGreater(host_to_device_rate, 2.1e6) @unittest.skipUnless(artiq_low_latency, "timings are dependent on CPU load and network conditions") @@ -52,7 +52,7 @@ class TransferTest(ExperimentCase): exp = self.create(_Transfer) device_to_host_rate = exp.device_to_host() print(device_to_host_rate, "B/s") - self.assertGreater(device_to_host_rate, 1.8e6) + self.assertGreater(device_to_host_rate, 2.4e6) class _KernelOverhead(EnvExperiment):