SHORTLIST20
日本語
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
プログラミング

C++ debugging, testing and benchmarking tools

Debuggers, profilers, test frameworks and benchmarks for C and C++, ranked by GitHub stars

更新 · GitHub stars (stars)

なぜこの20か

Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.

このリストは役に立ちましたか?
  1. 1

    Google Mock

    A library for writing and using C++ mock classes. [BSD]

    39,763 stars 10,967 forkslast push 2026-11-17C++BSD-3-Clause

  2. 2

    Catch2

    A modern, C++-native, test framework for unit-tests, TDD and BDD. [Boost]

    21,579 stars 3,435 forkslast push 2026-11-15C++BSL-1.0

  3. 3

    benchmark

    Google provided small microbenchmark support library. [Apache2]

    10,531 stars 1,833 forkslast push 2026-11-20C++Apache-2.0

  4. 4

    Unity

    Simple Unit Testing for C. [MIT]

    5,467 stars 1,145 forkslast push 2026-10-31CMIT

  5. 5

    backward-cpp

    A beautiful stack trace pretty printer for C++. [MIT]

    4,304 stars 535 forkslast push 2026-10-23C++MIT

  6. 6

    heaptrack

    A heap memory profiler for Linux. [LGPL-2.1]

    4,203 stars 250 forkslast push 2026-11-16C++

  7. 7

    Remotery

    Single C File Profiler with Web Viewer. [Apache2]

    3,321 stars 284 forkslast push 2024-08-28CApache-2.0

  8. 8

    dbg-macro

    A dbg(…) macro for C++. [MIT]

    3,234 stars 273 forkslast push 2026-02-14C++MIT

  9. 9

    easy_profiler

    Lightweight profiler library for C++. [MIT]

    2,377 stars 201 forkslast push 2026-10-29C++MIT

  10. 10

    nanobench

    Simple, fast, accurate single-header microbenchmarking functionality for C++11/14/17/20. [MIT] website

    1,751 stars 104 forkslast push 2026-09-07C++MIT

  11. 11

    microprofile

    Profiler with web-view for multiple platforms. [Unlicense]

    1,590 stars 130 forkslast push 2026-08-26CMIT

  12. 12

    Cpptrace

    A simple, portable, and self-contained C++ stacktrace library supporting C++11 and greater. [MIT]

    1,497 stars 173 forkslast push 2026-11-13C++MIT

  13. 13

    CppUTest

    Unit testing and mocking framework for C/C++. [BSD-3-clause]

    1,485 stars 531 forkslast push 2026-11-03C++BSD-3-Clause

  14. 14

    FakeIt

    Simple mocking framework for C++. [MIT]

    1,371 stars 183 forkslast push 2026-06-30C++MIT

  15. 15

    DebugViewPP

    Debug logging viewer. [Boost]

    1,282 stars 179 forkslast push 2026-11-05CBSL-1.0

  16. 16

    check

    Check is a unit testing framework for C. [LGPL-2.1] website

    1,174 stars 225 forkslast push 2026-07-13CLGPL-2.1

  17. 17

    utest.h

    Single header unit testing framework for C and C++. [Unlicense]

    1,003 stars 75 forkslast push 2026-11-04C++Unlicense

  18. 18

    fff

    A micro-framework for creating fake C functions. [MIT]

    943 stars 178 forkslast push 2023-11-02CNOASSERTION

  19. 19

    Celero

    C++ Benchmarking Framework. [Apache2]

    865 stars 96 forkslast push 2026-11-21C++NOASSERTION

  20. 20

    IceCream-Cpp

    Never use cout/printf to debug again [MIT]

    748 stars 36 forkslast push 2026-04-22C++NOASSERTION

測り方

Every tool in the Debug section(s) of the community list fffaraz/awesome-cpp on GitHub with a public repository, ranked by GitHub stars from the GitHub API; archived repositories are left out. Added by the daily list generator.

参考資料

  1. fffaraz/awesome-cpp: Debug, GitHub community list (list text MIT; star counts from the GitHub API). Checked 2026-11-21 07:21 UTC.
  2. fffaraz/awesome-cpp (Debug), GitHub community list, 40 tools with a public repository.