Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 842 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 842 Bytes

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