Help us shape the future of Go! Take the 2026 Go Developer Survey

scoop-search

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2020 License: MIT Imports: 10 Imported by: 0

README

Fast scoop search drop-in replacement 🚀

Installation

With Go:

go get github.com/shilangyu/scoop-search

Or grab an executable from the release page and add it to your PATH.

Hook

Instead of using scoop-search.exe <term> you can setup a hook that will run scoop-search.exe whenever you use native scoop search

Add this to your Powershell profile (usually located at $PROFILE)

Invoke-Expression (&scoop-search --hook)

Features

Behaves just like scoop search and returns identical output. If any differences are found please open an issue.

Non-goal: any additional features unavailable in scoop search

Benchmarks

Done with hyperfine. scoop-search is on average 26 times faster.

❯ hyperfine --warmup 1 'scoop-search google' 'scoop search google'
Benchmark #1: scoop-search google
  Time (mean ± σ):     146.1 ms ±   3.1 ms    [User: 2.5 ms, System: 3.6 ms]
  Range (min … max):   143.5 ms … 155.1 ms    18 runs

Benchmark #2: scoop search google
  Time (mean ± σ):      4.028 s ±  0.222 s    [User: 1.5 ms, System: 10.4 ms]
  Range (min … max):    3.866 s …  4.564 s    10 runs

Summary
  'scoop-search google' ran
   27.57 ± 1.63 times faster than 'scoop search google'

ran on AMD Ryzen 5 3600 @ 3.6GHz

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL