This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Function approximation via adaptive sampling + using it for root finding. | |
""" | |
# Pauli Virtanen <pav@iki.fi>, 2014 | |
from __future__ import division, print_function, absolute_import | |
import numpy as np | |
from scipy import interpolate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/pandas/asv_bench$ asv continuous -e 6c30cbecf8 upstream/master | |
before after ratio | |
[6c30cbec] [e5ed87b3] | |
+ 390.54μs 3.23ms 8.27 stat_ops.stats_rolling_mean.time_rolling_sum | |
+ 686.33μs 3.47ms 5.06 stat_ops.stats_rolling_mean.time_rolling_mean | |
+ 22.32ms 110.21ms 4.94 gil.nogil_rolling_algos_fast.time_nogil_rolling_mean | |
+ 69.84ms 305.07ms 4.37 groupby.groupby_multi.time_groupby_multi_python | |
+ 14.66ms 57.83ms 3.95 timedelta.timedelta_convert_string.time_timedelta_convert_string | |
+ 1.01ms 3.86ms 3.82 stat_ops.stats_rolling_mean.time_rolling_var | |
+ 17.75ms 56.57ms 3.19 timedelta.timedelta_convert_string_seconds.time_timedelta_convert_string_seconds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import division, absolute_import, print_function | |
import numpy as np | |
import os | |
import gzip | |
import subprocess | |
import time | |
import joblib | |
import matplotlib.pyplot as plt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> scipy.linalg.test('full', verbose=2) | |
Running unit tests for scipy.linalg | |
NumPy version 1.7.2 | |
NumPy is installed in C:\python34\lib\site-packages\numpy | |
SciPy version 0.17.0.dev0+Unknown | |
SciPy is installed in C:\python34\lib\site-packages\scipy | |
Python version 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:24:06) [MSC v.1600 32 bit (Intel)] | |
nose version 1.1.2 | |
test_check_finite (test_basic.TestDet) ... ok | |
test_random (test_basic.TestDet) ... ok |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/runtests.py b/runtests.py | |
index 9376ae5..dfe2534 100755 | |
--- a/runtests.py | |
+++ b/runtests.py | |
@@ -197,10 +197,19 @@ def main(argv): | |
bench_args.extend(['--bench', a]) | |
if not args.bench_compare: | |
+ # Above, we built numpy using the current sys.executable, so we | |
+ # need also to run asv using it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make clean html | |
rm -rf _build/* | |
sphinx-build -b html -d _build/doctrees . _build/html | |
Running Sphinx v1.3.1 | |
making output directory... | |
loading pickled environment... not yet created | |
building [mo]: targets for 0 po files that are out of date | |
building [html]: targets for 1 source files that are out of date | |
updating environment: 1 added, 0 changed, 0 removed | |
reading sources... [100%] index |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.pyc | |
*.log | |
*~ | |
.#* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*~ | |
*.so | |
*.pyc | |
*.pyxbldc | |
/_slds.c | |
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Statement from http://www.netlib.org/lapack/revisions.info.3.1 | |
*** | |
The interfaces to primary computational routines are fixed and | |
will not be changed by minor LAPACK versions (e.g. 3.x). | |
Primary routines are those prefixed by a precision and matrix | |
type like SGERFS, CUNMQR, ZHEGV, etc., and these interfaces | |
will remain the same for all LAPACK version 3 versions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NB. runtime of the following was 6 minutes | |
(asv-benchmarks):~/prj/scipy/scipy/benchmarks$ ./run.py find 7ff4e907^..99aff1e4 sparse_linalg_lobpcg.Bench.time_sakurai -e | |
· Fetching recent changes.. | |
· Creating environments | |
· Installing dependencies.. | |
· Discovering benchmarks.. | |
·· Uninstalling from py2.7-Cython0.21.1-Tempita0.5.2-numpy1.8.2-six | |
·· Installing into py2.7-Cython0.21.1-Tempita0.5.2-numpy1.8.2-six.. | |
· Running approximately 4 benchmarks within 23 commits |