contrib/perf-utils/perf-revlog-write-plot.py
changeset 48875 6000f5b25c9b
parent 45830 c102b704edb5
equal deleted inserted replaced
48874:af0b21d5a930 48875: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