Closed jenshnielsen closed 8 years ago
Not sure what you are using for benchmarks, but this works fairly well for c++ https://github.com/google/benchmark. There is a lookup recipe to download it automatically in astro-informatics/sopt or in the cookoff.
Also measure wall clock time with time.time which is accurate for multithread jobs
Only calc likelihood in callback for every 100 itterations to reduce overhead