Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 2021 13:37:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254763] grep very slow with 13.0-RC4
Message-ID:  <bug-254763-227-1KDTh0NPf5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254763-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254763-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254763

--- Comment #5 from parv <parv.0zero9+freebsd@gmail.com> ---
(In reply to parv from comment #4)

I should have also mentioned that above egrep were tested with 2 pairs of
locale configuration (time result is same enough) ...

  # root user.
  LANG=3DC.UTF-8

  # Not root user.
  LANG=3Den_US.UTF-8
  LC_COLLATE=3DC
  LC_CTYPE=3Den_US.UTF-8
  LC_MESSAGES=3Den_US.UTF-8
  LC_MONETARY=3Den_US.UTF-8


User CPU time of "egrep -i" improves with C locale ("env LANG=3DC LC_ALL=3D=
C egrep
-i ...") ...

  38.24 real  36.44 user  0.61 sys  # Just after loading RAM as mentioned in
#4.
  44.32 real  38.10 user  0.59 sys  # Successive runs ...
  39.88 real  39.00 user  0.59 sys  # ... after few minutes.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254763-227-1KDTh0NPf5>