Skip to content

Instantly share code, notes, and snippets.

@KristofferC
Last active September 27, 2016 19:49
Show Gist options
  • Save KristofferC/99d9eec3b4c6f7522cf8334306063316 to your computer and use it in GitHub Desktop.
Save KristofferC/99d9eec3b4c6f7522cf8334306063316 to your computer and use it in GitHub Desktop.
sin Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.03840131688049

sin Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             2.3428461081886134

cos Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.1633159101268538

cos Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             2.6236629878726556

tan Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.1941417042343365

tan Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             2.8941921037308562

asin Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             4.315276506140692

asin Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             4.3884813857930105

acos Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             5.17209208146512

acos Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             4.95804446116764

atan Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             3.9310871672478083

atan Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             3.9950471347604024

exp Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.5844768393351838

exp Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.6146081185431718

exp2 Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             4.93246099535792

exp2 Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             8.229436211337639

exp10 Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             0.422476020269271

exp10 Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             0.601537057630475

expm1 Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             3.67714199177052

expm1 Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             4.875730813950103

log Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             2.6284298007317757

log Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             3.2403202763036756

log10 Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             2.5481668850844894

log10 Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             2.7334945734704057

log1p Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             2.319070088267565

log1p Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             2.1183715414401987

sinh Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.7057239291728123

sinh Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.4516209881657114

cosh Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             2.2239034186198468

cosh Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             2.0865532499736394

tanh Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.72627493652775

tanh Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.5584557859032537

asinh Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.7318327796779094

asinh Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.6935708092099149

acosh Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.785930633327038

acosh Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.8008653014133256

atanh Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.996558725872033

atanh Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             1.930849388814651

cbrt Float64 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             2.9510240842249105

cbrt Float32 benchmark
median ratio Libm/Base
BenchmarkTools.TrialRatio: 
  time:             4.611430169923755
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment