{"repo":"yousuf64/shift","free":true,"listed":false,"github":"https://github.com/yousuf64/shift","clone":"git clone https://github.com/yousuf64/shift.git","description":"The fastest HTTP router available for Go.","language":"Go","stars":61,"topics":["go","golang","http-router","router","microservices","mux","api","mit"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"shift : high-performance HTTP router for Go High-performance HTTP router for Go, with a focus on speed, simplicity, and ease-of-use. At the core of its performance, shift uses a powerful combination of radix trees and hash maps, setting the standard for lightning-fast routing. Why shift ? shift is faster than other mainstream HTTP routers. Unlike other fast routers, shift strives to remain idiomatic and close to the standard library as much as possible. Its primary focus is on routing requests quickly and efficiently, without attempting to become a full-fledged framework. Despite its simplicity, shift offers powerful routing capabilities. shift is compatible with net/http request handlers and middlewares. Benchmarks shift is benchmarked against Gin and Echo in the benchmark suite. The benchmark suite is also available as a GitHub Action. Results Comparison between shift , gin and echo as of Feb 27, 2023 on Go 1.19.4 (windows/amd64) Benchmark system specifications: 12th Gen Intel Core i7-1265U vPro (12 MB cache, 10 cores, up to 4.80 GHz Turbo) 32 GB (2x 16 GB), DDR4-3200 Windows 10 Enterprise 22H2 Go 1.19.4 (windows/amd64) Column 1: Benchmark name Column 2: Number of iterations, higher means more confident result Column 3: Nanoseconds elapsed per operation (ns/op), lower is better Column 4: Number of bytes allocated on heap per operation (B/op), lower is better Column 5: Average allocations per operation (allocs/op), lower is better Features Fast and zero heap allocations. Mid","default_branch":null,"files":null,"tree":[],"storefront":"/r/yousuf64","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yousuf64/shift/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}