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
  • 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
  • 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

  • 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

  • SaaSHub

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

    SaaSHub 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

    Discontinued 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.

  • 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

  • Yes, Ruby is fast, but…

    4 projects | dev.to | 9 May 2024
  • How can I check the execution time of a program rendered in SFML?

    3 projects | /r/cpp_questions | 5 Dec 2023
  • How to Perf profile functions?

    3 projects | /r/cpp_questions | 13 Jul 2023
  • Do You Know How Much Your Computer Can Do in a Second?

    2 projects | news.ycombinator.com | 22 Jun 2023
  • The issue of unit tests and performance measurements (Benchmark)

    2 projects | /r/cpp | 27 May 2023
  • Optimizing Open Addressing

    3 projects | news.ycombinator.com | 2 Apr 2023
  • How fast is JIT compiled Lua/JavaScript compared to static compiled C++ and Rust measured in runtime?

    2 projects | /r/ProgrammingLanguages | 26 Mar 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 2 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

Project Stars
1 benchmark 8,480
2 coost 3,870
3 cista 1,681
4 nanobench 1,336
5 ut 1,213
6 Celero 803
7 microservices-framework-benchmark 700
8 alpaca 429
9 mixbench 342
10 BabelStream 311
11 map_benchmark 287
12 uVkCompute 203
13 json-benchmark 170
14 ecs_benchmark 174
15 elbencho 152
16 math-parser-benchmark-project 124
17 benchmarking-fft 122
18 c2clat 109
19 OpenCL-Benchmark 123
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