Optimization

From Daya Bay
Jump to navigation Jump to search

General page for code optimization

See also

20130104

/Users/djaffe/Documents/Reactor/work/r19204/external/ipython/0.13.1_python2.7/i386-darwin-gcc42-opt/lib/python2.7/site-packages/IPython/utils/rlineimpl.py:111: RuntimeWarning: 
******************************************************************************
libedit detected - readline will not be well behaved, including but not limited to:
   * crashes on tab completion
   * incorrect history navigation
   * corrupting long-lines
   * failure to wrap or indent lines properly
It is highly recommended that you install readline, which is easy_installable:
     easy_install readline
Note that `pip install readline` generally DOES NOT WORK, because
it installs to site-packages, which come *after* lib-dynload in sys.path,
where readline is located.  It must be `easy_install readline`, or to a custom
location on your PYTHONPATH (even --user comes after lib-dyload).
******************************************************************************
  RuntimeWarning)
  • lets do some profiling...
 nuwa.py -n -1 @$KUP11ASHARE/runReco @$KUP11ASHARE/runTags @$KUP11ASHARE/runODM @$KUP11ASHARE/runFilters -o recon_r19204.root ../data/daq.Neutrino.0022647.Physics.EH1-Merged.SFO-1._0205.data >& r19204.log 2>&1 < /dev/null &

20140113

 
$ nuwa.py -n -1 @$KUP11ASHARE/runReco @$KUP11ASHARE/runTags @$KUP11ASHARE/runODM @$KUP11ASHARE/runFilters -o recon_r22e73.root ../data/daq.Neutrino.0022647.Physics.EH1-Merged.SFO-1._0205.data >& r22373.log 2>&1 < /dev/null &