humaneval benchmark
使用benchmark比较各排序算法的性能
#include <benchmark/benchmark.h> #include <algorithm> #include <deque> #include <iostream> #include <random> #include <vector> using namespace std; st ......
使用benchmark比较循环嵌套与strassen求解矩阵乘法的性能
#include <benchmark/benchmark.h> #include <iostream> #include <random> #include <vector> using namespace std; static const int n = 200; static const i ......
使用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 ......