Using perf:
$ perf record -g binary
$ perf script | stackcollapse-perf.pl | rust-unmangle | flamegraph.pl > flame.svg
NOTE: See @GabrielMajeri's comments below about the
-g
option.
Using perf:
$ perf record -g binary
$ perf script | stackcollapse-perf.pl | rust-unmangle | flamegraph.pl > flame.svg
NOTE: See @GabrielMajeri's comments below about the
-g
option.
I recently ran into a classic case of "our code is using way more memory than it should". So I took my first dive into memory profiling Rust code. I read several posts about this, including the following
https://www.google.com/advanced_search
Operator | Description | Example |
---|---|---|
"" |
Use this to do an exact-match search. | "great depression" |
OR |
Search for this OR that. This will return results related to the two terms or both. | suggar OR caffeine |
#! /bin/bash | |
red='\033[0;31m' | |
yellow='\033[1;33m' | |
blue='\033[0;34m' | |
green='\033[0;32m' | |
NC='\033[0m' # No Color | |
function echo_color() | |
{ |