Sharkbench

Benchmarking programming languages and web frameworks

FastHTTP (Go)
FastHTTP is a low-level, high-performance HTTP framework for Go. It is designed to be faster than the standard net/http package and is optimized for high performance and low memory usage.
This benchmark tests how fast a framework can perform concurrent HTTP requests, I/O operations, and JSON de/serialization.
MedianP99
Framework
Requests per second
Latency
Stability
Memory
Go v1.22 / FastHTTP v1
9774
1.4 ms
2.97 %
15.6 MB
Go v1.20 / FastHTTP v1
9344
1.5 ms
3.12 %
11.8 MB

About Go

Paradigm

Concurrent, Imperative, Procedural

Execution

Compiled

Typing

Static

Null Safety

NO

Memory Management

Garbage Collection

Go, often referred to as Golang, is a statically typed, compiled programming language designed at Google. It is syntactically similar to C, but with memory safety, garbage collection, structural typing, and CSP-style concurrency. Go is designed to be simple, efficient, and readable, with a focus on modern software design and concurrent programming. It is widely used in production at Google and many other organizations worldwide and is particularly favored for building network servers, data pipelines, and even command-line tools.

Go web frameworks

MedianP99
Framework
Requests per second
Latency
Stability
Memory
Go / FastHTTP
9774
1.4 ms
2.97 %
15.6 MB
Go / Gin
5800
2.0 ms
3.29 %
16.3 MB

© 2024 Tien Do Nam