There's a nice tool in JS world called
jsperf. It allows one to profile several snippets of code at once to detemine which of them are most performant.
There's a lot of performance analysers for C++, but the ones I've seen were just console applications or IDE plugins for profiling.
Is there a performance analyser with similar interface?