Super fast replacements and additions to scoop commands written in Rust
scoop bucket add extras
scoop install sfsu
You may set up the hooks to use the scoop commands normally
Add the following to your Powershell profile
Invoke-Expression (&sfsu hook)
You can also optionally disable certain hooks via the --disable <COMMAND>
flag
Invoke-Expression (&sfsu hook --disable list)
Benchmarks 1
On average, sfsu search
is ~500 times faster than regular scoop search
and ~6.5 times faster than scoop-search.
That takes you from about 25 seconds on scoop search
down to 50 milliseconds
with sfsu search
sfsu list
is ~30 times faster than scoop list
Done on a AMD Ryzen 7 2700X @ 4.3GHz with 16GB of RAM and 17 scoop buckets listed below
Searching 2
$ hyperfine --warmup 3 'sfsu search google' 'scoop-search google' 'scoop search google'
Benchmark 1: sfsu search google
Time (mean ± σ): 55.3 ms ± 5.3 ms [User: 3.6 ms, System: 3.9 ms]
Range (min … max): 47.8 ms … 73.0 ms 26 runs
Benchmark 2: scoop-search google
Time (mean ± σ): 342.1 ms ± 24.6 ms [User: 15.6 ms, System: 130.0 ms]
Range (min … max): 316.8 ms … 384.0 ms 10 runs
Benchmark 3: scoop search google
Time (mean ± σ): 25.794 s ± 2.048 s [User: 5.261 s, System: 10.469 s]
Range (min … max): 24.352 s … 31.234 s 10 runs
Summary
'sfsu search google' ran
6.19 ± 0.74 times faster than 'scoop-search google'
466.67 ± 57.90 times faster than 'scoop search google'
Listing 3
$ hyperfine --warmup 3 'sfsu list' 'scoop list'
Benchmark 1: sfsu list
Time (mean ± σ): 72.3 ms ± 8.5 ms [User: 0.0 ms, System: 13.1 ms]
Range (min … max): 64.3 ms … 110.3 ms 27 runs
Benchmark 2: scoop list
Time (mean ± σ): 2.128 s ± 0.030 s [User: 0.634 s, System: 0.301 s]
Range (min … max): 2.090 s … 2.182 s 10 runs
Summary
'sfsu list' ran
29.43 ± 3.50 times faster than 'scoop list'
dorado https://github.com/chawyehsu/dorado
emulators https://github.com/borger/scoop-emulators.git
extras https://github.com/ScoopInstaller/Extras
games https://github.com/Calinou/scoop-games
java https://github.com/ScoopInstaller/Java
lemon https://github.com/hoilc/scoop-lemon
main https://github.com/ScoopInstaller/Main
nerd-fonts https://github.com/matthewjberger/scoop-nerd-fonts
nirsoft https://github.com/kodybrown/scoop-nirsoft
nonportable https://github.com/ScoopInstaller/Nonportable
personal https://github.com/jewlexx/personal-scoop.git
php https://github.com/ScoopInstaller/PHP
python https://github.com/TheRandomLabs/Scoop-Python.git
random https://github.com/TheRandomLabs/Scoop-Bucket.git
scoopet https://github.com/ivaquero/scoopet
spotify https://github.com/TheRandomLabs/Scoop-Spotify.git
sysinternals https://github.com/niheaven/scoop-sysinternals.git
versions https://github.com/ScoopInstaller/Versions
wsl https://github.com/KNOXDEV/wsl
The build instructions can be found in the wiki
Currently I am considering creating an entire Scoop alternative that has 100% interoperability with existing Scoop buckets, but way way way faster than Scoop.
In the meantime I will continue working on this independently of Scoop as "seperate" tools that work without an entire package manager.
Made with 💗 by Juliette Cordor