mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
A benchmark of its own (docs/Databases/FerretDB/1/SpeedTest/embedded, a Go module, no cgo) loads the speed test's cards into SQLite set up as FerretDB sets it and into Pebble, Badger, bbolt, BuntDB, Nutsdb and Clover, and asks each the six questions WeKan asks of cards, at 15,377 and 153,768 cards. A board's cards take the same time on every engine that is not slower, because decoding the JSON dominates; the key-value stores win single reads and writes by microseconds that a FerretDB call hides; Pebble is 12x slower on fetching a board, Clover 90-190x slower in total, and bbolt with its default fsync 100-160x slower on writes. The README accounts for every entry of the awesome-go section. Thanks to Raymond-Voogt and xet7 !
18 lines
539 B
Go
18 lines
539 B
Go
package main
|
|
|
|
// engines lists what is compared, the baseline first.
|
|
func engines() []maker {
|
|
return []maker{
|
|
openSQLite("SQLite as FerretDB uses it (JSON, expression indexes)", "normal", false),
|
|
openSQLite("SQLite, plain columns (not what FerretDB does)", "normal", true),
|
|
openSQLite("SQLite as FerretDB uses it, synchronous=FULL", "full", false),
|
|
openPebble(),
|
|
openBadger(),
|
|
openBolt("bbolt, no fsync", true),
|
|
openBolt("bbolt, fsync on every commit (its default)", false),
|
|
openBunt(),
|
|
openNuts(),
|
|
openClover(),
|
|
}
|
|
}
|