Categorygithub.com/shamcode/simd
modulepackage
0.1.2
Repository: https://github.com/shamcode/simd.git
Documentation: pkg.go.dev

# README

simd

Project status Build Go Report Card Coverage Status GoDoc License: MIT

simd (Simple In Memory Database) — is an embeddable golang database with support for conditional queries, custom sorting and custom field types.

Installation

Use go get.

go get github.com/shamcode/simd

Usage

Examples:

Benchmarks

goos: linux
goarch: amd64
pkg: github.com/shamcode/simd/benchmarks
cpu: 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz
Benchmark_SIMDVsSQLite/10_simd-16         	10204716	       586.0 ns/op	     520 B/op	      12 allocs/op
Benchmark_SIMDVsSQLite/10_sqlite-16       	 3068528	      1961 ns/op	     576 B/op	      25 allocs/op
Benchmark_SIMDVsSQLite/100_simd-16        	  413877	     14695 ns/op	   12486 B/op	     288 allocs/op
Benchmark_SIMDVsSQLite/100_sqlite-16      	  119881	     47732 ns/op	   13824 B/op	     600 allocs/op
Benchmark_SIMDVsSQLite/1000_simd-16       	   38463	    153534 ns/op	  129554 B/op	    2988 allocs/op
Benchmark_SIMDVsSQLite/1000_sqlite-16     	   10000	    519068 ns/op	  143424 B/op	    6225 allocs/op
Benchmark_SIMDVsSQLite/5000_simd-16       	    6925	    886589 ns/op	  665895 B/op	   16977 allocs/op
Benchmark_SIMDVsSQLite/5000_sqlite-16     	    2367	   2592095 ns/op	  735330 B/op	   33213 allocs/op
Benchmark_SIMDVsSQLite/10000_simd-16      	    3182	   1896206 ns/op	 1336413 B/op	   34478 allocs/op
Benchmark_SIMDVsSQLite/10000_sqlite-16    	    1190	   5174001 ns/op	 1475333 B/op	   66963 allocs/op
Benchmark_SIMDVsSQLite/50000_simd-16      	     614	  10125915 ns/op	 6696705 B/op	  174480 allocs/op
Benchmark_SIMDVsSQLite/50000_sqlite-16    	     226	  26049774 ns/op	 7395355 B/op	  336963 allocs/op

License

Distributed under MIT License, please see license file within the code for more details.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author