Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.

Bug 179160

Summary: Poor performance of reverse searches
Product: [Fedora] Fedora Reporter: p thompson <pt>
Component: lessAssignee: Jindrich Novy <jnovy>
Status: CLOSED NOTABUG QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-06 03:53:17 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description p thompson 2006-01-27 15:54:40 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

Description of problem:
Less performs very poorly in reverse searches.
For instance more -n /var/log/messages.0127 
(-rw-r--r--  1 root root 585213852 Jan 27 10:05 /var/log/messages.0127)
(file not being written to)
G to get to bottom of file
?reverse search
real    3m30.014s
user    0m11.049s
sys     0m2.176s
to find the text

Same file, (G to get to bottom, 1G to get to top) and /search
real    0m38.368s
user    0m30.514s
sys     0m2.452s

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.see above

Additional info:

More seems to have trouble on open files on FC4 as well.  Not sure if its related. On this busy syslog server more can take a very long time to open /var/log/messages and perform slowly on operations on it.
Comment 1 Jindrich Novy 2006-01-28 02:19:16 EST
Note that the latest version is less-394-1.fc4. Could you try this again with
the latest less?
Comment 2 p thompson 2006-02-04 17:11:40 EST
This works substantially better with less-394-1.fc4
Sorry, I was having some trouble getting yum updates for a while.
Comment 3 Jindrich Novy 2006-02-06 03:53:17 EST
Ok, closeing NOTABUG then. Thanks anyway.