pyroscope 2.0.6

Pyroscope Profiler Agent for continuous profiling of Rust, Python and Ruby applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ARG BASE_IMAGE=rust:trixie@sha256:a9cfb755b33f5bb872610cbdb25da61f527416b28fc9c052bbce4bef93e7799a
FROM ${BASE_IMAGE}

# Install make - needed by tikv-jemalloc-sys build script.
# Alpine doesn't include it; Debian-based images already have it.
RUN if command -v apk > /dev/null; then apk add --no-cache make; fi

WORKDIR /src
COPY . .

RUN cargo test --locked --lib --tests
# Single thread required for global allocator test
RUN cargo test --locked --lib --tests --features backend-pprof-rs -- --test-threads 1
RUN cargo test --locked --lib --tests --features backend-jemalloc