Sharkbench

Benchmarking programming languages and web frameworks

Gin (Go)
Gin is a high-performance HTTP web framework written in Go (Golang). It is known for its speed and efficiency, built on top of the HttpRouter, the fastest HTTP router for Go. Gin provides a simple to use API for building robust web applications and microservices.
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 / Gin v1
5800
2.0 ms
3.29 %
16.3 MB
Go v1.20 / Gin v1
4905
2.3 ms
3.54 %
17.0 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