Ghee/benchmark/CMakeLists.txt
Josh Hansen e2229f37fe Get db_bench_sqlite3 to build and run
SQLite:     version 3.37.2
Date:       Tue Sep  5 18:14:33 2023
CPU:        8 * Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
CPUCache:   8192 KB
Keys:       16 bytes each
Values:     100 bytes each
Entries:    1000000
RawSize:    110.6 MB (estimated)
------------------------------------------------
fillseqsync  :    1008.999 micros/op;    0.1 MB/s
168     /tmp/leveldbtest-1000/dbbench_sqlite3-1.db
8756    /tmp/leveldbtest-1000/dbbench_sqlite3-1.db-wal
fillrandsync :    1006.494 micros/op;    0.1 MB/s
164     /tmp/leveldbtest-1000/dbbench_sqlite3-2.db
8856    /tmp/leveldbtest-1000/dbbench_sqlite3-2.db-wal
fillseq      :       7.157 micros/op;   15.5 MB/s
153288  /tmp/leveldbtest-1000/dbbench_sqlite3-3.db
16508   /tmp/leveldbtest-1000/dbbench_sqlite3-3.db-wal
fillseqbatch :       1.452 micros/op;   76.2 MB/s
153288  /tmp/leveldbtest-1000/dbbench_sqlite3-4.db
16628   /tmp/leveldbtest-1000/dbbench_sqlite3-4.db-wal
fillrandom   :      10.571 micros/op;   10.5 MB/s
152392  /tmp/leveldbtest-1000/dbbench_sqlite3-5.db
16508   /tmp/leveldbtest-1000/dbbench_sqlite3-5.db-wal
fillrandbatch :       6.290 micros/op;   17.6 MB/s
152416  /tmp/leveldbtest-1000/dbbench_sqlite3-6.db
20672   /tmp/leveldbtest-1000/dbbench_sqlite3-6.db-wal
overwrite    :      19.451 micros/op;    5.7 MB/s
212664  /tmp/leveldbtest-1000/dbbench_sqlite3-6.db
20672   /tmp/leveldbtest-1000/dbbench_sqlite3-6.db-wal
readrandom   :       4.547 micros/op;
readseq      :       1.917 micros/op;   49.7 MB/s
readreverse  :       1.884 micros/op;   50.6 MB/s
2023-09-05 18:16:15 -07:00

5 lines
85 B
CMake

cmake_minimum_required (VERSION 3.22)
project (dbbenchmarks)
add_subdirectory(src)