JuliaPerf / BenchmarksGame.jl

Other
43 stars 13 forks source link

make fannkuchredux multithreaded #6

Closed hycakir closed 5 years ago

hycakir commented 5 years ago

Transliterated, gives slightly slower performance than the Java implementation.

https://github.com/KristofferC/BenchmarksGame.jl/issues/5

SimonDanisch commented 5 years ago

gives slightly slower performance than the Java implementation.

I think we can add quite a few inbounds to spice things up ;)

KristofferC commented 5 years ago

Can we call this file fannkuchredux-fast.jl. I'd like us to keep the existing benchmarks for a while to have a baseline.

KristofferC commented 5 years ago

Pushed it to master (and added @inbounds)

KristofferC commented 5 years ago
 ────────────────────────────────────────────────
 Section                   ncalls     time   %tot
 ────────────────────────────────────────────────
 fannkuchredux                  1    36.6s   100%
   fannkuchredux.jl             1    30.0s  82.0%
   fannkuchredux-fast.jl        1    6.48s  17.7%
 ────────────────────────────────────────────────%