[Webkit-unassigned] [Bug 20054] New: Showing large plain-text files is extremely slow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 16 07:45:13 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=20054

           Summary: Showing large plain-text files is extremely slow
           Product: WebKit
           Version: 526+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ben at meyerhome.net


What steps will reproduce the problem?
1. dd if=/dev/urandom of=/tmp/test.txt bs=1024 count=256
2. go to uri file:///tmp/test.txt

What is the expected output? What do you see instead?
Mozilla shows this file in about 1 second.

QtWebKit from Qt 4.4

Please provide any additional information below.
Showing this file takes about 60 seconds on my machine.

I tracked down the issue to the fact that in bidi.cpp we are calling
nextBreakablePosition over and over which constructs a QTextBoundryFinder


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list