Try Python profiler with text_tag scripts.