GitHub - stvp/resp: Golang package for buffered I/O of Redis protocol

Skip to content

Navigation Menu

Sign in

Appearance settings

resp

Build Status

resp is an (incomplete) Go package that provides helpful tools for reading and writing Redis protocol objects.

Documentation

Benchmarks

Benchmarks run on a 2015 MacBook with 1.1 GHz Intel Core M:

BenchmarkCommandSlices-4              	10000000	       211 ns/op	      48 B/op	       1 allocs/op
BenchmarkReaderReadObjectSliceSmall-4 	20000000	        98.7 ns/op	       0 B/op	       0 allocs/op
BenchmarkReaderReadObjectSliceMedium-4	 5000000	       277 ns/op	       0 B/op	       0 allocs/op
BenchmarkParseLenLine-4               	100000000	        19.3 ns/op	       0 B/op	       0 allocs/op