chore: callgrind
This commit is contained in:
@@ -10,3 +10,4 @@ prof.json
|
|||||||
*.cpuprofile
|
*.cpuprofile
|
||||||
*.cpuprofile.gz
|
*.cpuprofile.gz
|
||||||
*v8.log*
|
*v8.log*
|
||||||
|
callgrind.out.*
|
||||||
|
|||||||
@@ -29,3 +29,8 @@
|
|||||||
[no-exit-message]
|
[no-exit-message]
|
||||||
@evalp expr:
|
@evalp expr:
|
||||||
cargo run --release --features prof -- eval --expr '{{expr}}'
|
cargo run --release --features prof -- eval --expr '{{expr}}'
|
||||||
|
|
||||||
|
[no-exit-message]
|
||||||
|
[positional-arguments]
|
||||||
|
@cg *args='':
|
||||||
|
valgrind --tool=callgrind --dump-instr=yes --collect-jumps=yes "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user