bench

command
v0.0.0-...-7203340 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2018 License: MIT Imports: 12 Imported by: 0

README

Latest benchmark results

Units: [ns/op (ratio from ORM)]

Test ORM Raw GORM
Insert 20985 (100%) 15152 (72%) 59076 (281%)
Query 2860340 (100%) 2590434 (90%) 8488300 (296%)
QueryLargeStruct 16167653 (100%) 17622053 (108%) 75073092 (464%)

graph

Benchmark time: 2018-01-27

Compared packages:
  • ORM: posener/orm (this package)
  • RAW: Direct SQL commands
  • GORM: jinzhu/gorm
Operations:
  • Insert: INSERT operations
  • Query: SELECT operations on an object with 2 fields
  • QueryLargeStruct: SELECT on an object of ~35 different fields

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL