Skip to content Skip to sidebar Skip to footer
Showing posts with the label Profiling

How Can I "hook Into" Python From C++ When It Executes A Function? My Goal Is To Profile

I'm implementing a profiler in an application and I'm a little flummoxed about how to imple… Read more How Can I "hook Into" Python From C++ When It Executes A Function? My Goal Is To Profile

Python Line-by-line Memory Profiler?

I'm looking to generate, from a large Python codebase, a summary of heap usage or memory alloca… Read more Python Line-by-line Memory Profiler?

Time Python Scripts Using Ipython Magic

How can I time the execution of a Python script using the iPython %time or %%timeit magic commands?… Read more Time Python Scripts Using Ipython Magic

Python Generator Vs Callback Function

I have a class that solves an exact cover problem using a recursive, backtracking algorithm. Origin… Read more Python Generator Vs Callback Function

Speeding Up Datetime.strptime

I am using the following piece of code to extract a date from a string: try: my_date = datetime… Read more Speeding Up Datetime.strptime

How To Obtain How Much Time Is Spent In F2py Wrappers

I am currently writing a time consuming python program and decided to rewrite part of the program i… Read more How To Obtain How Much Time Is Spent In F2py Wrappers