tangled
alpha
login
or
join now
ptr.pet
/
nsid-tracker
3
fork
atom
tracks lexicons and how many times they appeared on the jetstream
3
fork
atom
overview
issues
pulls
pipelines
feat(server): use snmalloc again on everything
ptr.pet
7 months ago
f434daf7
c194514c
verified
This commit was signed with the committer's
known signature
.
ptr.pet
SSH Key Fingerprint:
SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw=
-31
3 changed files
expand all
collapse all
unified
split
server
Cargo.lock
Cargo.toml
src
main.rs
-21
server/Cargo.lock
···
1573
1573
"smol_str",
1574
1574
"snmalloc-rs",
1575
1575
"threadpool",
1576
1576
-
"tikv-jemallocator",
1577
1576
"tokio",
1578
1577
"tokio-util",
1579
1578
"tokio-websockets",
···
1751
1750
checksum = "d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa"
1752
1751
dependencies = [
1753
1752
"num_cpus",
1754
1754
-
]
1755
1755
-
1756
1756
-
[[package]]
1757
1757
-
name = "tikv-jemalloc-sys"
1758
1758
-
version = "0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7"
1759
1759
-
source = "registry+https://github.com/rust-lang/crates.io-index"
1760
1760
-
checksum = "cd3c60906412afa9c2b5b5a48ca6a5abe5736aec9eb48ad05037a677e52e4e2d"
1761
1761
-
dependencies = [
1762
1762
-
"cc",
1763
1763
-
"libc",
1764
1764
-
]
1765
1765
-
1766
1766
-
[[package]]
1767
1767
-
name = "tikv-jemallocator"
1768
1768
-
version = "0.6.0"
1769
1769
-
source = "registry+https://github.com/rust-lang/crates.io-index"
1770
1770
-
checksum = "4cec5ff18518d81584f477e9bfdf957f5bb0979b0bac3af4ca30b5b3ae2d2865"
1771
1771
-
dependencies = [
1772
1772
-
"libc",
1773
1773
-
"tikv-jemalloc-sys",
1774
1753
]
1775
1754
1776
1755
[[package]]
-5
server/Cargo.toml
···
30
30
rayon = "1.10.0"
31
31
parking_lot = { version = "0.12", features = ["send_guard", "hardware-lock-elision"] }
32
32
rclite = "0.2.7"
33
33
-
34
34
-
[target.'cfg(target_env = "msvc")'.dependencies]
35
33
snmalloc-rs = "0.3.8"
36
36
-
37
37
-
[target.'cfg(not(target_env = "msvc"))'.dependencies]
38
38
-
tikv-jemallocator = "0.6"
-5
server/src/main.rs
···
21
21
mod jetstream;
22
22
mod utils;
23
23
24
24
-
#[cfg(not(target_env = "msvc"))]
25
25
-
#[global_allocator]
26
26
-
static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
27
27
-
28
28
-
#[cfg(target_env = "msvc")]
29
24
#[global_allocator]
30
25
static ALLOC: snmalloc_rs::SnMalloc = snmalloc_rs::SnMalloc;
31
26