diff options
author | Leonard Richardson <leonard.richardson@canonical.com> | 2013-06-03 08:58:59 -0400 |
---|---|---|
committer | Leonard Richardson <leonard.richardson@canonical.com> | 2013-06-03 08:58:59 -0400 |
commit | c8545a7b00a77d2f606620ef69b36b35291d8174 (patch) | |
tree | 2d4ee494b03ca80718fc77bc7b0556dde72b080d /bs4/diagnose.py | |
parent | b25f977fdae354fa15de789116e54e95d84d3d28 (diff) |
Improved performance of _replace_cdata_list_attribute_values, and greatly reduced the number of times it is called.
Diffstat (limited to 'bs4/diagnose.py')
-rw-r--r-- | bs4/diagnose.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bs4/diagnose.py b/bs4/diagnose.py index b6eaa8d..c5a0c06 100644 --- a/bs4/diagnose.py +++ b/bs4/diagnose.py @@ -192,7 +192,7 @@ def profile(num_elements=100000, parser="lxml"): stats.strip_dirs() cumulative = stats.sort_stats("cumulative") total = stats.sort_stats("time") - import pdb; pdb.set_trace() + cumulative.print_stats(50) if __name__ == '__main__': #diagnose(sys.stdin.read()) |