DCPROGS / HJCFIT

Full maximum likelihood fitting of a mechanism directly to the entire sequence of open and shut times, with exact missed events correction.
GNU General Public License v3.0
9 stars 4 forks source link

Improve benchmark examples #109

Closed jenshnielsen closed 8 years ago

jenshnielsen commented 8 years ago

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

mdavezac commented 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.