Skip to content

Commit fdb87df

Browse files
update makefile
1 parent bf63f1d commit fdb87df

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.data/*.log
33
flamegraph*
44
*flamegraph.stacks
5+
*.data

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1+
url ?= postgres://root:password@localhost:5432/rainfrog
2+
13
dev:
2-
cargo run -- -u postgres://root:password@localhost:5432/rainfrog
4+
cargo run -- -u $(url)
5+
6+
profile:
7+
cargo flamegraph --post-process flamelens --root -- -u $(url)

0 commit comments

Comments
 (0)