-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.txt
288 lines (205 loc) · 15.8 KB
/
Main.txt
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
Notes:
* For my (Venryx's) local machine timings, see here: https://github.com/debate-map/app/issues/285#issuecomment-2011166253
* "toml-nightly" below refers to the version of rust specified by the debate-map project's "rust-toolchain.toml" file; as of this date (2024-03-26), this version was set to: "nightly-2024-03-05"
* For entries with ", app-server" at the end of its config specifier, that means I ran the command within the "./Packages/app-server" folder, rather than the debate-map repo-root. (this seems to have no meaningful impact on the timings, but wanted to confirm)
======================================================
=== Remote cargo-build, stock-nightly/toml-nightly ===
======================================================
Remote, debug, stock-nightly, app-server: (fresh, incr, incr, change then incr)
Compiling rust-macros v0.0.1 (/home/individual/venryx/app/Packages/rust-macros)
Compiling rust-shared v0.0.1 (/home/individual/venryx/app/Packages/rust-shared)
Compiling app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo +nightly build
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo +nightly build
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo +nightly build
Compiling app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.31s
==========
Remote, debug, toml-nightly, app-server: (fresh, incr, incr, change then incr)
Compiling rust-macros v0.0.1 (/home/individual/venryx/app/Packages/rust-macros)
Compiling rust-shared v0.0.1 (/home/individual/venryx/app/Packages/rust-shared)
Compiling app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.98s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo build
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo build
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo build
Compiling app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.20s
==========
Remote, release, stock-nightly, app-server: (fresh, incr, incr, change then incr)
Compiling futures-timer v3.0.2
Compiling app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `release` profile [optimized] target(s) in 2m 09s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo +nightly build --release
Finished `release` profile [optimized] target(s) in 0.17s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo +nightly build --release
Finished `release` profile [optimized] target(s) in 0.17s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo +nightly build --release
Compiling app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `release` profile [optimized] target(s) in 1m 22s
==========
Remote, release, toml-nightly, app-server: (fresh, incr, incr, change then incr)
Compiling lexicon_fractional_index v0.0.3
Compiling app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `release` profile [optimized] target(s) in 2m 10s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo build --release
Finished `release` profile [optimized] target(s) in 0.15s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo build --release
Finished `release` profile [optimized] target(s) in 0.14s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo build --release
Compiling app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `release` profile [optimized] target(s) in 1m 22s
==========
Remote, release, toml-nightly: (fresh, incr, incr, change then incr)
Compiling rust-macros v0.0.1 (/home/individual/venryx/app/Packages/rust-macros)
Compiling monitor-backend v0.1.0 (/home/individual/venryx/app/Packages/monitor-backend)
Compiling app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Compiling web-server v0.1.0 (/home/individual/venryx/app/Packages/web-server)
Finished `release` profile [optimized] target(s) in 2m 11s
venryx@Ubuntu-2204-jammy-amd64-base ~/app $ cargo build --release
Finished `release` profile [optimized] target(s) in 0.16s
venryx@Ubuntu-2204-jammy-amd64-base ~/app $ cargo build --release
Finished `release` profile [optimized] target(s) in 0.15s
venryx@Ubuntu-2204-jammy-amd64-base ~/app $ cargo build --release
Compiling app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `release` profile [optimized] target(s) in 1m 23s
==================================
=== Remote cargo-build, modded ===
==================================
Remote, debug, modded: (fresh, incr, incr, change then incr)
Remotely executing: cargo build
export RUSTUP_TOOLCHAIN=kapnightly-2024-02-14; RUSTFLAGS="-C linker=/usr/bin/clang -C link-arg=--ld-path=/usr/bin/mold -Zthreads=8 --cfg tokio_unstable" /home/individual/.cargo/bin/cargo build --timings --target-dir target-remote
Compiling app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
WARN rustc_expand::expand Found 1 duplicate macro invocations. We will cache the remaining 790 invocations
Timing report saved to /home/individual/venryx/app/target-remote/cargo-timings/cargo-timing-20240326T093106Z.html
Finished dev [unoptimized + debuginfo] target(s) in 7.52s
==========
Remote, release, modded: (fresh, incr, change then incr)
Compiling async-graphql-axum v7.0.2
Compiling rust-shared v0.0.1 (/home/individual/venryx/app/Packages/rust-shared)
Compiling monitor-backend v0.1.0 (/home/individual/venryx/app/Packages/monitor-backend)
Compiling app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Compiling web-server v0.1.0 (/home/individual/venryx/app/Packages/web-server)
Timing report saved to /home/individual/venryx/app/target-remote/cargo-timings/cargo-timing-20240326T093209Z.html
Finished release [optimized] target(s) in 2m 37s
stephen@Stephen-Main:/mnt/c/Root/Apps/@V/DebateMap/NonMains/ForRCargo$ /mnt/c/Root/Apps/@V/@Tools/@Rust/rcargo-cli/ForDM/rcargo build --release
>> Building package
Remotely executing: cargo build --release
export RUSTUP_TOOLCHAIN=kapnightly-2024-02-14; RUSTFLAGS="-C linker=/usr/bin/clang -C link-arg=--ld-path=/usr/bin/mold -Zthreads=8 --cfg tokio_unstable" /home/individual/.cargo/bin/cargo build --timings --target-dir target-remote --release
Timing report saved to /home/individual/venryx/app/target-remote/cargo-timings/cargo-timing-20240326T093453Z.html
Finished release [optimized] target(s) in 0.16s
[logs here for syncing one-line change to build machine]
stephen@Stephen-Main:/mnt/c/Root/Apps/@V/DebateMap/NonMains/ForRCargo$ /mnt/c/Root/Apps/@V/@Tools/@Rust/rcargo-cli/ForDM/rcargo build --release
>> Building package
Remotely executing: cargo build --release
export RUSTUP_TOOLCHAIN=kapnightly-2024-02-14; RUSTFLAGS="-C linker=/usr/bin/clang -C link-arg=--ld-path=/usr/bin/mold -Zthreads=8 --cfg tokio_unstable" /home/individual/.cargo/bin/cargo build --timings --target-dir target-remote --release
Compiling app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Timing report saved to /home/individual/venryx/app/target-remote/cargo-timings/cargo-timing-20240326T093534Z.html
Finished release [optimized] target(s) in 1m 27s
NOTE: I also tried this "Remote, release, modded" config, except with all the "wrap_slow_macros!" proc-macros in my project commented out (see branch "comment_wrap_slow_macros" in debate-map repo); got the same timings. (did this to confirm that "multi-layered" macros weren't interfering somehow with the modded rust's caching)
========================================
=== Remote cargo-check, toml-nightly ===
========================================
Remote, debug [check], toml-nightly:
Checking monitor-backend v0.1.0 (/home/individual/venryx/app/Packages/monitor-backend)
Checking app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Checking web-server v0.1.0 (/home/individual/venryx/app/Packages/web-server)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.93s
venryx@Ubuntu-2204-jammy-amd64-base ~/app $ cargo check
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s
venryx@Ubuntu-2204-jammy-amd64-base ~/app $ cargo check
Checking app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.15s
venryx@Ubuntu-2204-jammy-amd64-base ~/app $ cargo check
Checking app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.17s
==========
Remote, release [check], toml-nightly, app-server:
Compiling rust-macros v0.0.1 (/home/individual/venryx/app/Packages/rust-macros)
Checking async-graphql-axum v7.0.2
Checking rust-shared v0.0.1 (/home/individual/venryx/app/Packages/rust-shared)
Checking app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `release` profile [optimized] target(s) in 31.90s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo check --release
Checking app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `release` profile [optimized] target(s) in 12.17s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo check --release
Checking app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `release` profile [optimized] target(s) in 12.14s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo check --release
Finished `release` profile [optimized] target(s) in 0.14s
venryx@Ubuntu-2204-jammy-amd64-base ~/app/Packages/app-server $ cargo check --release
Checking app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `release` profile [optimized] target(s) in 12.11s
==========
Remote, release [check], toml-nightly:
Checking async-compression v0.4.6
Checking static-web-server v2.28.0
Checking web-server v0.1.0 (/home/individual/venryx/app/Packages/web-server)
Finished `release` profile [optimized] target(s) in 24.51s
venryx@Ubuntu-2204-jammy-amd64-base ~/app $ cargo check --release
Finished `release` profile [optimized] target(s) in 0.15s
venryx@Ubuntu-2204-jammy-amd64-base ~/app $ cargo check --release
Checking app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Finished `release` profile [optimized] target(s) in 12.14s
==================================
=== Remote cargo-check, modded ===
==================================
Remote, debug [check], modded:
stephen@Stephen-Main:/mnt/c/Root/Apps/@V/DebateMap/NonMains/ForRCargo$ /mnt/c/Root/Apps/@V/@Tools/@Rust/rcargo-cli/ForDM/rcargo check
>> Checking package
Remotely executing: cargo check
export RUSTUP_TOOLCHAIN=kapnightly-2024-02-14; RUSTFLAGS="-C linker=/usr/bin/clang -C link-arg=--ld-path=/usr/bin/mold -Zthreads=8 --cfg tokio_unstable" /home/individual/.cargo/bin/cargo check --timings --target-dir target-remote
Compiling rust-macros v0.0.1 (/home/individual/venryx/app/Packages/rust-macros)
Checking rust-shared v0.0.1 (/home/individual/venryx/app/Packages/rust-shared)
Checking app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Checking monitor-backend v0.1.0 (/home/individual/venryx/app/Packages/monitor-backend)
Checking web-server v0.1.0 (/home/individual/venryx/app/Packages/web-server)
WARN rustc_expand::expand Found 1 duplicate macro invocations. We will cache the remaining 790 invocations
Timing report saved to /home/individual/venryx/app/target-remote/cargo-timings/cargo-timing-20240326T101505Z.html
Finished dev [unoptimized + debuginfo] target(s) in 5.74s
stephen@Stephen-Main:/mnt/c/Root/Apps/@V/DebateMap/NonMains/ForRCargo$ /mnt/c/Root/Apps/@V/@Tools/@Rust/rcargo-cli/ForDM/rcargo check
>> Checking package
Remotely executing: cargo check
export RUSTUP_TOOLCHAIN=kapnightly-2024-02-14; RUSTFLAGS="-C linker=/usr/bin/clang -C link-arg=--ld-path=/usr/bin/mold -Zthreads=8 --cfg tokio_unstable" /home/individual/.cargo/bin/cargo check --timings --target-dir target-remote
WARN rustc_expand::expand Found 1 duplicate macro invocations. We will cache the remaining 790 invocations
Timing report saved to /home/individual/venryx/app/target-remote/cargo-timings/cargo-timing-20240326T101516Z.html
Finished dev [unoptimized + debuginfo] target(s) in 0.14s
[logs here for syncing one-line change to build machine]
stephen@Stephen-Main:/mnt/c/Root/Apps/@V/DebateMap/NonMains/ForRCargo$ /mnt/c/Root/Apps/@V/@Tools/@Rust/rcargo-cli/ForDM/rcargo check
>> Checking package
Remotely executing: cargo check
export RUSTUP_TOOLCHAIN=kapnightly-2024-02-14; RUSTFLAGS="-C linker=/usr/bin/clang -C link-arg=--ld-path=/usr/bin/mold -Zthreads=8 --cfg tokio_unstable" /home/individual/.cargo/bin/cargo check --timings --target-dir target-remote
Checking app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
WARN rustc_expand::expand Found 1 duplicate macro invocations. We will cache the remaining 790 invocations
Timing report saved to /home/individual/venryx/app/target-remote/cargo-timings/cargo-timing-20240326T101542Z.html
Finished dev [unoptimized + debuginfo] target(s) in 3.52s
[two more iterations with virtually identical timings]
==========
Remote, release [check], modded: (fresh, incr, change then incr)
Checking async-graphql-axum v7.0.2
Checking rust-shared v0.0.1 (/home/individual/venryx/app/Packages/rust-shared)
Checking monitor-backend v0.1.0 (/home/individual/venryx/app/Packages/monitor-backend)
Checking app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Checking web-server v0.1.0 (/home/individual/venryx/app/Packages/web-server)
Timing report saved to /home/individual/venryx/app/target-remote/cargo-timings/cargo-timing-20240326T095327Z.html
Finished release [optimized] target(s) in 20.89s
stephen@Stephen-Main:/mnt/c/Root/Apps/@V/DebateMap/NonMains/ForRCargo$ /mnt/c/Root/Apps/@V/@Tools/@Rust/rcargo-cli/ForDM/rcargo check --release
>> Checking package
Remotely executing: cargo check --release
export RUSTUP_TOOLCHAIN=kapnightly-2024-02-14; RUSTFLAGS="-C linker=/usr/bin/clang -C link-arg=--ld-path=/usr/bin/mold -Zthreads=8 --cfg tokio_unstable" /home/individual/.cargo/bin/cargo check --timings --target-dir target-remote --release
Timing report saved to /home/individual/venryx/app/target-remote/cargo-timings/cargo-timing-20240326T095424Z.html
Finished release [optimized] target(s) in 0.15s
[logs here for syncing one-line change to build machine]
stephen@Stephen-Main:/mnt/c/Root/Apps/@V/DebateMap/NonMains/ForRCargo$ /mnt/c/Root/Apps/@V/@Tools/@Rust/rcargo-cli/ForDM/rcargo check --release
>> Checking package
Remotely executing: cargo check --release
export RUSTUP_TOOLCHAIN=kapnightly-2024-02-14; RUSTFLAGS="-C linker=/usr/bin/clang -C link-arg=--ld-path=/usr/bin/mold -Zthreads=8 --cfg tokio_unstable" /home/individual/.cargo/bin/cargo check --timings --target-dir target-remote --release
Checking app-server v0.1.0 (/home/individual/venryx/app/Packages/app-server)
Timing report saved to /home/individual/venryx/app/target-remote/cargo-timings/cargo-timing-20240326T095447Z.html
Finished release [optimized] target(s) in 5.05s