change allocator to raw_c_allocator
This commit is contained in:
@@ -384,9 +384,9 @@ Profiling
|
||||
Prepare `profile.data`:
|
||||
|
||||
```
|
||||
zig build -Drelease-small=true
|
||||
perf record --call-graph=dwarf \
|
||||
zig-out/bin/turbo-unix2db --passwd passwd2 --group group2
|
||||
zig build -Drelease-small=true && \
|
||||
perf record --call-graph=dwarf \
|
||||
zig-out/bin/turbo-unix2db --passwd passwd2 --group group2
|
||||
```
|
||||
|
||||
Perf interactive:
|
||||
@@ -398,8 +398,7 @@ perf report -i perf.data
|
||||
Flame graph:
|
||||
|
||||
```
|
||||
perf script | inferno-collapse-perf > stacks.folded
|
||||
inferno-flamegraph stacks.folded > profile.svg
|
||||
perf script | inferno-collapse-perf | inferno-flamegraph > profile.svg
|
||||
```
|
||||
|
||||
[git-subtrac]: https://apenwarr.ca/log/20191109
|
||||
|
||||
Reference in New Issue
Block a user