Skip to content

Commit 9c4c0bc

Browse files
committed
Add profiling instructions
1 parent ed88baf commit 9c4c0bc

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,13 @@ cargo run --release -- -t 14/8580/5737
2525
```
2626

2727
Use any number of `-t` args to load multiple tiles. If no args are passed, load a full map.
28+
29+
# Profiling heap on macOS with Instruments
30+
31+
Install `cargo-instruments`
32+
33+
```
34+
brew install cargo-instruments
35+
```
36+
37+
Run `cargo instruments -t Allocations --release --time-limit 30000` and look at the generated trace in `target/instruments`.

0 commit comments

Comments
 (0)