You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context, I tried experimenting with patching and sscache:
rust-cache + cargo-near-build v0.4.3 without patching cold – total duration 24mins, test duration 912s warm – total duration 17mins, test duration 919s
Conclustion, while compilation time went down, test duration remains the same
sscache + cargo-near-build v0.4.3 without patching cold – total duration 16mins, test duration 725s
warm – N/A
sscache + cargo-near-build v0.4.3 with patching cold/warm (? I'm not sure, it says that cache was extracted, but all packages were recompiled) – total duration 10mins, test duration 478s
frolvanya
changed the title
Increased build time
Increased build time using cargo-near-build after #289
Jan 31, 2025
frolvanya
changed the title
Increased build time using cargo-near-build after #289
Increased build time using cargo-near-build after #289 PR
Jan 31, 2025
@frolvanya nope, not likely #289 introduced any additional time. It just unsets an env variable for a subprocess, the change should be on the scale of microseconds max.
I wouldn't rely on measuring time with gh actions executors performance. It differs from time to time even for identical code. It's like measuring length with rubber tape.
A set of a few runs on some local env without the unknowns of sscache would be more informative, at least with regard to measuring a difference of some patch introduced.
The annoying time addition is of wasm-opt-rs compiling.
I'll close this issue for now. Please reopen if you have an idea of what can be done to remedy this.
Is it possible that this #289 PR increased building time? It runs slower on cargo-near-build v0.4.3 than on v0.4.3 + patching to the #292 PR
I have two workflow runs. The faster one was executed with
https://github.com/Near-One/omni-bridge/actions/runs/13063259194/job/36450815503
https://github.com/Near-One/omni-bridge/actions/runs/13063409784/job/36451266656
The text was updated successfully, but these errors were encountered: