benchmark
使用benchmark比较分治法与归纳法求解最大子数组问题的性能
#include <benchmark/benchmark.h> #include <algorithm> #include <deque> #include <functional> #include <iostream> #include <random> #include <string> # ......
使用benchmark比较插入排序与归并排序性能
#include <benchmark/benchmark.h> #include <algorithm> #include <deque> #include <functional> #include <iostream> #include <random> #include <string> # ......
benchmark实用命令
获取所有key: etcdctl get --prefix "" --endpoints=192.168.43.104:12379 删除所有key: etcdctl del --prefix "" --endpoints=192.168.43.104:12379 查询etcd节点状态: etcdct ......