mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 18:52:26 +00:00
18 lines
447 B
Python
18 lines
447 B
Python
import profile
|
|
import pstats
|
|
import pyste
|
|
|
|
import psyco
|
|
import elementtree.XMLTreeBuilder as XMLTreeBuilder
|
|
import GCCXMLParser
|
|
|
|
|
|
if __name__ == '__main__':
|
|
#psyco.bind(XMLTreeBuilder.fixtext)
|
|
#psyco.bind(XMLTreeBuilder.fixname)
|
|
#psyco.bind(XMLTreeBuilder.TreeBuilder)
|
|
#psyco.bind(GCCXMLParser.GCCXMLParser)
|
|
profile.run('pyste.Main()', 'profile')
|
|
p = pstats.Stats('profile')
|
|
p.strip_dirs().sort_stats(-1).print_stats()
|