##// END OF EJS Templates
perf: add historical portability policy for future reference
FUJIWARA Katsunori -
r29493:4533f5b4 default
parent child Browse files
Show More
@@ -1,6 +1,23 b''
1 # perf.py - performance test routines
1 # perf.py - performance test routines
2 '''helper extension to measure performance'''
2 '''helper extension to measure performance'''
3
3
4 # "historical portability" policy of perf.py:
5 #
6 # We have to do:
7 # - make perf.py "loadable" with as wide Mercurial version as possible
8 # This doesn't mean that perf commands work correctly with that Mercurial.
9 # BTW, perf.py itself has been available since 1.1 (or eb240755386d).
10 # - make historical perf command work correctly with as wide Mercurial
11 # version as possible
12 #
13 # We have to do, if possible with reasonable cost:
14 # - make recent perf command for historical feature work correctly
15 # with early Mercurial
16 #
17 # We don't have to do:
18 # - make perf command for recent feature work correctly with early
19 # Mercurial
20
4 from __future__ import absolute_import
21 from __future__ import absolute_import
5 import functools
22 import functools
6 import os
23 import os
General Comments 0
You need to be logged in to leave comments. Login now