Skip to content

Commit 34e7671

Browse files
dianaclarkelidavidm
authored andcommitted
ARROW-11539: [Developer][Archery] Change items_per_seconds units
Closes #9433 from dianaclarke/ARROW-11539 and squashes the following commits: 4041d49 <Diana Clarke> ARROW-11539: Change items_per_seconds units Authored-by: Diana Clarke <diana.joan.clarke@gmail.com> Signed-off-by: David Li <li.davidm96@gmail.com>
1 parent d6fee75 commit 34e7671

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dev/archery/archery/benchmark/compare.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ def items_per_seconds_fmt(value):
2525
if value < 1000:
2626
return "{} items/sec".format(value)
2727
if value < 1000**2:
28-
return "{:.3f}k items/sec".format(value / 1000)
28+
return "{:.3f}K items/sec".format(value / 1000)
2929
if value < 1000**3:
30-
return "{:.3f}m items/sec".format(value / 1000**2)
30+
return "{:.3f}M items/sec".format(value / 1000**2)
3131
else:
32-
return "{:.3f}b items/sec".format(value / 1000**3)
32+
return "{:.3f}G items/sec".format(value / 1000**3)
3333

3434

3535
def bytes_per_seconds_fmt(value):

0 commit comments

Comments
 (0)