Sharkbench

Benchmarking programming languages and web frameworks

Gin (Go)

Gin is a high-performance HTTP web framework written in Go (Golang) built on top of HttpRouter, the fastest HTTP router for Go. It provides a simple API for building robust web applications and microservices with an emphasis on speed and efficiency. Gin includes helpful features like middleware support, error management, and JSON validation.
This benchmark tests how fast a framework can perform concurrent HTTP requests, I/O operations, and JSON de/serialization.

OS: LinuxCPU: Intel Core Ultra 5 325Last Updated: 2026-10-14
MedianP99
Framework
Requests per second
Latency
Stability
Memory
Build Time
1640
3.4 ms
3.65 %
23.1 MB
32.20 s
1445
3.9 ms
4.13 %
23.9 MB
32.76 s

About Go

Paradigm

Concurrent, Imperative, Procedural

Execution

Compiled

Typing

Static

Null Safety

NO

Memory Management

Garbage Collection

Go is a statically typed, compiled programming language designed at Google that is syntactically similar to C but with memory safety and garbage collection. It is designed to be simple, efficient, and readable with a focus on concurrent programming. Go is widely used for building network servers, data pipelines, and command-line tools.

Go web frameworks

How does Gin compare to other Go frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
Build Time
2685
1.4 ms
1.58 %
19.9 MB
22.67 s
2179
2.2 ms
2.49 %
21.4 MB
26.66 s
1640
3.4 ms
3.65 %
23.1 MB
32.20 s

Popular web frameworks

How does Gin compare to other popular frameworks?
MedianP99
Framework
Requests per second
Latency
Stability
Memory
Build Time
26670
1.2 ms
74.13 %
16.5 MB
26.69 s
17041
1.5 ms
23.04 %
101.8 MB
6.09 s
15270
2.0 ms
29.45 %
228.4 MB
4.92 s
2962
1.6 ms
1.86 %
286.4 MB
37.73 s
1640
3.4 ms
3.65 %
23.1 MB
32.20 s
792
32.9 ms
20.81 %
63.3 MB
8.55 s
320
99.9 ms
56.36 %
110.2 MB
8.94 s
279
103.8 ms
57.16 %
151.9 MB
10.29 s
92
319.0 ms
80.90 %
80.4 MB
95.22 s

© 2026 Tien Nam Do