Go vs Competitors: Benchmark Results 2025

Online Python Trainer for Beginners

Learn Python easily without overwhelming theory. Solve practical tasks with automatic checking, get hints in Russian, and write code directly in your browser — no installation required.

Start Course

Go vs Competitors: Benchmark Results 2025



In 2025, the Go language (Golang) continues to strengthen its position in the segment of cloud services, microservices, and high-load backends. However, competition from Rust, Python (with C-extensions), and classic C++ is becoming increasingly interesting. We analyzed the latest benchmarks from the TechEmpower community and independent labs to understand where Go is still ahead and where it falls behind.



Testing Methodology

All measurements were conducted on identical hardware (AMD EPYC 64 cores, 256 GB RAM, NVMe SSD) running Ubuntu 24.04 LTS. Tests included:

  • HTTP-server — processing 10,000 requests/s with a JSON response (Fasthttp vs Actix vs Node.js vs Sanic)
  • Computations — matrix multiplication 2048×2048 (CPU-bound)
  • Memory consumption — idle mode after loading 100 thousand objects
  • Compilation speed — build time for an average project (~50 files)


Benchmark Results

Here are the key figures (Go is taken as 100% in each category):

  • HTTP throughput: Go — 100% (1.2 million req/s), Rust — 115%, C++ — 130%, Python (uvicorn) — 20%.
  • Computational performance: Go — 100%, Rust — 108%, C++ — 135%, Python (NumPy) — 45% (with C-backend).
  • Memory consumption (per 10 thousand goroutines/threads): Go — 4.2 MB, Rust — 3.8 MB, C++ — 5.1 MB, Python — 89 MB.
  • Compilation speed: Go — 0.8 sec, Rust — 4.2 sec, C++ — 7.1 sec, Python — 0.1 sec (interpretation).


Analysis: Where Go Wins in 2025?

Despite the fact that Rust and C++ show better "raw" performance in computations, Go maintains its lead in the web environment thanks to three factors:

  • Goroutines: lightweight threads with overhead of ~4 KB vs 1 MB for C++ system threads.
  • Garbage collection: in Go version 1.24, GC latency is reduced to 0.5 ms at 95% load, approaching Rust's manual memory management.
  • Ecosystem: the standard library covers 90% of backend tasks without external dependencies.


Python remains the king of prototyping and ML, but for production loads, Go offers 4-5 times greater throughput for the same CPU budget.



Conclusions for Developers

If your project is a high-load API, data streaming, or a cloud service, Go remains the optimal choice in 2025. Rust — for systems with strict memory safety requirements (drivers, kernels). C++ — for games and embedded. Python — for quick prototypes and Data Science.



Full benchmark tables and test source code are available in the repository TechEmpower Framework Benchmarks.

Recommended Libraries