pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/ugrep



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Aug 22 20:35:21 UTC 2023

Modified Files:
        pkgsrc/textproc/ugrep: Makefile distinfo

Log Message:
ugrep: updated to 4.0.1

ugrep v4.0.1

this update resolves a legacy C++ compilation error with ptrdiff_t
speeds up option -l to search compressed files with -z
enables an important search optimization that was no longer enabled
publish new ugrep performance benchmarks 🚀

Ugrep 4.0 offers faster searching with improved internals:

faster async output, speeds up ugrep 3x when outputting many matching lines 🚀
removed "rest line" buffering, speeds up ugrep up to 2x, depending on the output-related options used 🚀
removed redundant "binary file" checking, speeds up ugrep 10%~20% 🚀
double size input buffer, speeds up searching 5%~20% when searching very large files (GB) with none/infrequent pattern matches 🚀
faster empty pattern matching, i.e. pattern '' matches all lines faster, as much as 10x faster 🚀
removed redundant color escape codes from the output 🖥
option -Q with an optional argument is now -Q=DELAY instead of -QDELAY, so -Q2 is -Q -2 (simple options should be composable/separable) which searches 2 directory levels deep with the query TUI 🖥
fully tested --index (still beta version) to search indexed file systems, see also WIP project ugrep-indexer 🚀
Thumbs up to all ugrep users and contributors to make this possible 👍

A comprehensive performance benchmarking comparison will be published. I hope this convinces you all how fast ugrep is compared to other grep tools. At least until/unless other grep start using 
(rip-off, ahem...) my work ❤️


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 pkgsrc/textproc/ugrep/Makefile
cvs rdiff -u -r1.55 -r1.56 pkgsrc/textproc/ugrep/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/ugrep/Makefile
diff -u pkgsrc/textproc/ugrep/Makefile:1.60 pkgsrc/textproc/ugrep/Makefile:1.61
--- pkgsrc/textproc/ugrep/Makefile:1.60 Tue Aug  8 11:59:53 2023
+++ pkgsrc/textproc/ugrep/Makefile      Tue Aug 22 20:35:21 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.60 2023/08/08 11:59:53 adam Exp $
+# $NetBSD: Makefile,v 1.61 2023/08/22 20:35:21 adam Exp $
 
-DISTNAME=      ugrep-3.12.6
+DISTNAME=      ugrep-4.0.1
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=Genivia/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/textproc/ugrep/distinfo
diff -u pkgsrc/textproc/ugrep/distinfo:1.55 pkgsrc/textproc/ugrep/distinfo:1.56
--- pkgsrc/textproc/ugrep/distinfo:1.55 Tue Aug  8 11:59:53 2023
+++ pkgsrc/textproc/ugrep/distinfo      Tue Aug 22 20:35:21 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.55 2023/08/08 11:59:53 adam Exp $
+$NetBSD: distinfo,v 1.56 2023/08/22 20:35:21 adam Exp $
 
-BLAKE2s (ugrep-3.12.6.tar.gz) = 7b1548064e3bb2c382f629e91d8c1d49e58821e6713cdb0e2d5063767d5e386f
-SHA512 (ugrep-3.12.6.tar.gz) = 88a3cc65ca9b1002e8265f576978a82175107e76815e3a3b780a09194d46215bec135a846c5cc896521e13ce28319cbdf1143fd803dfbfae7d9c7f66f3cae706
-Size (ugrep-3.12.6.tar.gz) = 4506736 bytes
+BLAKE2s (ugrep-4.0.1.tar.gz) = ab28d12beaaac1891c8485e8907bb499ab6a9e3985f719dda9763fc54c1c6a06
+SHA512 (ugrep-4.0.1.tar.gz) = f1d8b6b4118eadc893bfe9518e243e5063abe22fbaf3728541b963448074425a359ed4f92fea8d5e01c7fed6794d63d137dd746633ec6ba74386f829e8dbd634
+Size (ugrep-4.0.1.tar.gz) = 4513045 bytes



Home | Main Index | Thread Index | Old Index