Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
133 changes: 127 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ windows-sys = "0.59"
xdg = "2.5"
tikv-jemallocator = { version = "0.6.0", features = ["profiling", "stats"] }
tikv-jemalloc-ctl = { version = "0.6.0", features = ["stats"]}
jemalloc_pprof = { version = "0.7", features = ["symbolize", "flamegraph"] }

# Vendor the openssl we rely on, rather than depend on a
# potentially very old system version.
Expand Down
7 changes: 7 additions & 0 deletions crates/bench/benches/subscription.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ use spacetimedb_primitives::{col_list, TableId};
use spacetimedb_query::compile_subscription;
use spacetimedb_sats::{bsatn, product, AlgebraicType, AlgebraicValue, ProductValue};

#[cfg(not(target_env = "msvc"))]
use tikv_jemallocator::Jemalloc;

#[cfg(not(target_env = "msvc"))]
#[global_allocator]
static GLOBAL: Jemalloc = Jemalloc;

fn create_table_location(db: &RelationalDB) -> Result<TableId, DBError> {
let schema = &[
("entity_id", AlgebraicType::U64),
Expand Down
3 changes: 3 additions & 0 deletions crates/client-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,8 @@ jsonwebtoken.workspace = true
scopeguard.workspace = true
serde_with.workspace = true

[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemalloc_pprof.workspace = true

[dev-dependencies]
jsonwebtoken.workspace = true
Loading
Loading