Dev tools · alternatives · 2026
24 alternatives to Single-Header Profiler for C++17
Morning HN. I often found myself wondering "how much does this code segment take in terms of total runtime" and it's often quite annoying to figure out with optimizations enabled, especially when working on something new or testing someone else's implementation without the proper tooling set up. Wanted to have a single include lib that would allow us to write something like: ``` PROFILE("Loop 1") for (...) // some work ``` and have the next expression automatically record time & dump results to a table. Wrote a few macros to do exactly that a few months back, but they were…
Single-Header Profiler for C++17 is a lightweight profiling library that measures execution time of code segments with minimal setup. Developers add a macro around code blocks to automatically record timing data and… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes.
- 1

A lightweight single-header pattern-matching library for C++17 with macro-free APIs. Try it at https://godbolt.org/z/8YMr8Kz8j
2022 · github.com · its alternatives →
- 2

Self-contained C/C++ profiler library for Linux. Contribute to cyrus-and/prof development by creating an account on GitHub.
2015 · github.com · its alternatives →
- 3

2025 · github.com · its alternatives →
- 4

- 5

The fastest feature-rich C++11/14/17/20/23 single-header testing framework - doctest/doctest
2016 · github.com · its alternatives →
- 6
beLow▲176Inline insights with C/C++ that shows CPU, memory, energy
Dec 2025 · wedolow.com · its alternatives →
- 7

2021 · prodfiler.com · its alternatives →
- 8

DEPRECATED StackImpact Python Profiler - Production-Grade Performance Profiler: CPU, memory allocations, blocking calls, exceptions, metrics, and more - stackimpact/stackimpact-python
2017 · github.com · its alternatives →
- 9

Hi HN, I have created a webpage that displays all C++ features since C++20 in a simple, searchable table. It is intended to serve as a quick reference for C++ developers, whether as support for cross-platform development or simply to track the current support status out of curiosity. I created it as a simpler, more structured, and more up-to-date alternative to the cppreference compiler support site. Please note that the page intentionally does not list LWG and CWG papers. This might change as I am continually updating the site and trying out new ideas. Questions, feedback and suggestions…
2025 · cppstat.dev · its alternatives →
- 10

Note: this is an update to [this](https://news.ycombinator.com/item?id=44568529) "Show HN" post. timep is a state-of-the-art [debug-]trap-based bash profiler that is efficient and extremely accurate. Unlike other profilers, timep records: 1. per-command wall-clock time 2. per-command CPU time, and 3. the hierarchy of parent function calls /subshells for each command the wall-clock + CPU time combination allows you to determine if a particular command is CPU-bound or IO-bound, and the hierarchical logging gives you a map of how the code actually executed. The standout…
2025 · github.com · its alternatives →
- 11

A C++ HTML template engine that uses compile time HTML parsing - rep-movsd/see-phit
2017 · github.com · its alternatives →
- 12OC
2012 · assembly.ynh.io · its alternatives →
- 13

A simple way to output stack traces when a program crashes in C++, using the new C++23 <stacktrace> header - TylerGlaiel/Crashlogs
2023 · github.com · its alternatives →
- 14

Hi HN! Korean high school senior here, about to start CS in college. I built a browser engine from scratch in C++ to understand how browsers work. First time using C++, 8 weeks of development, lots of debugging—but it works! Features: - HTML parsing with error correction - CSS cascade and inheritance - Block/inline layout engine - Async image loading + caching - Link navigation + history Hardest parts: - String parsing(html, css) - Rendering - Image Caching & Layout Reflowing What I learned (beyond code): - Systematic debugging is crucial - Ship with known bugs rather than chase…
Jan 2026 · github.com · its alternatives →
- 15

I kept slamming into Claude Code limits mid-session and couldn’t find a quick way to see how close I was getting, so I hacked together a tiny local tracker. Streams your prompt + completion usage in real time Predicts whether you’ll hit the cap before the session ends Runs 100 % locally (no auth, no server) Presets for Pro, Max × 5, Max × 20 — tweak a JSON if your plan’s different GitHub: https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor It’s already spared me a few “why did my run just stop?” moments, but it’s still rough around the edges. Feedback, bug…
2025 · github.com · its alternatives →
- 16

2021 · github.com · its alternatives →
- 17

A dbg(…) macro for C++. Contribute to sharkdp/dbg-macro development by creating an account on GitHub.
2019 · github.com · its alternatives →
- 18

Hey HN! We are happy to share Perforator – our internal cluster-wide profiler with great support for native languages and a built-in AutoFDO pipeline to simplify sPGO builds. Perforator allows you to profile most binaries without having to recompile or adjust the build process. We use it at Yandex to profile each pod inside a large cluster at modest speed (99Hz), collecting petabytes of profiles every day. There's a blog post about it at https://medium.com/yandex/yandexs-high-performance-profiler-.... Inspired by Google-Wide Profiling, we started continuous profiling…
2025 · github.com · its alternatives →
- 19

⛳ Simple, extensible, header-only C++20 argument parser released into the public domain. - sailormoon/flags
2016 · github.com · its alternatives →
- 20

Hey HN. We’re Jay and Vadim from Highlight.io (https://highlight.io). We’re building an open source [1] monitoring platform for web applications. Today we’re excited to be sharing a performance tool we’ve been working on, which helps you inspect the latency of code execution from the client to the server. As engineers at past startups, we often had to debug slow queries, poor load times, inconsistent errors, etc... While tools like Jaegar [2] helped us inspect server-side performance, we had no way to tie user events to the traces we were inspecting. In other words, although we had…
2024 · github.com · its alternatives →
- 21

I am excited to announce the project I am working on: an advanced mobile app profiler for Android. Its primary purpose is to optimize app performance and make it faster. Additionally, it serves as an excellent debugging tool. The main distinction between existing tools, such as Perfetto and the Android Studio Profiler, is the ability to synchronize the trace with a video recording of your app. This allows you to see the app's UX alongside what's occurring within the app to identify what's causing slowdowns. Another key feature is the ability to click on any slice and view the cross-thread…
2024 · crpath.app · its alternatives →
- 22

An approach for runtime detection inside a constexpr function - SaadAhmad/in_constexpr
2017 · github.com · its alternatives →
- 23

Morning HN. Random number generation feels is a somewhat underrepresented topic in the C++ realm. There is a lot of questionable info about it found online and even the standard library is quite behind the times in terms of it's algorithms. It suffers from trying to accommodate sometimes impractical standard requirements and has several ways of getting significantly bad statistical results. This leaves a lot easily achievable performance & quality on the table. So, being a mathematician who mostly works with stochastic models and wants these models to run fast and well, I embarked on a…
2025 · github.com · its alternatives →
- 24

[I'm the author] Spall is a web-accessible profiler that I made to help my web-dev friends load gigabyte+ JSON traces without lunch-break-long load times. Recently, Spall got experimental support for auto-tracing with binary traces (along with an in-progress native-port, to give it more memory headroom), which was used to help track down and fix some hard-to-spot lock contention issues in the Odin-language compiler. I demoed it at the Handmade Seattle conference in October, https://guide.handmade-seattle.com/c/2022/spall/, with a head-to-head against Perfetto,…
2023 · gravitymoth.com · its alternatives →
Also compare
- Match(it): A C++17 pattern-matching library with lots of good stuffs alternatives
- Prof – Self-contained C/C++ profiler library for Linux alternatives
- A simple header-only profiler for C/C++ alternatives
- G-Profiler by Granulate alternatives
- Doctest – C++ single-header testing framework alternatives
- beLow alternatives
Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →