diff options
Diffstat (limited to 'docutils/tools/dev/profile_docutils.py')
| -rwxr-xr-x | docutils/tools/dev/profile_docutils.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docutils/tools/dev/profile_docutils.py b/docutils/tools/dev/profile_docutils.py index 90b083787..d31ba6fd0 100755 --- a/docutils/tools/dev/profile_docutils.py +++ b/docutils/tools/dev/profile_docutils.py @@ -8,25 +8,25 @@ import os.path import docutils.core import hotshot.stats -print 'Profiler started.' +print('Profiler started.') os.chdir(os.path.join(os.path.dirname(docutils.__file__), '..')) -print 'Profiling...' +print('Profiling...') prof = hotshot.Profile('docutils.prof') prof.runcall(docutils.core.publish_file, source_path='HISTORY.txt', destination_path='prof.HISTORY.html', writer_name='html') prof.close() -print 'Loading statistics...' +print('Loading statistics...') -print """ +print(""" stats = hotshot.stats.load('docutils.prof') stats.strip_dirs() stats.sort_stats('time') # 'cumulative'; 'calls' stats.print_stats(40) -""" +""") stats = hotshot.stats.load('docutils.prof') stats.strip_dirs() |
