equal
deleted
inserted
replaced
46 locale.setlocale(locale.LC_ALL, '') |
46 locale.setlocale(locale.LC_ALL, '') |
47 os.environ['ESCDELAY'] = '25' # do not wait 1 second after pressing Escape key |
47 os.environ['ESCDELAY'] = '25' # do not wait 1 second after pressing Escape key |
48 app = MyApplication() |
48 app = MyApplication() |
49 #app.start() |
49 #app.start() |
50 |
50 |
51 cProfile.run('app.start()', 'appstats') |
51 cProfile.run('app.start()', 'demo_window.appstats') |
52 p = pstats.Stats('appstats') |
52 p = pstats.Stats('demo_window.appstats') |
53 p.sort_stats('time', 'cumulative').print_stats(20) |
53 p.sort_stats('time', 'cumulative').print_stats(20) |
54 |
54 |