microperf 0.1.6

A small tool using perf to provide more performance insights.
Documentation
  • Coverage
  • 0%
    0 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 42.31 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 992.93 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • nicovank/microperf
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • nicovank

MicroPerf

Warning This is a work in progress.

perf

I recommend the following commands to build this project on Ubuntu. Most packages are needed to enable perf features, some may not be necessary. They may be named differently on other distributions.

% sudo apt update

% sudo apt install -y         \
        binutils-dev          \
        bison                 \
        flex                  \
        g++                   \
        git                   \
        libdw-dev             \
        libbabeltrace-ctf-dev \
        libtraceevent-dev     \
        libcap-dev            \
        libelf-dev            \
        libiberty-dev         \
        liblzma-dev           \
        libnuma-dev           \
        libperl-dev           \
        libpfm4-dev           \
        libslang2-dev         \
        libssl-dev            \
        libunwind-dev         \
        libzstd-dev           \
        make                  \
        openjdk-11-jdk        \
        pkg-config            \
        python3-dev           \
        python3-setuptools    \
        systemtap-sdt-dev

% python3 microperf/build-perf.py

Presto

A Docker image is provided to run Presto with this suite of tools. It differs slightly from the official image, for example removing the -Xmx1G JVM flag to allow processing of larger profiles.

% docker image build microperf/presto --compress --tag perf-presto
% docker run -d -p 8080:8080 --name perf-presto perf-presto