Optimizing builds #3
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Depends on
#19 Switch from `clap` to `arg`
minecrust/hopper
Reference: minecrust/hopper#3
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work that can be done to:
hopper
hopper
Dependency management
Disable unnecessary features in bigger crates.
(
tokio
is a big one)indicatif
andconsole
importregex
, which is slow... maybe use a lighter-weight terminal colors crates, and write our own progress bar? we'd need to make our own for the creeper face progress bar anywaysReplace larger, slower-compiling crates with more minimalistic ones.
Ideas:
tokio
withsmol
(probably doesn't reduce compile times, but might reduce binary size?)reqwest
withattohttpc
orureq
More resources
compile benches as of current
main
time cargo build
:ls -l target/release/hopper
:output of
cargo bloat --time
:rewriteto main