File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Memory benchmarks
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ memory :
8+ runs-on : ubuntu-24.04
9+
10+ steps :
11+ - name : Checkout
12+ uses : actions/checkout@v6
13+
14+ - name : Install Valgrind
15+ run : |
16+ sudo apt-get update
17+ sudo apt-get install -y valgrind
18+
19+ - name : Build
20+ run : cargo build --release --examples
21+
22+ - name : Profile raig
23+ run : |
24+ valgrind \
25+ --tool=massif \
26+ --time-unit=B \
27+ --massif-out-file=massif-raig.out \
28+ ./target/release/examples/memory_raig tests/benchmark.aig
29+
30+ ms_print massif-raig.out > massif-raig.txt
31+
32+ - name : Profile mutaig
33+ run : |
34+ valgrind \
35+ --tool=massif \
36+ --time-unit=B \
37+ --massif-out-file=massif-mutaig.out \
38+ ./target/release/examples/memory_mutaig tests/benchmark.aig
39+
40+ ms_print massif-mutaig.out > massif-mutaig.txt
41+
42+ - name : Profile aig-rs
43+ run : |
44+ valgrind \
45+ --tool=massif \
46+ --time-unit=B \
47+ --massif-out-file=massif-aig-rs.out \
48+ ./target/release/examples/memory_aig_rs tests/benchmark.aig
49+
50+ ms_print massif-aig-rs.out > massif-aig-rs.txt
51+
52+ - name : Upload profiles
53+ uses : actions/upload-artifact@v4
54+ with :
55+ name : memory-profiles
56+ path : |
57+ massif-*.out
58+ massif-*.txt
You can’t perform that action at this time.
0 commit comments