Benchmark

码农软件 · 软件分类 · 性能测试和优化 · 2019-11-27 10:42:08

软件介绍

Benchmark 是一个支持功能标杆管理的库,类似于单元测试。

示例代码:

static void BM_StringCreation(benchmark::State& state) 
{  while (state.KeepRunning())
    std::string empty_string;
}
// Register the function as a benchmarkBENCHMARK(BM_StringCreation);
// Define another benchmarkstatic void BM_StringCopy(benchmark::State& state) 
{
  std::string x = "hello";  while (state.KeepRunning())
    std::string copy(x);
}BENCHMARK(BM_StringCopy);
BENCHMARK_MAIN();

本文地址:https://codercto.com/soft/d/19895.html

Linux从入门到精通

Linux从入门到精通

刘忆智、等 / 清华大学出版社 / 2010-1-1 / 59.00元

linux是目前增长最迅速的操作系统。本书由浅入深、循序渐进地向读者介绍linux的基本使用和系统管理。全书内容包括linux概述、linux安装、linux基本配置、桌面环境基本操作、shell基本命令、文件和目录管理、软件包管理、磁盘管理、用户与用户组管理、进程管理、网络配置、浏览网页、收发邮件、文件传输和共享、远程登录、多媒体应用、图像浏览和处理、打印机配置、办公软件的使用、linux编程工......一起来看看 《Linux从入门到精通》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具