示例代码可在以下链接找到:https://github.com/PacktPublishing/Hands-On-Design-Patterns-with-CPP-Second-Edition/tree/main/Chapter06
您需要安装并配置 Google Benchmark 库,相关详细信息可在此处找到:https://github.com/google/benchmark