File tree 3 files changed +8
-1
lines changed
3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 2
2
====
3
3
4
4
* Repair PyPy on Travis
5
- * Reject --tracemalloc in bench_command()
6
5
* BUG: "python pyperf timeit --compare-to=pypy" doesn't tune correctly the runner
7
6
for pypy. pypy requires more warmup values (10) than cpython (1).
8
7
* BUG: --duplicate of timeit must be ignored in PyPy, see the discussion
Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
3
4
+ Version 2.4.1
5
+ -------------
6
+
7
+ * Reject --tracemalloc in ``pyperf command ``.
8
+ Patch by Yichen Yan
9
+
4
10
Version 2.4.0 (2022-07-20)
5
11
--------------------------
6
12
Original file line number Diff line number Diff line change @@ -324,6 +324,8 @@ def _process_args_impl(self):
324
324
self ._only_in_worker ("--worker-task" )
325
325
326
326
if args .tracemalloc :
327
+ if args .action == 'command' :
328
+ raise CLIError ('--tracemalloc cannot be used with pyperf command' )
327
329
try :
328
330
import tracemalloc # noqa
329
331
except ImportError as exc :
You can’t perform that action at this time.
0 commit comments