- Timestamp:
- Apr 8, 2009, 12:48:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/performance_tests/okushiri/run_okushiri_profile.py
r5442 r6766 83 83 t0 = time.time() 84 84 85 s = 'for t in domain.evolve(yieldstep = 0.05, finaltime = 2 ): domain.write_time()'85 s = 'for t in domain.evolve(yieldstep = 0.05, finaltime = 22.5): domain.write_time()' 86 86 87 87 import profile, pstats … … 93 93 94 94 S = pstats.Stats(FN) 95 s = S.sort_stats('time').print_stats( 50)95 s = S.sort_stats('time').print_stats(20) 96 96 #s = S.sort_stats('cumulative').print_stats(30) 97 97 98 s.print_callers()99 print s98 #s.print_callers() 99 #print s 100 100
Note: See TracChangeset
for help on using the changeset viewer.