没有合适的资源?快使用搜索试试~ 我知道了~
准则:现代C ++的微基准测试
共68个文件
cpp:21个
hpp:15个
txt:12个
需积分: 10 0 下载量 54 浏览量
2021-02-03
13:03:09
上传
评论
收藏 785KB ZIP 举报
温馨提示
强调 Criterion是现代C ++的微基准测试库。 方便的静态注册宏,用于设置基准 参数化的基准(例如,不同的输入大小) 多次运行的统计分析 需要编译器支持C++17或更高版本 仅标头的库-可在single_include/获得单个标头文件版本 麻省理工学院执照 目录 入门 假设我们有此合并排序实现需要进行基准测试。 template < typename> void merge_sort (RandomAccessIterator first, RandomAccessIterator last, Compare compare, std:: size_t size) { if (size < 2 ) return ; auto middle = first + size / 2 ; merge_sort (first, middle, compare, size / 2 ); merge_sort (middle, last, compare, s
资源推荐
资源详情
资源评论
收起资源包目录
criterion-master.zip (68个子文件)
criterion-master
cmake
CPM.cmake 689B
tools.cmake 2KB
img
merge_sort_single.gif 78KB
demo.gif 376KB
make_shared.gif 154KB
help.gif 36KB
merge_sort_with_params.gif 581KB
logo.png 85KB
include
criterion
criterion.hpp 574B
details
asciidoc_writer.hpp 1KB
benchmark_result.hpp 3KB
main.hpp 5KB
benchmark_config.hpp 775B
indicators.hpp 96KB
help.hpp 4KB
console_writer.hpp 6KB
csv_writer.hpp 1KB
md_writer.hpp 1KB
structopt.hpp 133KB
json_writer.hpp 986B
macros.hpp 38KB
benchmark.hpp 10KB
single_include
criterion
criterion.hpp 304KB
LICENSE 1KB
generate_single_include.bash 66B
CONTRIBUTING.md 314B
single_include.json 846B
all
CMakeLists.txt 306B
samples
set_insert
set_insert.cpp 247B
unordered_set_insert.cpp 276B
main.cpp 61B
CMakeLists.txt 796B
to_string
to_string.cpp 1KB
main.cpp 61B
CMakeLists.txt 619B
fibonacci
fibonacci.cpp 595B
main.cpp 61B
CMakeLists.txt 624B
string_split
string_split.cpp 938B
string_split_benchmark.cpp 466B
main.cpp 61B
CMakeLists.txt 808B
merge_sort
merge_sort.cpp 816B
main.cpp 61B
CMakeLists.txt 796B
vector_sort
main.cpp 61B
CMakeLists.txt 802B
vector_sort.cpp 657B
make_shared
make_shared.cpp 781B
main.cpp 61B
CMakeLists.txt 802B
memcpy
main.cpp 61B
CMakeLists.txt 606B
memcpy.cpp 440B
CMakeLists.txt 392B
container_forward
list_forward.cpp 342B
vector_forward.cpp 340B
main.cpp 61B
CMakeLists.txt 838B
.gitignore 4KB
CMakeLists.txt 3KB
clang-format.bash 150B
README.md 8KB
utils
amalgamate
amalgamate.py 11KB
CHANGES.md 432B
LICENSE.md 2KB
README.md 2KB
config.json 172B
共 68 条
- 1
资源评论
侯戈
- 粉丝: 20
- 资源: 4630
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功