Mercurial > public > mercurial-scm > hg-stable
comparison contrib/perf-utils/perf-revlog-write-plot.py @ 48966:6000f5b25c9b
py2: remove simple from __future__ statements
These were needed for Python 2 support. Now that our linter no longer
mandates these, we can start deleting them.
Differential Revision: https://phab.mercurial-scm.org/D12254
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 03 Mar 2022 17:34:00 +0100 |
parents | c102b704edb5 |
children | 3e84e001b6c1 |
comparison
equal
deleted
inserted
replaced
48965:af0b21d5a930 | 48966:6000f5b25c9b |
---|---|
7 # | 7 # |
8 # This script use the output of `hg perfrevlogwrite -T json --details` to draw | 8 # This script use the output of `hg perfrevlogwrite -T json --details` to draw |
9 # various plot related to write performance in a revlog | 9 # various plot related to write performance in a revlog |
10 # | 10 # |
11 # usage: perf-revlog-write-plot.py details.json | 11 # usage: perf-revlog-write-plot.py details.json |
12 from __future__ import absolute_import, print_function | |
13 import json | 12 import json |
14 import re | 13 import re |
15 | 14 |
16 import numpy as np | 15 import numpy as np |
17 import scipy.signal | 16 import scipy.signal |