Skip to content

Instantly share code, notes, and snippets.

@kapadia
Last active July 28, 2017 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kapadia/d77dc5a4afe8d547786c6e42593aff80 to your computer and use it in GitHub Desktop.
Save kapadia/d77dc5a4afe8d547786c6e42593aff80 to your computer and use it in GitHub Desktop.
· Running 111 total benchmarks (1 commits * 1 environments * 111 benchmarks)
[ 0.00%] ·· Building for existing-py_usr_bin_python
[ 0.00%] ·· Benchmarking existing-py_usr_bin_python
[ 0.90%] ··· Running bench_app.LaplaceInplace.time_it ok
[ 0.90%] ····
========= ==========
update
--------- ----------
inplace 208.85ms
normal 359.32ms
========= ==========
[ 1.80%] ··· Running bench_app.MaxesOfDots.time_it 4.54ms
[ 2.70%] ··· Running bench_core.Core.time_arange_100 39.77μs
[ 3.60%] ··· Running bench_core.Core.time_array_1 14.45μs
[ 4.50%] ··· Running bench_core.Core.time_array_empty 16.81μs
[ 5.41%] ··· Running bench_core.Core.time_array_l 45.69μs
[ 6.31%] ··· Running bench_core.Core.time_array_l1 26.14μs
[ 7.21%] ··· Running bench_core.Core.time_array_l100 27.13μs
[ 8.11%] ··· Running bench_core.Core.time_diag_l100 117.26μs
[ 9.01%] ··· Running bench_core.Core.time_diagflat_l100 266.01μs
[ 9.91%] ··· Running bench_core.Core.time_diagflat_l50_l50 163.97μs
[ 10.81%] ··· Running bench_core.Core.time_dstack_l 80.32μs
[ 11.71%] ··· Running bench_core.Core.time_empty_100 26.57μs
[ 12.61%] ··· Running bench_core.Core.time_eye_100 93.06μs
[ 13.51%] ··· Running bench_core.Core.time_eye_3000 31.33ms
[ 14.41%] ··· Running bench_core.Core.time_hstack_l 47.31μs
[ 15.32%] ··· Running bench_core.Core.time_identity_100 82.35μs
[ 16.22%] ··· Running bench_core.Core.time_identity_3000 16.02ms
[ 17.12%] ··· Running bench_core.Core.time_ones_100 27.39μs
[ 18.02%] ··· Running bench_core.Core.time_tril_l10x10 142.74μs
[ 18.92%] ··· Running bench_core.Core.time_triu_l10x10 124.07μs
[ 19.82%] ··· Running bench_core.Core.time_vstack_l 64.99μs
[ 20.72%] ··· Running bench_core.Core.time_zeros_100 22.89μs
[ 21.62%] ··· Running bench_core.MA.time_masked_array 90.50μs
[ 22.52%] ··· Running bench_core.MA.time_masked_array_l100 795.42μs
[ 23.42%] ··· Running bench_core.MA.time_masked_array_l100_t100 152.16μs
[ 24.32%] ··· Running bench_function_base.Bincount.time_bincount 534.60μs
[ 25.23%] ··· Running bench_function_base.Bincount.time_weights 867.33μs
[ 26.13%] ··· Running bench_function_base.Median.time_even 684.47μs
[ 27.03%] ··· Running bench_function_base.Median.time_even_inplace 319.11μs
[ 27.93%] ··· Running bench_function_base.Median.time_even_small 274.68μs
[ 28.83%] ··· Running bench_function_base.Median.time_odd 299.09μs
[ 29.73%] ··· Running bench_function_base.Median.time_odd_inplace 258.80μs
[ 30.63%] ··· Running bench_function_base.Median.time_odd_small 299.72μs
[ 31.53%] ··· Running bench_function_base.Percentile.time_percentile 419.18μs
[ 32.43%] ··· Running bench_function_base.Percentile.time_quartile 512.14μs
[ 33.33%] ··· Running bench_function_base.Select.time_select 326.07μs
[ 34.23%] ··· Running bench_function_base.Select.time_select_larger 1.12ms
[ 35.14%] ··· Running bench_function_base.Sort.time_argsort 194.99μs
[ 36.04%] ··· Running bench_function_base.Sort.time_sort 177.92μs
[ 36.94%] ··· Running bench_function_base.Sort.time_sort_inplace 125.13μs
[ 37.84%] ··· Running bench_function_base.Where.time_1 156.67μs
[ 38.74%] ··· Running bench_function_base.Where.time_2 198.35μs
[ 39.64%] ··· Running bench_function_base.Where.time_2_broadcast 214.12μs
[ 40.54%] ··· Running bench_indexing.Indexing.time_op ok
[ 40.54%] ····
=============== ============== ========== ==========
-- op
------------------------------ ---------------------
indexes sel '' =1
=============== ============== ========== ==========
indexes_ I 513.61μs 580.10μs
indexes_ :,I 803.28μs 1.80ms
indexes_ np.ix_(I, I) 1.15ms 1.92ms
indexes_rand_ I 395.72μs 487.29μs
indexes_rand_ :,I 697.52μs 1.25ms
indexes_rand_ np.ix_(I, I) 1.50ms 1.98ms
=============== ============== ========== ==========
[ 41.44%] ··· Running bench_indexing.IndexingSeparate.time_mmap_fancy_indexing 4.76ms
[ 42.34%] ··· Running bench_indexing.IndexingSeparate.time_mmap_slicing 1.66ms
[ 43.24%] ··· Running bench_indexing.IndexingStructured0D.time_array_all 20.47μs
[ 44.14%] ··· Running bench_indexing.IndexingStructured0D.time_array_slice 18.48μs
[ 45.05%] ··· Running bench_indexing.IndexingStructured0D.time_scalar_all 24.29μs
[ 45.95%] ··· Running bench_indexing.IndexingStructured0D.time_scalar_slice 28.62μs
[ 46.85%] ··· Running bench_io.Copy.time_cont_assign ok
[ 46.85%] ····
============ =========
type
------------ ---------
int8 46.01μs
int16 46.11μs
float32 46.18μs
float64 46.07μs
complex64 48.72μs
complex128 68.19μs
============ =========
[ 47.75%] ··· Running bench_io.Copy.time_memcpy ok
[ 47.75%] ····
============ =========
type
------------ ---------
int8 37.76μs
int16 41.88μs
float32 50.94μs
float64 59.07μs
complex64 70.23μs
complex128 76.94μs
============ =========
[ 48.65%] ··· Running bench_io.Copy.time_strided_assign ok
[ 48.65%] ····
============ =========
type
------------ ---------
int8 49.16μs
int16 55.78μs
float32 45.88μs
float64 49.46μs
complex64 49.05μs
complex128 65.81μs
============ =========
[ 49.55%] ··· Running bench_io.Copy.time_strided_copy ok
[ 49.55%] ····
============ =========
type
------------ ---------
int8 76.95μs
int16 58.55μs
float32 63.04μs
float64 66.08μs
complex64 79.88μs
complex128 84.41μs
============ =========
[ 50.45%] ··· Running bench_io.CopyTo.time_copyto 45.76μs
[ 51.35%] ··· Running bench_io.CopyTo.time_copyto_8_dense 115.82μs
[ 52.25%] ··· Running bench_io.CopyTo.time_copyto_8_sparse 137.89μs
[ 53.15%] ··· Running bench_io.CopyTo.time_copyto_dense 28.20μs
[ 54.05%] ··· Running bench_io.CopyTo.time_copyto_sparse 122.57μs
[ 54.95%] ··· Running bench_io.Savez.time_vb_savez_squares 494.85ms
[ 55.86%] ··· Running bench_linalg.Eindot.time_dot_a_b 5.28ms
[ 56.76%] ··· Running bench_linalg.Eindot.time_dot_d_dot_b_c 649.13μs
[ 57.66%] ··· Running bench_linalg.Eindot.time_dot_trans_a_at 1.48ms
[ 58.56%] ··· Running bench_linalg.Eindot.time_dot_trans_a_atc 1.36ms
[ 59.46%] ··· Running bench_linalg.Eindot.time_dot_trans_at_a 3.37ms
[ 60.36%] ··· Running bench_linalg.Eindot.time_dot_trans_atc_a 3.68ms
[ 61.26%] ··· Running bench_linalg.Eindot.time_einsum_i_ij_j 1.29ms
[ 62.16%] ··· Running bench_linalg.Eindot.time_einsum_ij_jk_a_b 17.13ms
[ 63.06%] ··· Running bench_linalg.Eindot.time_einsum_ijk_jil_kl 39.57ms
[ 63.96%] ··· Running bench_linalg.Eindot.time_inner_trans_a_a 1.06ms
[ 64.86%] ··· Running bench_linalg.Eindot.time_inner_trans_a_ac 2.24ms
[ 65.77%] ··· Running bench_linalg.Eindot.time_matmul_a_b 5.15ms
[ 66.67%] ··· Running bench_linalg.Eindot.time_matmul_d_matmul_b_c 351.69μs
[ 67.57%] ··· Running bench_linalg.Eindot.time_matmul_trans_a_at 1.50ms
[ 68.47%] ··· Running bench_linalg.Eindot.time_matmul_trans_a_atc 1.38ms
[ 69.37%] ··· Running bench_linalg.Eindot.time_matmul_trans_at_a 3.07ms
[ 70.27%] ··· Running bench_linalg.Eindot.time_matmul_trans_atc_a 3.57ms
[ 71.17%] ··· Running bench_linalg.Eindot.time_tensordot_a_b_axes_1_0_0_1 7.45ms
[ 72.07%] ··· Running bench_linalg.Linalg.time_op ok
[ 72.07%] ····
====== ============ ==========
op type
------ ------------ ----------
svd int16 7.07ms
svd float16 n/a
svd int32 5.86ms
svd float32 6.25ms
svd int64 6.08ms
svd float64 5.77ms
svd complex64 11.21ms
svd longfloat n/a
svd complex128 10.24ms
svd complex256 n/a
pinv int16 6.31ms
pinv float16 n/a
pinv int32 5.73ms
pinv float32 7.08ms
pinv int64 5.73ms
pinv float64 5.76ms
pinv complex64 11.72ms
pinv longfloat n/a
pinv complex128 11.73ms
pinv complex256 n/a
det int16 322.30μs
det float16 n/a
det int32 308.86μs
det float32 321.74μs
det int64 326.28μs
det float64 339.04μs
det complex64 1.16ms
det longfloat n/a
det complex128 1.76ms
det complex256 n/a
norm int16 94.69μs
norm float16 203.11μs
norm int32 89.35μs
norm float32 95.38μs
norm int64 101.05μs
norm float64 114.28μs
norm complex64 125.66μs
norm longfloat 123.93μs
norm complex128 134.72μs
norm complex256 204.81μs
====== ============ ==========
[ 72.97%] ··· Running bench_linalg.Lstsq.time_numpy_linalg_lstsq_a__b_float64 5.60ms
[ 73.87%] ··· Running bench_random.Randint.time_randint_fast 1.35ms
[ 74.77%] ··· Running bench_random.Randint.time_randint_slow 3.49ms
[ 75.68%] ··· Running bench_random.Randint_dtype.time_randint_fast ok
[ 75.68%] ····
======== ==========
dtype
-------- ----------
bool 193.51μs
uint8 421.03μs
uint16 607.11μs
uint32 906.65μs
uint64 2.06ms
======== ==========
[ 76.58%] ··· Running bench_random.Randint_dtype.time_randint_slow ok
[ 76.58%] ····
======== ==========
dtype
-------- ----------
bool 271.69μs
uint8 1.34ms
uint16 2.04ms
uint32 2.37ms
uint64 3.73ms
======== ==========
[ 77.48%] ··· Running bench_random.Random.time_rng ok
[ 77.48%] ····
================= ==========
param1
----------------- ----------
normal 179.09μs
uniform 139.54μs
weibull 1 799.70μs
binomial 10 0.5 820.06μs
poisson 10 2.55ms
================= ==========
[ 78.38%] ··· Running bench_random.Shuffle.time_100000 2.05ms
[ 79.28%] ··· Running bench_reduce.AddReduce.time_axis_0 37.86ms
[ 80.18%] ··· Running bench_reduce.AddReduce.time_axis_1 22.42ms
[ 81.08%] ··· Running bench_reduce.AddReduceSeparate.time_reduce ok
[ 81.08%] ····
====== ============ ==========
axis type
------ ------------ ----------
0 int16 1.40ms
0 float16 13.80ms
0 int32 1.41ms
0 float32 623.83μs
0 int64 1.30ms
0 float64 1.16ms
0 complex64 1.69ms
0 longfloat 3.67ms
0 complex128 2.19ms
0 complex256 6.95ms
1 int16 1.06ms
1 float16 4.76ms
1 int32 1.49ms
1 float32 752.36μs
1 int64 1.21ms
1 float64 979.20μs
1 complex64 1.12ms
1 longfloat 2.14ms
1 complex128 1.77ms
1 complex256 4.04ms
====== ============ ==========
[ 81.98%] ··· Running bench_reduce.AnyAll.time_all_fast 65.54μs
[ 82.88%] ··· Running bench_reduce.AnyAll.time_all_slow 68.69μs
[ 83.78%] ··· Running bench_reduce.AnyAll.time_any_fast 69.46μs
[ 84.68%] ··· Running bench_reduce.AnyAll.time_any_slow 80.23μs
[ 85.59%] ··· Running bench_reduce.MinMax.time_max ok
[ 85.59%] ····
======================== ==========
dtype
------------------------ ----------
<type 'numpy.float32'> 70.35μs
<type 'numpy.float64'> 81.73μs
<type 'numpy.int64'> 108.49μs
======================== ==========
[ 86.49%] ··· Running bench_reduce.MinMax.time_min ok
[ 86.49%] ····
======================== =========
dtype
------------------------ ---------
<type 'numpy.float32'> 78.68μs
<type 'numpy.float64'> 73.30μs
<type 'numpy.int64'> 87.28μs
======================== =========
[ 87.39%] ··· Running bench_reduce.SmallReduction.time_small 66.73μs
[ 88.29%] ··· Running bench_ufunc.Broadcast.time_broadcast 17.92ms
[ 89.19%] ··· Running bench_ufunc.Custom.time_and_bool 36.75μs
[ 90.09%] ··· Running bench_ufunc.Custom.time_count_nonzero 17.90μs
[ 90.99%] ··· Running bench_ufunc.Custom.time_nonzero 116.43μs
[ 91.89%] ··· Running bench_ufunc.Custom.time_not_bool 42.26μs
[ 92.79%] ··· Running bench_ufunc.Custom.time_or_bool 38.27μs
[ 93.69%] ··· Running bench_ufunc.CustomScalar.time_add_scalar2 ok
[ 93.69%] ····
======================== ==========
dtype
------------------------ ----------
<type 'numpy.float32'> 83.40μs
<type 'numpy.float64'> 126.11μs
======================== ==========
[ 94.59%] ··· Running bench_ufunc.CustomScalar.time_divide_scalar2 ok
[ 94.59%] ····
======================== ==========
dtype
------------------------ ----------
<type 'numpy.float32'> 94.34μs
<type 'numpy.float64'> 141.74μs
======================== ==========
[ 95.50%] ··· Running bench_ufunc.CustomScalar.time_divide_scalar2_inplace ok
[ 95.50%] ····
======================== =========
dtype
------------------------ ---------
<type 'numpy.float32'> 67.35μs
<type 'numpy.float64'> 60.17μs
======================== =========
[ 96.40%] ··· Running bench_ufunc.CustomScalar.time_less_than_scalar2 ok
[ 96.40%] ····
======================== =========
dtype
------------------------ ---------
<type 'numpy.float32'> 63.45μs
<type 'numpy.float64'> 60.71μs
======================== =========
[ 97.30%] ··· Running bench_ufunc.Scalar.time_add_scalar 44.75μs
[ 98.20%] ··· Running bench_ufunc.Scalar.time_add_scalar_conv 31.82μs
[ 99.10%] ··· Running bench_ufunc.Scalar.time_add_scalar_conv_complex 72.34μs
[100.00%] ··· Running bench_ufunc.UFunc.time_ufunc_types ok
[100.00%] ····
=============== ==========
ufunc
--------------- ----------
abs 1.65ms
absolute 1.47ms
add 564.51μs
arccos 8.66ms
arccosh 9.37ms
arcsin 7.12ms
arcsinh 9.54ms
arctan 4.92ms
arctan2 4.11ms
arctanh 4.10ms
bitwise_and 85.72μs
bitwise_not 91.46μs
bitwise_or 100.64μs
bitwise_xor 143.08μs
cbrt 2.31ms
ceil 686.85μs
conj 522.91μs
conjugate 339.78μs
copysign 416.24μs
cos 7.69ms
cosh 8.00ms
deg2rad 550.59μs
degrees 402.33μs
divide 1.54ms
equal 566.73μs
exp 5.57ms
exp2 8.05ms
expm1 6.54ms
fabs 426.03μs
floor 640.12μs
floor_divide 2.49ms
fmax 642.14μs
fmin 629.05μs
fmod 857.53μs
frexp 690.94μs
greater 556.15μs
greater_equal 492.32μs
hypot 1.57ms
invert 66.21μs
isfinite 347.99μs
isinf 395.56μs
isnan 302.84μs
ldexp 377.64μs
left_shift 93.41μs
less 521.17μs
less_equal 521.40μs
log 8.15ms
log10 6.64ms
log1p 4.80ms
log2 5.54ms
logaddexp 666.24μs
logaddexp2 565.54μs
logical_and 537.05μs
logical_not 318.44μs
logical_or 730.58μs
logical_xor 533.04μs
maximum 647.67μs
minimum 577.61μs
mod 1.45ms
modf 767.50μs
multiply 765.88μs
negative 367.40μs
nextafter 754.76μs
not_equal 491.58μs
power 14.31ms
rad2deg 422.62μs
radians 403.07μs
reciprocal 1.10ms
remainder 1.77ms
right_shift 95.21μs
rint 941.31μs
sign 590.62μs
signbit 209.71μs
sin 7.09ms
sinh 8.16ms
spacing 692.05μs
sqrt 2.21ms
square 454.13μs
subtract 614.12μs
tan 7.69ms
tanh 5.50ms
true_divide 1.27ms
trunc 803.38μs
=============== ==========
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment