Skip to content
/ simd Public

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

License

Notifications You must be signed in to change notification settings

shamcode/simd

Repository files navigation

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         	 7684887	      1003 ns/op	     528 B/op	      13 allocs/op
Benchmark_SIMDVsSQLite/10_sqlite-16       	 3042801	      1951 ns/op	     528 B/op	      16 allocs/op
Benchmark_SIMDVsSQLite/100_simd-16        	  287352	     24983 ns/op	   12680 B/op	     312 allocs/op
Benchmark_SIMDVsSQLite/100_sqlite-16      	  128025	     47585 ns/op	   12672 B/op	     384 allocs/op
Benchmark_SIMDVsSQLite/1000_simd-16       	   23180	    269121 ns/op	  131564 B/op	    3237 allocs/op
Benchmark_SIMDVsSQLite/1000_sqlite-16     	   10000	    503999 ns/op	  131472 B/op	    3984 allocs/op
Benchmark_SIMDVsSQLite/5000_simd-16       	    4161	   1710954 ns/op	  676039 B/op	   18226 allocs/op
Benchmark_SIMDVsSQLite/5000_sqlite-16     	    2257	   2581590 ns/op	  675379 B/op	   21972 allocs/op
Benchmark_SIMDVsSQLite/10000_simd-16      	    2406	   3341910 ns/op	 1356782 B/op	   36977 allocs/op
Benchmark_SIMDVsSQLite/10000_sqlite-16    	    1135	   5211279 ns/op	 1355384 B/op	   44472 allocs/op
Benchmark_SIMDVsSQLite/50000_simd-16      	     567	  10497232 ns/op	 6797117 B/op	  186979 allocs/op
Benchmark_SIMDVsSQLite/50000_sqlite-16    	     224	  26435995 ns/op	 6795416 B/op	  224472 allocs/op

License

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published