C++ Benchmark

Open-source C++ projects categorized as Benchmark

Top 23 C++ Benchmark Projects

  • benchmark

    A microbenchmark support library

  • Project mention: How can I check the execution time of a program rendered in SFML? | /r/cpp_questions | 2023-12-05
  • coost

    A tiny boost library in C++11.

  • Project mention: Write C++ as easy as Golang with coost | news.ycombinator.com | 2023-09-09
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • cista

    Cista is a simple, high-performance, zero-copy C++ serialization & reflection library.

  • nanobench

    Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20

  • Project mention: The issue of unit tests and performance measurements (Benchmark) | /r/cpp | 2023-05-27

    An alternative is tracking the number of instructions a test executes: https://github.com/martinus/nanobench

  • ut

    C++20 μ(micro)/Unit Testing Framework

  • Celero

    C++ Benchmark Authoring Library/Framework

  • microservices-framework-benchmark

    Raw benchmarks on throughput, latency and transfer of Hello World on popular microservices frameworks

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • alpaca

    Serialization library written in C++17 - Pack C++ structs into a compact byte-array without any macros or boilerplate code (by p-ranav)

  • mixbench

    A GPU benchmark tool for evaluating GPUs and CPUs on mixed operational intensity kernels (CUDA, OpenCL, HIP, SYCL, OpenMP)

  • BabelStream

    STREAM, for lots of devices written in many programming models

  • map_benchmark

    Comprehensive benchmarks of C++ maps

  • uVkCompute

    A micro Vulkan compute pipeline and a collection of benchmarking compute shaders

  • json-benchmark

    nativejson-benchmark in Rust

  • Project mention: Do You Know How Much Your Computer Can Do in a Second? | news.ycombinator.com | 2023-06-22

    I don’t really understand what this is trying to prove:

    - you don’t seem to specify the size of the input. This is the most important omission

    - you are constructing an optimised representation (in this case, strict with fields in the right places) instead of a generic ‘dumb’ representation that is more like a tree of python dicts

    - rust is not a ‘moderately fast language’ imo (though this is not a very important point. It’s more about how optimised the parser is, and I suspect that serde_json is written in an optimised way, but I didn’t look very hard).

    I found[1], which gives serde_json to a dom 300-400MB/s on a somewhat old laptop cpu. A simpler implementation runs at 100-200, a very optimised implementation gets 400-800. But I don’t think this does that much to confirm what I said in the comment you replied to. The numbers for simd json are a bit lower than I expected (maybe due to the ‘dom’ part). I think my 50MB/a number was probably a bit off but maybe the python implementation converts json to some C object and then converts that C object to python objects. That might half your throughput (my guess is that this is what the ‘strict parse’ case for rustc_serialise is roughly doing).

    [1] https://github.com/serde-rs/json-benchmark

  • ecs_benchmark

    Benchmarks of common ECS (Entity-Component-System)-Frameworks in C++ (or C)

  • elbencho

    A distributed storage benchmark for file systems, object stores & block devices with support for GPUs

  • math-parser-benchmark-project

    C++ Mathematical Expression Parser Benchmark

  • benchmarking-fft

    choosing FFT library...

  • c2clat

    A tool to measure CPU core to core latency

  • OpenCL-Benchmark

    A small OpenCL benchmark program to measure peak GPU/CPU performance.

  • Project mention: I have open-sourced my OpenCL-Benchmark utility | /r/OpenCL | 2023-04-30
  • LruClockCache

    A low-latency LRU approximation cache in C++ using CLOCK second-chance algorithm. Multi level cache too. Up to 2.5 billion lookups per second.

  • mandelbrot-comparison

    Comparison of Mandelbrot Set programs in different languages with smooth coloring and built-in benchmark mode.

  • InlineBench

    C++ Library for dynamically benchmarking code fragments (header only)

  • AdventOfCode2021

    My solutions to https://adventofcode.com/2021 (by willkill07)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ Benchmark related posts

Index

What are some of the best open-source Benchmark projects in C++? This list will help you:

Project Stars
1 benchmark 8,402
2 coost 3,825
3 cista 1,642
4 nanobench 1,307
5 ut 1,197
6 Celero 798
7 microservices-framework-benchmark 698
8 alpaca 413
9 mixbench 337
10 BabelStream 310
11 map_benchmark 287
12 uVkCompute 200
13 json-benchmark 169
14 ecs_benchmark 161
15 elbencho 147
16 math-parser-benchmark-project 124
17 benchmarking-fft 122
18 c2clat 104
19 OpenCL-Benchmark 102
20 LruClockCache 59
21 mandelbrot-comparison 12
22 InlineBench 11
23 AdventOfCode2021 11

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com