Skip to content

Instantly share code, notes, and snippets.

@kescobo
Last active November 27, 2017 22:38
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 kescobo/c2de44e7bee52382c05f94c86c6bfe30 to your computer and use it in GitHub Desktop.
Save kescobo/c2de44e7bee52382c05f94c86c6bfe30 to your computer and use it in GitHub Desktop.
Attempt to do Distances Benchmark for Bray Curtis PR
Kevins-MacBook-Pro-2:~ kev$ julia .julia/v0.6/Distances/benchmark/print_table.jl
(1/2) tuning "colwise"...
(1/23) tuning Distances.SqEuclidean...
(1/2) tuning "specialized"...
done (took 5.872382365 seconds)
(2/2) tuning "loop"...
done (took 5.519243081 seconds)
done (took 11.692612147 seconds)
(2/23) tuning Distances.Chebyshev...
(1/2) tuning "specialized"...
done (took 5.583939836 seconds)
(2/2) tuning "loop"...
done (took 5.582527303 seconds)
done (took 11.429425942 seconds)
(3/23) tuning Distances.WeightedMinkowski{Array{Float64,1},Float64}...
(1/2) tuning "specialized"...
done (took 5.764172451 seconds)
(2/2) tuning "loop"...
done (took 6.179661974 seconds)
done (took 12.211633645 seconds)
(4/23) tuning Distances.Cityblock...
(1/2) tuning "specialized"...
done (took 5.635149162 seconds)
(2/2) tuning "loop"...
done (took 5.696905542 seconds)
done (took 11.612206276 seconds)
(5/23) tuning Distances.BhattacharyyaDist...
(1/2) tuning "specialized"...
done (took 5.542119926 seconds)
(2/2) tuning "loop"...
done (took 5.699869792 seconds)
done (took 11.510593129 seconds)
(6/23) tuning Distances.RenyiDivergence{Int64}...
(1/2) tuning "specialized"...
done (took 5.925557942 seconds)
(2/2) tuning "loop"...
done (took 5.999733752 seconds)
done (took 12.197452324 seconds)
(7/23) tuning Distances.Euclidean...
(1/2) tuning "specialized"...
done (took 5.589246715 seconds)
(2/2) tuning "loop"...
done (took 5.601516248 seconds)
done (took 11.457492019 seconds)
(8/23) tuning Distances.CorrDist...
(1/2) tuning "specialized"...
done (took 5.978825306 seconds)
(2/2) tuning "loop"...
done (took 5.696414128 seconds)
done (took 11.940868249 seconds)
(9/23) tuning Distances.ChiSqDist...
(1/2) tuning "specialized"...
done (took 5.502579124 seconds)
(2/2) tuning "loop"...
done (took 5.594442627 seconds)
done (took 11.35564539 seconds)
(10/23) tuning Distances.CosineDist...
(1/2) tuning "specialized"...
done (took 5.496071949 seconds)
(2/2) tuning "loop"...
done (took 5.472030461 seconds)
done (took 11.258703242 seconds)
(11/23) tuning Distances.KLDivergence...
(1/2) tuning "specialized"...
done (took 6.051804255 seconds)
(2/2) tuning "loop"...
done (took 6.117625701 seconds)
done (took 12.439687167 seconds)
(12/23) tuning Distances.Mahalanobis{Float64}...
(1/2) tuning "specialized"...
done (took 5.670379399 seconds)
(2/2) tuning "loop"...
done (took 6.301945299 seconds)
done (took 12.246056895 seconds)
(13/23) tuning Distances.HellingerDist...
(1/2) tuning "specialized"...
done (took 5.724969604 seconds)
(2/2) tuning "loop"...
done (took 5.777624575 seconds)
done (took 11.7757969 seconds)
(14/23) tuning Distances.BrayCurtis...
(1/2) tuning "specialized"...
done (took 5.64081095 seconds)
(2/2) tuning "loop"...
done (took 5.629615846 seconds)
done (took 11.560007133 seconds)
(15/23) tuning Distances.WeightedCityblock{Array{Float64,1}}...
(1/2) tuning "specialized"...
done (took 5.576918182 seconds)
(2/2) tuning "loop"...
done (took 5.690966375 seconds)
done (took 11.560751789 seconds)
(16/23) tuning Distances.WeightedHamming{Array{Float64,1}}...
(1/2) tuning "specialized"...
done (took 5.63921894 seconds)
(2/2) tuning "loop"...
done (took 5.504308525 seconds)
done (took 11.399382203 seconds)
(17/23) tuning Distances.WeightedEuclidean{Array{Float64,1}}...
(1/2) tuning "specialized"...
done (took 5.576378663 seconds)
(2/2) tuning "loop"...
done (took 5.724884166 seconds)
done (took 11.585256957 seconds)
(18/23) tuning Distances.SqMahalanobis{Float64}...
(1/2) tuning "specialized"...
done (took 5.706641554 seconds)
(2/2) tuning "loop"...
done (took 5.937129867 seconds)
done (took 11.926121261 seconds)
(19/23) tuning Distances.Minkowski{Float64}...
(1/2) tuning "specialized"...
done (took 5.657904786 seconds)
(2/2) tuning "loop"...
done (took 6.088401766 seconds)
done (took 12.023345084 seconds)
(20/23) tuning Distances.RenyiDivergence{Float64}...
(1/2) tuning "specialized"...
done (took 5.546057363 seconds)
(2/2) tuning "loop"...
done (took 5.655077857 seconds)
done (took 11.479134508 seconds)
(21/23) tuning Distances.JSDivergence...
(1/2) tuning "specialized"...
done (took 5.606184926 seconds)
(2/2) tuning "loop"...
done (took 5.992232319 seconds)
done (took 11.883762933 seconds)
(22/23) tuning Distances.WeightedSqEuclidean{Array{Float64,1}}...
(1/2) tuning "specialized"...
done (took 5.517957751 seconds)
(2/2) tuning "loop"...
done (took 5.702340491 seconds)
done (took 11.518016929 seconds)
(23/23) tuning Distances.Hamming...
(1/2) tuning "specialized"...
done (took 5.673888135 seconds)
(2/2) tuning "loop"...
done (took 5.60031779 seconds)
done (took 11.548585711 seconds)
done (took 269.884235128 seconds)
(2/2) tuning "pairwise"...
(1/23) tuning Distances.SqEuclidean...
(1/2) tuning "specialized"...
done (took 5.666667142 seconds)
(2/2) tuning "loop"...
done (took 5.787312403 seconds)
done (took 11.725342547 seconds)
(2/23) tuning Distances.Chebyshev...
(1/2) tuning "specialized"...
done (took 5.497571841 seconds)
(2/2) tuning "loop"...
done (took 5.62223749 seconds)
done (took 11.398524057 seconds)
(3/23) tuning Distances.WeightedMinkowski{Array{Float64,1},Float64}...
(1/2) tuning "specialized"...
done (took 5.750915085 seconds)
(2/2) tuning "loop"...
done (took 6.587536658 seconds)
done (took 12.622407943 seconds)
(4/23) tuning Distances.Cityblock...
(1/2) tuning "specialized"...
done (took 5.594591547 seconds)
(2/2) tuning "loop"...
done (took 5.565945083 seconds)
done (took 11.438434439 seconds)
(5/23) tuning Distances.BhattacharyyaDist...
(1/2) tuning "specialized"...
done (took 5.76690854 seconds)
(2/2) tuning "loop"...
done (took 5.737620207 seconds)
done (took 11.809201456 seconds)
(6/23) tuning Distances.RenyiDivergence{Int64}...
(1/2) tuning "specialized"...
done (took 6.540074577 seconds)
(2/2) tuning "loop"...
done (took 5.75547084 seconds)
done (took 12.549868034 seconds)
(7/23) tuning Distances.Euclidean...
(1/2) tuning "specialized"...
done (took 5.497608421 seconds)
(2/2) tuning "loop"...
done (took 5.901847384 seconds)
done (took 11.692466621 seconds)
(8/23) tuning Distances.CorrDist...
(1/2) tuning "specialized"...
done (took 5.514768054 seconds)
(2/2) tuning "loop"...
done (took 5.835759087 seconds)
done (took 11.642950178 seconds)
(9/23) tuning Distances.ChiSqDist...
(1/2) tuning "specialized"...
done (took 5.6445224 seconds)
(2/2) tuning "loop"...
done (took 5.783664326 seconds)
done (took 11.728543843 seconds)
(10/23) tuning Distances.CosineDist...
(1/2) tuning "specialized"...
done (took 5.505995146 seconds)
(2/2) tuning "loop"...
done (took 5.496517943 seconds)
done (took 11.298144629 seconds)
(11/23) tuning Distances.KLDivergence...
(1/2) tuning "specialized"...
done (took 6.511877759 seconds)
(2/2) tuning "loop"...
done (took 5.912883867 seconds)
done (took 12.714812629 seconds)
(12/23) tuning Distances.Mahalanobis{Float64}...
(1/2) tuning "specialized"...
done (took 5.482484495 seconds)
(2/2) tuning "loop"...
done (took 5.810380778 seconds)
done (took 11.578299171 seconds)
(13/23) tuning Distances.HellingerDist...
(1/2) tuning "specialized"...
done (took 5.569270539 seconds)
(2/2) tuning "loop"...
done (took 5.711962036 seconds)
done (took 11.531083405 seconds)
(14/23) tuning Distances.BrayCurtis...
(1/2) tuning "specialized"...
done (took 5.49977754 seconds)
(2/2) tuning "loop"...
done (took 5.771801107 seconds)
done (took 11.557485917 seconds)
(15/23) tuning Distances.WeightedCityblock{Array{Float64,1}}...
(1/2) tuning "specialized"...
done (took 5.463997884 seconds)
(2/2) tuning "loop"...
done (took 5.83659184 seconds)
done (took 11.539084552 seconds)
(16/23) tuning Distances.WeightedHamming{Array{Float64,1}}...
(1/2) tuning "specialized"...
done (took 5.681468828 seconds)
(2/2) tuning "loop"...
done (took 5.751872432 seconds)
done (took 11.719831811 seconds)
(17/23) tuning Distances.WeightedEuclidean{Array{Float64,1}}...
(1/2) tuning "specialized"...
done (took 5.629468757 seconds)
(2/2) tuning "loop"...
done (took 5.580747418 seconds)
done (took 11.499393081 seconds)
(18/23) tuning Distances.SqMahalanobis{Float64}...
(1/2) tuning "specialized"...
done (took 5.535642512 seconds)
(2/2) tuning "loop"...
done (took 5.870647676 seconds)
done (took 11.702644786 seconds)
(19/23) tuning Distances.Minkowski{Float64}...
(1/2) tuning "specialized"...
done (took 6.65526034 seconds)
(2/2) tuning "loop"...
done (took 6.051468406 seconds)
done (took 12.993309547 seconds)
(20/23) tuning Distances.RenyiDivergence{Float64}...
(1/2) tuning "specialized"...
done (took 6.010925032 seconds)
(2/2) tuning "loop"...
done (took 5.509787214 seconds)
done (took 11.81039762 seconds)
(21/23) tuning Distances.JSDivergence...
(1/2) tuning "specialized"...
done (took 6.248867269 seconds)
(2/2) tuning "loop"...
done (took 6.22330714 seconds)
done (took 12.781729977 seconds)
(22/23) tuning Distances.WeightedSqEuclidean{Array{Float64,1}}...
(1/2) tuning "specialized"...
done (took 5.506110882 seconds)
(2/2) tuning "loop"...
done (took 5.704501444 seconds)
done (took 11.498037261 seconds)
(23/23) tuning Distances.Hamming...
(1/2) tuning "specialized"...
done (took 5.647981902 seconds)
(2/2) tuning "loop"...
done (took 5.922709394 seconds)
done (took 11.872201134 seconds)
done (took 272.982292646 seconds)
ERROR: LoadError: ArgumentError: JLD serialization is no longer supported. Benchmarks should now be saved in
JSON format using `save("params".json, args...)` and loaded from JSON using
using `load("params".json, args...)`. You will need to convert existing
saved benchmarks to JSON in order to use them with this version of BenchmarkTools.
Stacktrace:
[1] badext(::String) at /Users/kev/.julia/v0.6/BenchmarkTools/src/serialization.jl:61
[2] save(::String, ::String, ::Vararg{Any,N} where N) at /Users/kev/.julia/v0.6/BenchmarkTools/src/serialization.jl:65
[3] include_from_node1(::String) at ./loading.jl:576
[4] include(::String) at ./sysimg.jl:14
[5] process_options(::Base.JLOptions) at ./client.jl:305
[6] _start() at ./client.jl:371
while loading /Users/kev/.julia/v0.6/Distances/benchmark/print_table.jl, in expression starting on line 43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment