benchmark

A microbenchmark support library (by google)

Benchmark Alternatives

Similar projects and alternatives to benchmark

  1. compiler-explorer

    Run compilers interactively from your web browser and interact with the assembly

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. shields

    138 benchmark VS shields

    Concise, consistent, and legible badges in SVG and raster format

  4. HVM

    113 benchmark VS HVM

    A massively parallel, optimal functional runtime in Rust

  5. CXXGraph

    Header-Only C++ Library for Graph Representation and Algorithms

  6. hyperfine

    A command-line benchmarking tool

  7. Google Test

    GoogleTest - Google Testing and Mocking Framework

  8. highway

    Performance-portable, length-agnostic SIMD with runtime dispatch

  9. Nutrient

    Nutrient – The #1 PDF SDK Library, trusted by 10K+ developers. Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.

    Nutrient logo
  10. FlameGraph

    Stack trace visualizer

  11. include-what-you-use

    A tool for use with clang to analyze #includes in C and C++ source files

  12. parallel-hashmap

    A family of header-only, very fast and memory-friendly hashmap and btree containers.

  13. heaptrack

    A heap memory profiler for Linux

  14. coz

    Coz: Causal Profiling

  15. nanobench

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

  16. ut

    10 benchmark VS ut

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

  17. Celero

    C++ Benchmark Authoring Library/Framework

  18. hayai

    Discontinued C++ benchmarking framework

  19. Nonius

    A C++ micro-benchmarking framework

  20. benchmark.js

    8 benchmark VS benchmark.js

    Discontinued A benchmarking library. As used on jsPerf.com.

  21. Catch

    58 benchmark VS Catch

    A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)

  22. Boost.Test

    The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17) (by boostorg)

  23. SaaSHub

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

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better benchmark alternative or higher similarity.

benchmark discussion

Log in or Post with

benchmark reviews and mentions

Posts with mentions or reviews of benchmark. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-09-27.
  • std::array in C++ isn't slower than array in C
    2 projects | dev.to | 27 Sep 2024
    As with the assembly code analysis, let's look at two types of operations: sequentially filling an array with random numbers, and randomly accessing arbitrary array elements when we pass it to a function. To compile the code, we used GCC and Clang. We checked both debug (with the -DDEBUG flag) and release builds (with the -O3 level optimizations and the -DNDEBUG flag). And of course, we used Google Benchmark to run the tests.
  • Open Source C++ Stack
    10 projects | dev.to | 16 Jul 2024
    ''' Uchen core - ML framework ''' module(name = "uchen-core", version = "0.1", compatibility_level = 1) bazel_dep(name = "abseil-cpp", version = "20240116.2") bazel_dep(name = "googletest", version = "1.14.0") git_override( module_name = "googletest", remote = "https://github.com/google/googletest.git", commit = "1d17ea141d2c11b8917d2c7d029f1c4e2b9769b2", ) bazel_dep(name = "google_benchmark", version = "1.8.3") git_override( module_name = "google_benchmark", remote = "https://github.com/google/benchmark.git", commit = "447752540c71f34d5d71046e08192db181e9b02b", ) # Dev dependencies bazel_dep(name = "hedron_compile_commands", dev_dependency = True) git_override( module_name = "hedron_compile_commands", remote = "https://github.com/hedronvision/bazel-compile-commands-extractor.git", commit = "a14ad3a64e7bf398ab48105aaa0348e032ac87f8", )
  • 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
  • how do you properly benchmark?
    2 projects | /r/cpp | 20 Feb 2023
    I'm aware of one by Google that I used a couple times, but IMO it's better to capture real runtime data from a fully-operational process than to carve out the benchmarkable bits and test them in isolation, so I track information during program testing and print it all to a log instead of using things like that.
  • Benchmarking my data structure
    2 projects | /r/cpp_questions | 2 Jan 2023
    If you just want to do some quick benchmarks, you can just use std::chrono::high_resolution_clock::now(). Call it before the code that you are benchmarking and then immediately after. Take them away and you have your duration. If you want to use a proper benchmarking tool then I can totally recommend Google Benchmark. Fantastic benchmarking tool. Honourable mention would be Quick Bench which is an online tool that uses Google Benchmark.
  • Google benchmark : No rule to make Target***
    1 project | /r/cpp_questions | 19 Aug 2022
    I tried to install google benchmark(https://github.com/google/benchmark) in my ubuntu machine by :
  • Best accurate way to measure/compare elapsed time in C++
    6 projects | /r/cpp | 5 Jul 2022
  • Don’t Be Scared Of Functional Programming
    4 projects | /r/programming | 16 Feb 2022
    We don't know if it's a lie until we verify it and that's not difficult, you have a quicksort implementation in a couple of languages, you'll need to pass the necessary parameters to show the time needed by a function call to execute to the compiler or interpreter or you may use use a library(like benchmark for C++) and you're good to go.
  • How to identify inefficient method calls?
    1 project | /r/cpp | 27 Nov 2021
    If you are uncertain about the performance characteristics of a function you should ALWAYS benchmark it. Googles Benchmark library is wonderful for quick micro benchmarks. For more complex things, perhaps look into profiling and then look at invocation counts of copy constructors.
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 16 Feb 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Stats

Basic benchmark repo stats
21
9,245
8.8
4 days ago

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that C++ is
the 7th most popular programming language
based on number of references?