mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 08:55:40 +01:00
Merge 'Remove some traces in super hot paths in btree' from Preston Thorpe
Particularly we were tracing `ImmutableRecord` / `BTreeKey` which would then trace the bytes of records. These are super super hot paths and I think we can probably remove even more to under debug assertions so we dont eat those atomics/branches all the time. This PR also introduces the `tracing_release` feature, which turns all `trace!` and `debug!` macro invocations to noops at compile time, and makes that feature available for all bindings. it also removes the unused `lru` dependency, and cleans up the makefile a bit Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com> Closes #2995
This commit is contained in:
@@ -20,6 +20,6 @@ tracing.workspace = true
|
||||
[features]
|
||||
encryption = ["turso_core/encryption"]
|
||||
browser = []
|
||||
|
||||
tracing_release = ["turso_core/tracing_release"]
|
||||
[build-dependencies]
|
||||
napi-build = "2.2.3"
|
||||
|
||||
Reference in New Issue
Block a user