Foundit3923 / Wildcard_master

0 stars 0 forks source link

Move benchmarking to Google Benchmark #4

Open ViableSystemModel opened 4 years ago

ViableSystemModel commented 4 years ago

I’ve added a header file for google benchmark. It’ll abstract away a lot of the algorithm timing and handle things like branch prediction adapting to a limited test data set. It also does analysis of complexity. Moving benchmarking over to this framework would make things a lot simpler

Foundit3923 commented 4 years ago

So we do unit testing with the unit setup and then pass those tests through google benchmark? I'm very interested in the complexity, I'm fairly sure I got it right but I can't wait to see.

ViableSystemModel commented 4 years ago

They’re separate processes. I’m pretty sure Benchmark generates random test data, but I haven’t read much into the docs yet