tracemalloc.Snapshot.compare_to()
  • References/Python/Python/Debugging & Profiling

compare_to(old_snapshot: Snapshot, group_by: str, cumulative: bool=False) Compute the differences with an old snapshot. Get

2025-01-10 15:47:30
timeit.timeit()
  • References/Python/Python/Debugging & Profiling

timeit.timeit(stmt='pass', setup='pass', timer=, number=1000000, globals=None) Create a Timer instance with the

2025-01-10 15:47:30
trace.CoverageResults.write_results()
  • References/Python/Python/Debugging & Profiling

write_results(show_missing=True, summary=False, coverdir=None) Write coverage results. Set show_missing to show lines

2025-01-10 15:47:30
bdb.Bdb.runctx()
  • References/Python/Python/Debugging & Profiling

runctx(cmd, globals, locals) For backwards compatibility. Calls the run() method.

2025-01-10 15:47:30
bdb.Bdb.stop_here()
  • References/Python/Python/Debugging & Profiling

stop_here(frame) This method checks if the frame is somewhere below botframe in the call stack. botframe

2025-01-10 15:47:30
bdb.Bdb.user_exception()
  • References/Python/Python/Debugging & Profiling

user_exception(frame, exc_info) This method is called from dispatch_exception() when stop_here() yields

2025-01-10 15:47:30
profile.Profile.runcall()
  • References/Python/Python/Debugging & Profiling

runcall(func, *args, **kwargs) Profile func(*args, **kwargs)

2025-01-10 15:47:30
pstats.Stats.add()
  • References/Python/Python/Debugging & Profiling

add(*filenames) This method of the Stats class accumulates additional profiling information into the current profiling

2025-01-10 15:47:30
bdb.Bdb.user_return()
  • References/Python/Python/Debugging & Profiling

user_return(frame, return_value) This method is called from dispatch_return() when stop_here() yields

2025-01-10 15:47:30
profile.Profile.run()
  • References/Python/Python/Debugging & Profiling

run(cmd) Profile the cmd via

2025-01-10 15:47:30