Commit a005493
authored
Add callgraph generation to callgrind based benchmarks (#1465)
This functionality adds a new callgraph generated from the callgrind run
to the `slang` and `cmp` benchmarks. It generates 2 new files:
- `callgrind.<test name>.test.out.callgraph.dot`, the graphviz
representation of the callgraph
- `callgrind.<test name>.test.out.callgraph.svg`, the rendered version
It adds a dependency to `graphviz` and `gprof2dot`.
I run both benchmarks to test it out:
- https://github.com/NomicFoundation/slang/actions/runs/19263493239
- https://github.com/NomicFoundation/slang/actions/runs/192601657201 parent 0d5fa04 commit a005493
File tree
5 files changed
+433
-396
lines changed- .github/workflows
- crates/infra/cli/src/commands/perf/cargo
5 files changed
+433
-396
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments