Skip to content

Apache DataFusion SQL Query Engine

ARROW-11539: [Developer][Archery] Change items_per_seconds units

Diana Clarkec8e0eb7f7b08
diff --git a/dev/archery/archery/benchmark/compare.py b/dev/archery/archery/benchmark/compare.py
index 474f6d4006..622b801791 100644
--- a/dev/archery/archery/benchmark/compare.py
+++ b/dev/archery/archery/benchmark/compare.py
@@ -25,11 +25,11 @@ def items_per_seconds_fmt(value):
if value < 1000:
return "{} items/sec".format(value)
if value < 1000**2:
- return "{:.3f}k items/sec".format(value / 1000)
+ return "{:.3f}K items/sec".format(value / 1000)
if value < 1000**3:
- return "{:.3f}m items/sec".format(value / 1000**2)
+ return "{:.3f}M items/sec".format(value / 1000**2)
else:
- return "{:.3f}b items/sec".format(value / 1000**3)
+ return "{:.3f}G items/sec".format(value / 1000**3)
def bytes_per_seconds_fmt(value):