Repository navigation
Expand file tree
/
Copy path.taskcmd
More file actions
160 lines (129 loc) · 5.32 KB
/
Copy path.taskcmd
File metadata and controls
160 lines (129 loc) · 5.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
.vars
.BENCH_TOOLKIT +1.94.0
.tasks
.audit
.desc Checks for vulnerabilities
.cmd cargo audit
.build
.desc Builds in debug mode
.cmd cargo build
.bench-all
.desc Executes all bulk-memory benchmarks
.cmd rm -rf target/criterion
.cmd cargo {{BENCH_TOOLKIT}} bench --bench memory-init | tee ./results/memory-init.txt
.cmd cargo {{BENCH_TOOLKIT}} bench --bench memory-grow | tee ./results/memory-grow.txt
.cmd cargo {{BENCH_TOOLKIT}} bench --bench memory-fill | tee ./results/memory-fill.txt
.cmd cargo {{BENCH_TOOLKIT}} bench --bench memory-copy | tee ./results/memory-copy.txt
.cmd cargo {{BENCH_TOOLKIT}} bench --bench table-init | tee ./results/table-init.txt
.cmd cargo {{BENCH_TOOLKIT}} bench --bench table-grow | tee ./results/table-grow.txt
.cmd cargo {{BENCH_TOOLKIT}} bench --bench table-fill | tee ./results/table-fill.txt
.cmd cargo {{BENCH_TOOLKIT}} bench --bench table-copy | tee ./results/table-copy.txt
.cmd cargo {{BENCH_TOOLKIT}} bench --bench data-drop | tee ./results/data-drop.txt
.cmd cargo {{BENCH_TOOLKIT}} bench --bench elem-drop | tee ./results/elem-drop.txt
.bench-clean-results
.cmd cat ./results/memory-init.txt | grep -E '^m.init' > ./results/memory-init-1.txt
.cmd cat ./results/memory-grow.txt | grep -E '^m.grow' > ./results/memory-grow-1.txt
.cmd cat ./results/memory-fill.txt | grep -E '^m.fill' > ./results/memory-fill-1.txt
.cmd cat ./results/memory-copy.txt | grep -E '^m.copy' > ./results/memory-copy-1.txt
.cmd cat ./results/table-init.txt | grep -E '^t.init' > ./results/table-init-1.txt
.cmd cat ./results/table-grow.txt | grep -E '^t.grow' > ./results/table-grow-1.txt
.cmd cat ./results/table-fill.txt | grep -E '^t.fill' > ./results/table-fill-1.txt
.cmd cat ./results/table-copy.txt | grep -E '^t.copy' > ./results/table-copy-1.txt
.cmd cat ./results/data-drop.txt | grep -E '^d.drop' > ./results/data-drop-1.txt
.cmd cat ./results/elem-drop.txt | grep -E '^e.drop' > ./results/elem-drop-1.txt
.bench-memory-init
.desc Executes benchmarks for memory.init operator
.cmd rm -rf target/criterion
.cmd cargo {{BENCH_TOOLKIT}} bench --bench memory-init
.bench-memory-grow
.desc Executes benchmarks for memory.grow operator
.cmd rm -rf target/criterion
.cmd cargo {{BENCH_TOOLKIT}} bench --bench memory-grow
.bench-memory-fill
.desc Executes benchmarks for memory.fill operator
.cmd rm -rf target/criterion
.cmd cargo {{BENCH_TOOLKIT}} bench --bench memory-fill
.bench-memory-copy
.desc Executes benchmarks for memory.copy operator
.cmd rm -rf target/criterion
.cmd cargo {{BENCH_TOOLKIT}} bench --bench memory-copy
.bench-table-init
.desc Executes benchmarks for table.init operator
.cmd rm -rf target/criterion
.cmd cargo {{BENCH_TOOLKIT}} bench --bench table-init
.bench-table-grow
.desc Executes benchmarks for table.grow operator
.cmd rm -rf target/criterion
.cmd cargo {{BENCH_TOOLKIT}} bench --bench table-grow
.bench-table-fill
.desc Executes benchmarks for table.fill operator
.cmd rm -rf target/criterion
.cmd cargo {{BENCH_TOOLKIT}} bench --bench table-fill
.bench-table-copy
.desc Executes benchmarks for table.copy operator
.cmd rm -rf target/criterion
.cmd cargo {{BENCH_TOOLKIT}} bench --bench table-copy
.bench-data-drop
.desc Executes benchmarks for data.drop operator
.cmd rm -rf target/criterion
.cmd cargo {{BENCH_TOOLKIT}} bench --bench data-drop
.bench-elem-drop
.desc Executes benchmarks for elem.drop operator
.cmd rm -rf target/criterion
.cmd cargo {{BENCH_TOOLKIT}} bench --bench elem-drop
.clean
.desc Cleans all targets
.cmd cargo clean
.cmd rm -rf ./manual/book
.clippy
.desc Runs clippy for all targets
.cmd cargo +nightly clippy --all-targets
.cov
.desc Generates code coverage report in text format
.cmd cargo llvm-cov clean
.cmd cargo llvm-cov --no-cfg-coverage
.cov-html
.desc Generates code coverage report in HTML format
.cmd cargo llvm-cov clean
.cmd cargo llvm-cov --no-cfg-coverage --html
.cov-html-open
.desc Generates code coverage report in HTML format and opens in browser
.cmd cargo llvm-cov clean
.cmd cargo llvm-cov --no-cfg-coverage --html --open
.cov-badge
.desc Generates the detailed code coverage badge
.cmd cargo llvm-cov clean
.cmd cargo llvm-cov --no-cfg-coverage --json --summary-only | coverio --collapse --tag cov-badge
.doc
.desc Generates documentation
.cmd cargo doc
.doc-private
.desc Generates documentation
.cmd cargo doc --document-private-items
.doc-open
.desc Generates documentation and opens in browser
.cmd cargo doc --open
.doc-private-open
.desc Generates documentation and opens in browser
.cmd cargo doc --open --document-private-items
.fmt
.desc Runs code formatter
.cmd cargo +nightly fmt
.manual
.desc Builds the manual from Markdown files
.cmd mdbook build
.dir manual
.readme
.desc Recreates README file
.cmd magg readme
.task cov-badge
.serve
.desc Serves manual locally and rebuilds on changes
.cmd mdbook serve
.dir manual
.test
.desc Runs tests in debug mode
.cmd cargo test
.testn
.desc Runs tests in debug mode
.cmd cargo nextest run