Skip to content

Commit 87ae78c

Browse files
pmkccopybara-github
authored andcommitted
Stop using np.sum for generators of floats.
PiperOrigin-RevId: 853400705
1 parent d5e21e4 commit 87ae78c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

perfkitbenchmarker/linux_benchmarks/object_storage_service_benchmark.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ def ProcessMultiStreamResults(
713713
results.append(
714714
sample.Sample(
715715
'Multi-stream ' + operation + ' net throughput',
716-
np.sum((
716+
sum((
717717
size / active_time * 8
718718
for size, active_time in zip(
719719
total_active_sizes, total_active_times
@@ -726,7 +726,7 @@ def ProcessMultiStreamResults(
726726
results.append(
727727
sample.Sample(
728728
'Multi-stream ' + operation + ' net throughput (with gap)',
729-
np.sum((
729+
sum((
730730
size / duration * 8
731731
for size, duration in zip(total_active_sizes, active_durations)
732732
)),

0 commit comments

Comments
 (0)