I benchmarked six Go SQLite drivers
github.com
I benchmarked six Go SQLite drivers
1–10 of 64 posts
Re: I benchmarked six Go SQLite drivers
#2Re: I benchmarked six Go SQLite drivers
#3I seem to remember that modernc worked great until i added a FTS5 [1] table and things became very slow. This was a while ago now, so it may have changed or I may mave misattributed the slowness to the non-CGO implementation.
I'd be curious to see how each performs with a fts index and some triggers.
Re: I benchmarked six Go SQLite drivers
#4I hadn't heard of sqinn before. According to these benchmarks it beats Cgo-based solutions most of the time, which makes it a very interesting candidate. Anyone have real-world experience using it?
Re: I benchmarked six Go SQLite drivers
#5Re: I benchmarked six Go SQLite drivers
#6Our workloads are a bit different and obviously our machines are a bit different.
Mine only compares mattn/go-sqlite3 to my own fork of https://github.com/bvinc/go-sqlite-lite. go-sqlite-lite seemed like an easier-to-use version of crawshaw's package but it was abandoned so I forked it to bring it up to date.
I agree, for best performance you shouldn't use mattn/go-sqlite3. It does some extra work in hotpaths. It is also higher level and easier to use though. So pick what's important to you.
Re: I benchmarked six Go SQLite drivers
#7I hadn't heard of sqinn before. According to these benchmarks it beats Cgo-based solutions most of the time, which makes it a very interesting candidate. Anyone have real-world experience using it?
Re: I benchmarked six Go SQLite drivers
#8What a curious state, there is just one jdbc (=java) driver for SQLite. Why are there 6 (or more!) for Go?
Re: I benchmarked six Go SQLite drivers
#9What a curious state, there is just one jdbc (=java) driver for SQLite. Why are there 6 (or more!) for Go?
[0] https://github.com/search?q=topic%3Ajdbc%20topic%3Asqlite&ty...
Re: I benchmarked six Go SQLite drivers
#10"Complex" kinda covers this, since there are foreign keys involved, and it's also where e.g. Zombie shows an uncharacteristic slowdown compared to the other benchmarks. Seems like it's probably not a coincidence?