Go vs CGo benchmarks refactored (not TPCH)

Currently Go vs. CGo benchmarks are located in cgo_test.go, mixed with tests, unstructured.

This PR refactors benchmarks code, opening a way for implementing more benchmarks in a structured manner.

The PR also includes custom runner, which automatically plots benchmarking results (vs. mattn's CGo driver) (see https://gitlab.com/glebarez/sqlite/-/tree/benchmarks/benchmark)

The PR also hides benchmarks in a separate submodule, thus reducing need of mattn's driver in root go.mod

Edited by glebarez

Merge request reports

Loading