Hi all,
Following Tuesday's discussion on slowness of IMP on some instances - all
should be reminded of the powerful --cpu_profile IMP flag. Just add it to
your command line, and IMP will generate a profiling file that you can view
with google profiler as a tree:
pprof --gv <your-binary-file>
<the-profile-info-file-generated-by-cpu_profile-flag>
it's almost certain you can at least double the performance of your app
with a few simple steps. Likely more. Try to apply it to a long process
(>60 seconds) so you will profile the interesting parts of your process,
and not the overhead of loading files, etc.
--
Barak