We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5770edb commit 9a627c8Copy full SHA for 9a627c8
1 file changed
section4/gperf.cpp
@@ -6,7 +6,9 @@
6
// pprof --pdf ./a.out case1.perf >case1.pdf
7
// pprof --svg ./a.out case1.perf >case1.svg
8
// pprof --collapsed ./a.out case1.perf > case1.cbt
9
-// ./flamegraph.pl case1.cbt > fg.svg
+//
10
+// ./flamegraph.pl case1.cbt > flame.svg
11
+// ./flamegraph.pl --invert --color aqua case1.cbt > icicle.svg
12
//
13
// g++ gperf.cpp -std=c++14 -lprofiler -ltcmalloc -g -O0 -o a.out;./a.out
14
@@ -54,14 +56,14 @@ void case1()
54
56
55
57
auto str = "neir:automata"s;
58
-#if 1
59
+#if 0
60
auto reg = make_regex(R"(^(\w+)\:(\w+)$)");
61
auto what = make_match();
62
#endif
63
64
for(int i = 0; i < 1000; i++) {
65
-#if 0
66
+#if 1
67
68
69
0 commit comments