C++ Performance

Open-source C++ projects categorized as Performance

Top 23 C++ Performance Projects

  • C++ Format

    A modern formatting library

    Project mention: {fmt} 10.1 released with optimized format string compilation, container support improvements and many fixes | /r/cpp | 2023-08-14
  • tracy

    Frame profiler

    Project mention: Tuning Linux for Performance | news.ycombinator.com | 2023-10-14

    Not the person you asked, but generally you might want to look at "frame-based" profilers. These are typically used in video games, but the concept is general, and can apply to other applications. The "frame" could also be something like a request or transaction being processed. I like Tracy[1], myself.

    Another latency metric that you'll see, often w/respect to web apps and microservices is "P99" and similar. This is the amount of time in which 99% of requests get their response. For a higher percentile, you get a better idea of worst-case performance.

    [1] https://github.com/wolfpld/tracy

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • Halide

    a language for fast, portable data-parallel computation

    Project mention: Implementing Mario's Stack Blur 15 times in C++ (with tests and benchmarks) | news.ycombinator.com | 2023-11-10

    Probably would have been much easier to do 15 times in https://halide-lang.org/

    The idea behind Halide is that scheduling memory access patterns is critical to performance. But, access patterns being interwoven into arithmetic algorithms makes them difficult to modify separately.

    So, in Halide you specify the arithmetic and the schedule separately so you can rapidly iterate on either.

  • openvino

    OpenVINO™ is an open-source toolkit for optimizing and deploying AI inference

    Project mention: QUIK is a method for quantizing LLM post-training weights to 4 bit precision | news.ycombinator.com | 2023-11-06
  • pixie

    Instant Kubernetes-Native Application Observability

    Project mention: Grafana Beyla: OSS eBPF auto-instrumentation for application observability | news.ycombinator.com | 2023-09-13
  • ArrayFire

    ArrayFire: a general purpose GPU library.

    Project mention: Learn WebGPU | news.ycombinator.com | 2023-04-27

    Loads of people have stated why easy GPU interfaces are difficult to create, but we solve many difficult things all the time.

    Ultimately I think CPUs are just satisfactory for the vast vast majority of workloads. Servers rarely come with any GPUs to speak of. The ecosystem around GPUs is unattractive. CPUs have SIMD instructions that can help. There are so many reasons not to use GPUs. By the time anyone seriously considers using GPUs they're, in my imagination, typically seriously starved for performance, and looking to control as much of the execution details as possible. GPU programmers don't want an automagic solution.

    So I think the demand for easy GPU interfaces is just very weak, and therefore no effort has taken off. The amount of work needed to make it as easy to use as CPUs is massive, and the only reason anyone would even attempt to take this on is to lock you in to expensive hardware (see CUDA).

    For a practical suggestion, have you taken a look at https://arrayfire.com/ ? It can run on both CUDA and OpenCL, and it has C++, Rust and Python bindings.

  • hotspot

    The Linux perf GUI for performance analysis.

    Project mention: Hotspot: A GUI for the Linux perf profiler | /r/C_Programming | 2023-09-12
  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • oneDNN

    oneAPI Deep Neural Network Library (oneDNN)

  • orbit

    C/C++ Performance Profiler

  • TypeRunner

    High-performance TypeScript compiler

    Project mention: Type checking with TypeRunner | dev.to | 2023-02-28

    TypeRunner is a high-performance TypeScript compiler that enables type checking without the need for tsc or a JavaScript engine at all. It speeds up type checking immensely by compiling TypeScript source code to bytecode and running it in a custom virtual machine.

  • palanteer

    Visual Python and C++ nanosecond profiler, logger, tests enabler

  • easy_profiler

    Lightweight profiler library for c++

    Project mention: My first game engine | /r/gameenginedevs | 2023-06-16

    You might also consider building some support for tracing and profiling directly into your engine using Tracy or easy_profiler.

  • icinga2

    The core of our monitoring platform with a powerful configuration language and REST API.

  • datatable

    A Python package for manipulating 2-dimensional tabular data structures

    Project mention: Cheat Sheets for data.table to Python's pandas syntax? | /r/Rlanguage | 2023-06-20

    Aside from that, there is a Python translation of data.table (see documentation here), which might be worth looking into. However, it hasn't had any major updates in a while: the last release 2 years ago ...

  • Boost.Compute

    A C++ GPU Computing Library for OpenCL

  • CppServer

    Ultra fast and low latency asynchronous socket server & client C++ library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and 10K connections problem solution

  • dwarfs

    A fast high compression read-only file system for Linux and Windows

    Project mention: Help! Does anyone know how to install johncena141 games on linux? | /r/LinuxCrackSupport | 2023-07-01

    on a fresh install all you need is dwarfs https://github.com/mhx/dwarfs and libopenal1

  • CacheLib

    Pluggable in-process caching engine to build and scale high performance services

  • ultimatepp

    U++ is a C++ cross-platform rapid application development framework focused on programmer's productivity. It includes a set of libraries (GUI, SQL, Network etc.), and integrated development environment (TheIDE).

    Project mention: Hey guys, just wanted to share some exciting news with you all. U++ 2022.3 has recently been released and there's one big change that everyone should know about. So, what's the big change you ask? Well, you'll have to download the latest version to find out! Happy coding! | /r/cpp | 2023-05-09

    For more information, you can also visit our official site: https://www.ultimatepp.org/.

  • speedb

    A RocksDB compliant high performance scalable embedded key-value store

    Project mention: Speedb | news.ycombinator.com | 2023-08-22
  • vulkan_best_practice_for_mobile_developers

    Vulkan best practice for mobile developers

  • oneMKL

    oneAPI Math Kernel Library (oneMKL) Interfaces

    Project mention: Stable Diffusion on AMD RDNA™ 3 Architecture | /r/hardware | 2022-12-21

    I think there's already been work done to just use intel MKL on any device: https://github.com/oneapi-src/oneMKL

  • reckless

    Reckless logging. Low-latency, high-throughput, asynchronous logging library for C++.

  • SaaSHub

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

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). The latest post mention was on 2023-11-10.

C++ Performance related posts

Index

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

Project Stars
1 C++ Format 18,333
2 tracy 6,628
3 Halide 5,569
4 openvino 4,995
5 pixie 4,993
6 ArrayFire 4,267
7 hotspot 3,562
8 oneDNN 3,298
9 orbit 3,294
10 TypeRunner 2,551
11 palanteer 2,016
12 easy_profiler 1,984
13 icinga2 1,906
14 datatable 1,763
15 Boost.Compute 1,461
16 CppServer 1,206
17 dwarfs 1,176
18 CacheLib 973
19 ultimatepp 668
20 speedb 621
21 vulkan_best_practice_for_mobile_developers 592
22 oneMKL 509
23 reckless 456
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com