Skip to content

Instantly share code, notes, and snippets.

@kapadia
Last active July 28, 2017 21:07
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/7daacbc9071dc1f3f93335bb4c65459a to your computer and use it in GitHub Desktop.
Save kapadia/7daacbc9071dc1f3f93335bb4c65459a 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 214.81ms
normal 357.44ms
========= ==========
[ 1.80%] ··· Running bench_app.MaxesOfDots.time_it 11.24ms
[ 2.70%] ··· Running bench_core.Core.time_arange_100 16.91μs
[ 3.60%] ··· Running bench_core.Core.time_array_1 12.68μs
[ 4.50%] ··· Running bench_core.Core.time_array_empty 15.47μs
[ 5.41%] ··· Running bench_core.Core.time_array_l 43.35μs
[ 6.31%] ··· Running bench_core.Core.time_array_l1 16.16μs
[ 7.21%] ··· Running bench_core.Core.time_array_l100 24.00μs
[ 8.11%] ··· Running bench_core.Core.time_diag_l100 93.28μs
[ 9.01%] ··· Running bench_core.Core.time_diagflat_l100 152.86μs
[ 9.91%] ··· Running bench_core.Core.time_diagflat_l50_l50 193.46μs
[ 10.81%] ··· Running bench_core.Core.time_dstack_l 59.91μs
[ 11.71%] ··· Running bench_core.Core.time_empty_100 21.58μs
[ 12.61%] ··· Running bench_core.Core.time_eye_100 76.48μs
[ 13.51%] ··· Running bench_core.Core.time_eye_3000 34.27ms
[ 14.41%] ··· Running bench_core.Core.time_hstack_l 38.86μs
[ 15.32%] ··· Running bench_core.Core.time_identity_100 132.67μs
[ 16.22%] ··· Running bench_core.Core.time_identity_3000 16.90ms
[ 17.12%] ··· Running bench_core.Core.time_ones_100 23.31μs
[ 18.02%] ··· Running bench_core.Core.time_tril_l10x10 167.32μs
[ 18.92%] ··· Running bench_core.Core.time_triu_l10x10 118.57μs
[ 19.82%] ··· Running bench_core.Core.time_vstack_l 56.15μs
[ 20.72%] ··· Running bench_core.Core.time_zeros_100 17.22μs
[ 21.62%] ··· Running bench_core.MA.time_masked_array 78.04μs
[ 22.52%] ··· Running bench_core.MA.time_masked_array_l100 731.24μs
[ 23.42%] ··· Running bench_core.MA.time_masked_array_l100_t100 111.13μs
[ 24.32%] ··· Running bench_function_base.Bincount.time_bincount 1.02ms
[ 25.23%] ··· Running bench_function_base.Bincount.time_weights 926.34μs
[ 26.13%] ··· Running bench_function_base.Median.time_even 463.33μs
[ 27.03%] ··· Running bench_function_base.Median.time_even_inplace 199.37μs
[ 27.93%] ··· Running bench_function_base.Median.time_even_small 190.81μs
[ 28.83%] ··· Running bench_function_base.Median.time_odd 202.63μs
[ 29.73%] ··· Running bench_function_base.Median.time_odd_inplace 213.65μs
[ 30.63%] ··· Running bench_function_base.Median.time_odd_small 188.96μs
[ 31.53%] ··· Running bench_function_base.Percentile.time_percentile 313.97μs
[ 32.43%] ··· Running bench_function_base.Percentile.time_quartile 311.70μs
[ 33.33%] ··· Running bench_function_base.Select.time_select 488.53μs
[ 34.23%] ··· Running bench_function_base.Select.time_select_larger 868.94μs
[ 35.14%] ··· Running bench_function_base.Sort.time_argsort 172.75μs
[ 36.04%] ··· Running bench_function_base.Sort.time_sort 185.47μs
[ 36.94%] ··· Running bench_function_base.Sort.time_sort_inplace 119.08μs
[ 37.84%] ··· Running bench_function_base.Where.time_1 94.79μs
[ 38.74%] ··· Running bench_function_base.Where.time_2 126.65μs
[ 39.64%] ··· Running bench_function_base.Where.time_2_broadcast 130.50μs
[ 40.54%] ··· Running bench_indexing.Indexing.time_op ok
[ 40.54%] ····
=============== ============== ========== ==========
-- op
------------------------------ ---------------------
indexes sel '' =1
=============== ============== ========== ==========
indexes_ I 435.39μs 518.54μs
indexes_ :,I 640.25μs 1.34ms
indexes_ np.ix_(I, I) 1.08ms 1.44ms
indexes_rand_ I 376.37μs 460.15μs
indexes_rand_ :,I 664.36μs 1.11ms
indexes_rand_ np.ix_(I, I) 1.33ms 1.78ms
=============== ============== ========== ==========
[ 41.44%] ··· Running bench_indexing.IndexingSeparate.time_mmap_fancy_indexing 4.46ms
[ 42.34%] ··· Running bench_indexing.IndexingSeparate.time_mmap_slicing 1.62ms
[ 43.24%] ··· Running bench_indexing.IndexingStructured0D.time_array_all 15.98μs
[ 44.14%] ··· Running bench_indexing.IndexingStructured0D.time_array_slice 23.49μs
[ 45.05%] ··· Running bench_indexing.IndexingStructured0D.time_scalar_all 24.51μs
[ 45.95%] ··· Running bench_indexing.IndexingStructured0D.time_scalar_slice 20.91μs
[ 46.85%] ··· Running bench_io.Copy.time_cont_assign ok
[ 46.85%] ····
============ =========
type
------------ ---------
int8 33.38μs
int16 34.72μs
float32 40.16μs
float64 41.45μs
complex64 43.22μs
complex128 60.61μs
============ =========
[ 47.75%] ··· Running bench_io.Copy.time_memcpy ok
[ 47.75%] ····
============ =========
type
------------ ---------
int8 34.25μs
int16 35.59μs
float32 38.26μs
float64 45.29μs
complex64 52.00μs
complex128 62.33μs
============ =========
[ 48.65%] ··· Running bench_io.Copy.time_strided_assign ok
[ 48.65%] ····
============ =========
type
------------ ---------
int8 40.92μs
int16 56.43μs
float32 51.86μs
float64 42.58μs
complex64 44.16μs
complex128 81.33μs
============ =========
[ 49.55%] ··· Running bench_io.Copy.time_strided_copy ok
[ 49.55%] ····
============ =========
type
------------ ---------
int8 43.59μs
int16 48.92μs
float32 49.68μs
float64 61.73μs
complex64 59.11μs
complex128 79.46μs
============ =========
[ 50.45%] ··· Running bench_io.CopyTo.time_copyto 44.60μs
[ 51.35%] ··· Running bench_io.CopyTo.time_copyto_8_dense 110.16μs
[ 52.25%] ··· Running bench_io.CopyTo.time_copyto_8_sparse 133.78μs
[ 53.15%] ··· Running bench_io.CopyTo.time_copyto_dense 26.88μs
[ 54.05%] ··· Running bench_io.CopyTo.time_copyto_sparse 81.94μs
[ 54.95%] ··· Running bench_io.Savez.time_vb_savez_squares 536.84ms
[ 55.86%] ··· Running bench_linalg.Eindot.time_dot_a_b 16.28ms
[ 56.76%] ··· Running bench_linalg.Eindot.time_dot_d_dot_b_c 567.82μs
[ 57.66%] ··· Running bench_linalg.Eindot.time_dot_trans_a_at 3.57ms
[ 58.56%] ··· Running bench_linalg.Eindot.time_dot_trans_a_atc 4.48ms
[ 59.46%] ··· Running bench_linalg.Eindot.time_dot_trans_at_a 6.88ms
[ 60.36%] ··· Running bench_linalg.Eindot.time_dot_trans_atc_a 10.76ms
[ 61.26%] ··· Running bench_linalg.Eindot.time_einsum_i_ij_j 1.05ms
[ 62.16%] ··· Running bench_linalg.Eindot.time_einsum_ij_jk_a_b 16.09ms
[ 63.06%] ··· Running bench_linalg.Eindot.time_einsum_ijk_jil_kl 37.13ms
[ 63.96%] ··· Running bench_linalg.Eindot.time_inner_trans_a_a 3.08ms
[ 64.86%] ··· Running bench_linalg.Eindot.time_inner_trans_a_ac 4.41ms
[ 65.77%] ··· Running bench_linalg.Eindot.time_matmul_a_b 15.90ms
[ 66.67%] ··· Running bench_linalg.Eindot.time_matmul_d_matmul_b_c 256.45μs
[ 67.57%] ··· Running bench_linalg.Eindot.time_matmul_trans_a_at 3.01ms
[ 68.47%] ··· Running bench_linalg.Eindot.time_matmul_trans_a_atc 4.37ms
[ 69.37%] ··· Running bench_linalg.Eindot.time_matmul_trans_at_a 6.98ms
[ 70.27%] ··· Running bench_linalg.Eindot.time_matmul_trans_atc_a 10.73ms
[ 71.17%] ··· Running bench_linalg.Eindot.time_tensordot_a_b_axes_1_0_0_1 13.16ms
[ 72.07%] ··· Running bench_linalg.Linalg.time_op ok
[ 72.07%] ····
====== ============ ==========
op type
------ ------------ ----------
svd int16 7.59ms
svd float16 n/a
svd int32 6.50ms
svd float32 6.57ms
svd int64 6.49ms
svd float64 6.41ms
svd complex64 14.17ms
svd longfloat n/a
svd complex128 13.54ms
svd complex256 n/a
pinv int16 7.00ms
pinv float16 n/a
pinv int32 6.97ms
pinv float32 7.64ms
pinv int64 7.75ms
pinv float64 6.96ms
pinv complex64 15.77ms
pinv longfloat n/a
pinv complex128 14.65ms
pinv complex256 n/a
det int16 461.26μs
det float16 n/a
det int32 415.53μs
det float32 420.93μs
det int64 444.66μs
det float64 418.85μs
det complex64 968.81μs
det longfloat n/a
det complex128 969.73μs
det complex256 n/a
norm int16 75.39μs
norm float16 153.98μs
norm int32 79.42μs
norm float32 71.76μs
norm int64 88.80μs
norm float64 128.33μs
norm complex64 96.38μs
norm longfloat 101.71μs
norm complex128 100.43μs
norm complex256 147.64μs
====== ============ ==========
[ 72.97%] ··· Running bench_linalg.Lstsq.time_numpy_linalg_lstsq_a__b_float64 4.31ms
[ 73.87%] ··· Running bench_random.Randint.time_randint_fast 1.09ms
[ 74.77%] ··· Running bench_random.Randint.time_randint_slow 2.51ms
[ 75.68%] ··· Running bench_random.Randint_dtype.time_randint_fast ok
[ 75.68%] ····
======== ==========
dtype
-------- ----------
bool 148.32μs
uint8 361.96μs
uint16 505.24μs
uint32 766.35μs
uint64 1.63ms
======== ==========
[ 76.58%] ··· Running bench_random.Randint_dtype.time_randint_slow ok
[ 76.58%] ····
======== ==========
dtype
-------- ----------
bool 200.42μs
uint8 1.28ms
uint16 1.67ms
uint32 2.26ms
uint64 3.56ms
======== ==========
[ 77.48%] ··· Running bench_random.Random.time_rng ok
[ 77.48%] ····
================= ==========
param1
----------------- ----------
normal 178.67μs
uniform 64.02μs
weibull 1 795.31μs
binomial 10 0.5 673.56μs
poisson 10 2.42ms
================= ==========
[ 78.38%] ··· Running bench_random.Shuffle.time_100000 2.15ms
[ 79.28%] ··· Running bench_reduce.AddReduce.time_axis_0 33.24ms
[ 80.18%] ··· Running bench_reduce.AddReduce.time_axis_1 18.00ms
[ 81.08%] ··· Running bench_reduce.AddReduceSeparate.time_reduce ok
[ 81.08%] ····
====== ============ ==========
axis type
------ ------------ ----------
0 int16 1.63ms
0 float16 13.76ms
0 int32 1.41ms
0 float32 600.78μs
0 int64 1.18ms
0 float64 1.08ms
0 complex64 1.46ms
0 longfloat 3.60ms
0 complex128 2.29ms
0 complex256 6.89ms
1 int16 1.03ms
1 float16 4.59ms
1 int32 1.23ms
1 float32 652.91μs
1 int64 1.16ms
1 float64 921.20μs
1 complex64 1.08ms
1 longfloat 1.99ms
1 complex128 1.86ms
1 complex256 3.98ms
====== ============ ==========
[ 81.98%] ··· Running bench_reduce.AnyAll.time_all_fast 84.63μs
[ 82.88%] ··· Running bench_reduce.AnyAll.time_all_slow 69.49μs
[ 83.78%] ··· Running bench_reduce.AnyAll.time_any_fast 61.11μs
[ 84.68%] ··· Running bench_reduce.AnyAll.time_any_slow 75.38μs
[ 85.59%] ··· Running bench_reduce.MinMax.time_max ok
[ 85.59%] ····
======================== =========
dtype
------------------------ ---------
<type 'numpy.float32'> 64.68μs
<type 'numpy.float64'> 65.40μs
<type 'numpy.int64'> 90.39μs
======================== =========
[ 86.49%] ··· Running bench_reduce.MinMax.time_min ok
[ 86.49%] ····
======================== =========
dtype
------------------------ ---------
<type 'numpy.float32'> 58.92μs
<type 'numpy.float64'> 84.40μs
<type 'numpy.int64'> 89.52μs
======================== =========
[ 87.39%] ··· Running bench_reduce.SmallReduction.time_small 58.35μs
[ 88.29%] ··· Running bench_ufunc.Broadcast.time_broadcast 17.78ms
[ 89.19%] ··· Running bench_ufunc.Custom.time_and_bool 34.74μs
[ 90.09%] ··· Running bench_ufunc.Custom.time_count_nonzero 15.76μs
[ 90.99%] ··· Running bench_ufunc.Custom.time_nonzero 111.07μs
[ 91.89%] ··· Running bench_ufunc.Custom.time_not_bool 33.00μs
[ 92.79%] ··· Running bench_ufunc.Custom.time_or_bool 36.07μs
[ 93.69%] ··· Running bench_ufunc.CustomScalar.time_add_scalar2 ok
[ 93.69%] ····
======================== ==========
dtype
------------------------ ----------
<type 'numpy.float32'> 69.00μs
<type 'numpy.float64'> 111.82μs
======================== ==========
[ 94.59%] ··· Running bench_ufunc.CustomScalar.time_divide_scalar2 ok
[ 94.59%] ····
======================== ==========
dtype
------------------------ ----------
<type 'numpy.float32'> 85.95μs
<type 'numpy.float64'> 126.37μs
======================== ==========
[ 95.50%] ··· Running bench_ufunc.CustomScalar.time_divide_scalar2_inplace ok
[ 95.50%] ····
======================== =========
dtype
------------------------ ---------
<type 'numpy.float32'> 42.07μs
<type 'numpy.float64'> 58.74μs
======================== =========
[ 96.40%] ··· Running bench_ufunc.CustomScalar.time_less_than_scalar2 ok
[ 96.40%] ····
======================== =========
dtype
------------------------ ---------
<type 'numpy.float32'> 63.09μs
<type 'numpy.float64'> 52.17μs
======================== =========
[ 97.30%] ··· Running bench_ufunc.Scalar.time_add_scalar 22.96μs
[ 98.20%] ··· Running bench_ufunc.Scalar.time_add_scalar_conv 25.12μs
[ 99.10%] ··· Running bench_ufunc.Scalar.time_add_scalar_conv_complex 32.49μs
[100.00%] ··· Running bench_ufunc.UFunc.time_ufunc_types ok
[100.00%] ····
=============== ==========
ufunc
--------------- ----------
abs 1.24ms
absolute 1.29ms
add 555.04μs
arccos 7.01ms
arccosh 8.98ms
arcsin 6.74ms
arcsinh 8.78ms
arctan 5.36ms
arctan2 2.31ms
arctanh 3.81ms
bitwise_and 81.85μs
bitwise_not 64.28μs
bitwise_or 80.17μs
bitwise_xor 116.01μs
cbrt 2.32ms
ceil 623.00μs
conj 310.04μs
conjugate 317.74μs
copysign 379.00μs
cos 7.37ms
cosh 7.58ms
deg2rad 402.07μs
degrees 398.87μs
divide 1.25ms
equal 480.34μs
exp 5.29ms
exp2 6.90ms
expm1 5.96ms
fabs 412.38μs
floor 656.10μs
floor_divide 2.26ms
fmax 621.29μs
fmin 579.37μs
fmod 843.66μs
frexp 684.86μs
greater 510.65μs
greater_equal 548.88μs
hypot 1.54ms
invert 67.22μs
isfinite 360.17μs
isinf 370.51μs
isnan 295.84μs
ldexp 426.13μs
left_shift 90.85μs
less 523.91μs
less_equal 497.87μs
log 5.61ms
log10 6.18ms
log1p 4.57ms
log2 5.19ms
logaddexp 536.56μs
logaddexp2 533.62μs
logical_and 510.07μs
logical_not 314.78μs
logical_or 448.01μs
logical_xor 527.49μs
maximum 610.02μs
minimum 599.83μs
mod 1.47ms
modf 741.89μs
multiply 566.46μs
negative 392.03μs
nextafter 738.48μs
not_equal 516.60μs
power 14.35ms
rad2deg 505.31μs
radians 402.40μs
reciprocal 1.06ms
remainder 1.62ms
right_shift 100.75μs
rint 940.63μs
sign 375.15μs
signbit 205.47μs
sin 7.02ms
sinh 7.58ms
spacing 695.30μs
sqrt 2.23ms
square 442.60μs
subtract 563.32μs
tan 7.38ms
tanh 5.18ms
true_divide 1.24ms
trunc 657.00μs
=============== ==========
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment