You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Inderjit Gill 0918a2d015 updated copyright notice to 2020 2 weeks ago
..
benches cli -> terminal 3 months ago
src updated copyright notice to 2020 2 weeks ago
.gitignore cli -> terminal 3 months ago
Cargo.toml cli -> terminal 3 months ago
README.md cli -> terminal 3 months ago
Settings.toml cli -> terminal 3 months ago

README.md

running with logging levels:

$ RUST_LOG=trace ./target/debug/cli script.seni


recording performance/flamegraph data: (requires perf and flamegraph)

$ sudo perf record -g ./target/release/cli 1841-nib.seni $ sudo perf script | /home/indy/repos/perl/FlameGraph/stackcollapse-perf.pl | /home/indy/repos/perl/FlameGraph/flamegraph.pl > flame.svg


running benchmarks

$ cargo bench

then view ./target/criterion/report/index.html (see https://bheisler.github.io/criterion.rs/book/user_guide/plots_and_graphs.html)

installing tools

gnuplot

$ sudo apt install gnuplot

perf

get the perf tool by installing the linux-tools package. This is a virtual package so you need to specify the correct variation for your kernel.

find out the kernel with:
$ uname -r

can then install the correct linux-tool variant:
$ sudo apt install linux-tools-oem

flamegraph

$ cd repos/perl
$ git clone https://github.com/brendangregg/FlameGraph.git