Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
gopip: *** PROFILER RESULTS *** sortResults (Products/ZCatalog/Catalog.py:549) function called 7 times (2 calls not profiled) 25111 function calls (25106 primitive calls) in 0.039 CPU seconds Ordered by: cumulative time, internal time, call count ncalls tottime percall cumtime percall filename:lineno(function) 5 0.031 0.006 0.039 0.008 Catalog.py:549(sortResults) ---------------------------------------------------------------------------- nogopip: *** PROFILER RESULTS *** sortResults (Products/ZCatalog/Catalog.py:549) function called 7 times (2 calls not profiled) 150346 function calls (150341 primitive calls) in 0.456 CPU seconds Ordered by: cumulative time, internal time, call count ncalls tottime percall cumtime percall filename:lineno(function) 5 0.344 0.069 0.456 0.091 Catalog.py:549(sortResults) 5 0.044 0.009 0.106 0.021 nogopip.py:23(documentToKeyMap) 5 0.004 0.001 0.037 0.007 default.py:133(idsInOrder)
This paste will be private.
From the Design Piracy series on my blog: