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

scoop-search

command module
v0.3.1 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 almost 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 30 times faster.

❯ hyperfine --warmup 1 'scoop-search google' 'scoop search google'
Benchmark #1: scoop-search google
  Time (mean ± σ):     124.9 ms ±   2.2 ms    [User: 2.6 ms, System: 2.8 ms]
  Range (min … max):   122.8 ms … 131.4 ms    23 runs

Benchmark #2: scoop search google
  Time (mean ± σ):      3.862 s ±  0.006 s    [User: 7.4 ms, System: 5.2 ms]
  Range (min … max):    3.852 s …  3.873 s    10 runs

Summary
  'scoop-search google' ran
   30.93 ± 0.55 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