项目作者: drichardson

项目描述 :
Compare various find in files tools: grep, rg, findstr, sift
高级语言: PowerShell
项目地址: git://github.com/drichardson/CodeSearchShootout.git
创建时间: 2020-04-10T20:41:46Z
项目社区:https://github.com/drichardson/CodeSearchShootout

开源协议:The Unlicense

下载


Code Search Tool Shootout

Compare various grep-like tools for performance recursivley scanning directories of source code.

Literal (Fixed String) Results

  1. .\tests\literal.ps1
  2. Command Seconds Grep Ratio Found
  3. ------- ------- ---------- -----
  4. sift 0.6709539 0.117226149286559 5815
  5. rg 0.7726723 0.134997946042774 5840
  6. findstr 4.019066 0.702193743725961 5811
  7. grep 5.7235856 1 5815
  8. ag 10.8135604 1.88929827484366 5841