Skip to content

Commit 9147430

Browse files
committed
Pin pyperf to 2.8.0
Update test_commands to reflect a change how pyperf reports data.
1 parent 6d07201 commit 9147430

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pyperformance/requirements/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ psutil==5.9.5
1010
# via
1111
# -r requirements.in
1212
# pyperf
13-
pyperf==2.7.0
13+
pyperf==2.8.0
1414
# via -r requirements.in

pyperformance/tests/test_commands.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def test_compare_single_value(self):
399399
Performance version: 0.2
400400
401401
### call_simple ###
402-
7896.0 kB -> 7900.0 kB: 1.00x larger
402+
7896.0 KiB -> 7900.0 KiB: 1.00x larger
403403
''').lstrip())
404404

405405
def test_compare_csv(self):
@@ -458,11 +458,11 @@ def test_compare_table_single_value(self):
458458
459459
Performance version: 0.2
460460
461-
+-------------+-----------+-----------+--------------+------------------------------------------+
462-
| Benchmark | mem1.json | mem2.json | Change | Significance |
463-
+=============+===========+===========+==============+==========================================+
464-
| call_simple | 7896.0 kB | 7900.0 kB | 1.00x larger | (benchmark only contains a single value) |
465-
+-------------+-----------+-----------+--------------+------------------------------------------+
461+
+-------------+------------+------------+--------------+------------------------------------------+
462+
| Benchmark | mem1.json | mem2.json | Change | Significance |
463+
+=============+============+============+==============+==========================================+
464+
| call_simple | 7896.0 KiB | 7900.0 KiB | 1.00x larger | (benchmark only contains a single value) |
465+
+-------------+------------+------------+--------------+------------------------------------------+
466466
''').lstrip())
467467

468468

0 commit comments

Comments
 (0)