Microbenchmarks icon indicating copy to clipboard operation
Microbenchmarks copied to clipboard

fix microbenchmarks to be more alike

Open KristofferC opened this issue 7 years ago • 1 comments

Moved from https://github.com/JuliaLang/julia/issues/13729


See: https://github.com/JuliaLang/julia/pull/13673

KristofferC avatar Jul 19 '18 07:07 KristofferC

It looks to me like the Go, Python, and Julia versions of recursion_quicksort treat the creation and filling of the random array differently:

  • Go: create outside the timing, set random values inside the timing
  • Python: create and initialize outside the timing
  • Julia: create and initialize inside the timing (I know nothing about Julia though)

cgay avatar Jan 02 '21 03:01 cgay