diff --git a/test_copybara.text b/test_copybara.text new file mode 100644 index 00000000..51ff3616 --- /dev/null +++ b/test_copybara.text @@ -0,0 +1 @@ +text copybara, DO NOT SUBMIT \ No newline at end of file diff --git a/tpu_raiden/benchmarks/perf_core.py b/tpu_raiden/benchmarks/perf_core.py index 7fdbdb8c..bca7e669 100644 --- a/tpu_raiden/benchmarks/perf_core.py +++ b/tpu_raiden/benchmarks/perf_core.py @@ -196,7 +196,8 @@ def once(): t0 = time.perf_counter() manager.d2h(src_offsets_major_dim=offsets, dst_offsets_major_dim=offsets, copy_sizes_major_dim=sizes).Await() - d2h = time.perf_counter() - t0 + d2h = time.perf_counter() - t0 + 1.0 # 1s delay + time.sleep(1) gc.enable(); gc.collect() gc.disable() t0 = time.perf_counter()