SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C++ Benchmark Projects
-
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.
-
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.
-
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)
-
elbencho
A distributed storage benchmark for file systems, object stores & block devices with support for GPUs
-
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.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: How can I check the execution time of a program rendered in SFML? | /r/cpp_questions | 2023-12-05
Project mention: The issue of unit tests and performance measurements (Benchmark) | /r/cpp | 2023-05-27An alternative is tracking the number of instructions a test executes: https://github.com/martinus/nanobench
Project mention: Do You Know How Much Your Computer Can Do in a Second? | news.ycombinator.com | 2023-06-22I 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
C++ Benchmark related posts
- How can I check the execution time of a program rendered in SFML?
- How to Perf profile functions?
- Do You Know How Much Your Computer Can Do in a Second?
- The issue of unit tests and performance measurements (Benchmark)
- Optimizing Open Addressing
- How fast is JIT compiled Lua/JavaScript compared to static compiled C++ and Rust measured in runtime?
- Performance comparison/benchmark of raw computational power between 1.8 GHz Raspberry Pi 400 and 3.8 GHz Ryzen 9 3900X
-
A note from our sponsor - SaaSHub
www.saashub.com | 27 Apr 2024
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