转载请标明出处:https://www.cnblogs.com/Multya/p/16213025.htmlAbenchmarkisatestoftheperformanceofacomputersystem. 基准测试是对计算机系统的性能的测试计时器性能的指标就是时间,在c++11后计时十分方便,因为有神器在性能测试中,一般依赖堆栈上的生命周期来进行计时计时器的实现全貌classInstrumentationTimer{private:chrono::time_pointstart;constchar*m_hint;public:explicitInstrumentationTimer(