Skip to content
#

texmacs

Here are 39 public repositories matching this topic...

HYWZ36
HYWZ36 commented Dec 29, 2018

Benchmark is Google Benchmark, which is mainly used to test the benchmark function of functions in C++.
A great example is as follows.
demo.cpp:

#include <benchmark/benchmark.h>
#include <iostream>
#include <string>

using namespace std;

void demo()
{
string str = "hello world";
str.size();
}


static void BM_demo(benchmark::State& state) {
for (auto _ : state)
demo();
}
reduce-algebra
reduce-historical

Improve this page

Add a description, image, and links to the texmacs topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the texmacs topic, visit your repo's landing page and select "manage topics."

Learn more