##// END OF EJS Templates
Fix %timeit for slow functions, by Prabhu Ramachandran....
Fix %timeit for slow functions, by Prabhu Ramachandran. From his submission on the list: Lets say you have a function that takes 2 seconds to evaluate. With the original code you are going to run that function 10 times regardless of the fact that it already takes 2 seconds and with the original code, timing this will take at least 60 seconds (with repeat=3) which is way too much.

File last commit:

r1338:72652d65
r1920:1a1bcdc2
Show More
new_config.txt
26 lines | 1005 B | text/plain | TextLexer
========================
New configuration system
========================
IPython has a configuration system. When running IPython for the first time,
reasonable defaults are used for the configuration. The configuration of IPython
can be changed in two ways:
* Configuration files
* Commands line options (which override the configuration files)
IPython has a separate configuration file for each subpackage. Thus, the main
configuration files are (in your ``~/.ipython`` directory):
* ``ipython1.core.ini``
* ``ipython1.kernel.ini``
* ``ipython1.notebook.ini``
To create these files for the first time, do the following::
from IPython.kernel.config import config_manager as kernel_config
kernel_config.write_default_config_file()
But, you should only need to do this if you need to modify the defaults. If needed
repeat this process with the ``notebook`` and ``core`` configuration as well. If you
are running into problems with IPython, you might try deleting these configuration
files.