Skip to content

Commit 1675e4f

Browse files
committed
Continuous memory profiling
1 parent b3b29e2 commit 1675e4f

File tree

17 files changed

+621
-83
lines changed

17 files changed

+621
-83
lines changed

Cargo.lock

Lines changed: 151 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ indexed_db_futures = "0.4.1"
137137
insta = "1.36.1"
138138
is-terminal = "0.4.12"
139139
itertools = "0.14.0"
140+
jemalloc_pprof = "0.8.1"
140141
js-sys = "0.3.70"
141142
k256 = { version = "0.13.4", default-features = false, features = [
142143
"ecdsa",
@@ -233,6 +234,7 @@ test-log = { version = "0.2.15", default-features = false, features = [
233234
test-strategy = "0.3.1"
234235
thiserror = "1.0.65"
235236
thiserror-context = "0.1.1"
237+
tikv-jemallocator = "0.6.0"
236238
tokio = "1.36.0"
237239
tokio-stream = "0.1.14"
238240
tokio-test = "0.4.3"

docker/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ARG binaries=
2525
ARG copy=${binaries:+_copy}
2626
ARG build_flag=--release
2727
ARG build_folder=release
28-
ARG build_features=scylladb,metrics
28+
ARG build_features=scylladb,metrics,memory-profiling
2929
ARG rustflags="-C force-frame-pointers=yes"
3030

3131
FROM rust:1.74-slim-bookworm AS builder
@@ -39,7 +39,8 @@ ARG rustflags
3939
RUN apt-get update && apt-get install -y \
4040
pkg-config \
4141
protobuf-compiler \
42-
clang
42+
clang \
43+
make
4344

4445
COPY examples examples
4546
COPY linera-base linera-base

0 commit comments

Comments
 (0)