Suchergebnisse für Anfrage "pstats"

2 die antwort

Wie kann ich eine mit pstats.dump_stats (filename) offline erstellte Datei analysieren?

Ich habe im Wesentlichen Folgendes getan: import cProfile, pstats, StringIO pr = cProfile.Profile() pr.enable() # ... my code did something ... pr.disable() s = StringIO.StringIO() sortby = 'cumulative' ps = pstats.Stats(pr, ...

TOP-Veröffentlichungen