mirror of
https://github.com/atuinsh/atuin.git
synced 2026-10-16 04:26:53 +02:00
perf: build the bundled SQLite with SQLITE_DEFAULT_MEMSTATUS=0 (atuinsh/atuin#4342)
Less contention with multiple processes in testing, and overall much better performance. For our usage, we don't need memory stats, and they're easy enough to enable should we wish to profile or something. https://www.sqlite.org/compile.html#recommended_compile_time_options
This commit is contained in:
1 parent
01f2094b7a
commit
73a5da7472
1 file changed
+4
@@ -1,2 +1,6 @@
|
||||
[alias]
|
||||
build-traced = "build -p atuin --profile profiling-traced --features profiling-traced"
|
||||
|
||||
[env]
|
||||
# https://www.sqlite.org/compile.html#recommended_compile_time_options
|
||||
LIBSQLITE3_FLAGS = "-DSQLITE_DEFAULT_MEMSTATUS=0"
|
||||
Reference in new issue
Block a user