You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add GBench skeleton
* Clean dead code & Fix Compilation issues
* Add Google Benchmark as a submodule
* Use Google Benchmark as a submodule
* Remove GBench global buster installation
* Change results output dir
* Run `benchmarks_tea` during `runall.sh`
* Trigger pipeline run on `tea` changes
This directory contains the request **startup** and **shutdown** microbenchmarks.
4
+
5
+
The benchmarks uses [Google Benchmark](https://github.com/google/benchmark), whose source is included as a git submodule under `./google-benchmark`.
6
+
7
+
## How to run benchmarks
8
+
9
+
First refer to the [CONTRIBUTING.md](../../CONTRIBUTING.md) file to setup the environment.
10
+
11
+
Then you can run the benchmarks with the following command from the root of the repository:
12
+
13
+
```bash
14
+
make benchmarks_tea
15
+
```
16
+
17
+
## How to add a new benchmark
18
+
19
+
The benchmarks are located in the [benchmark.cc](./benchmark.cc) file and are written using [Google Benchmark](https://github.com/google/benchmark) (v1.8.3).
20
+
21
+
To add a new benchmark, create a new function in the [benchmark.cc](./benchmark.cc) file. Please, refer to the [User Guide](https://github.com/google/benchmark/blob/main/docs/user_guide.md) for more information.
22
+
23
+
## Results
24
+
25
+
The results of the benchmark are stored under the [reports](./reports) folder.
0 commit comments