[Webkit-unassigned] [Bug 37643] new-run-webkit-tests has much higher startup latency than run-webkit-tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 19 02:02:40 PDT 2010


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





--- Comment #4 from Eric Seidel <eric at webkit.org>  2010-04-19 02:02:39 PST ---
We're spending a lot of time reading image hashes up front.

TestInfo.__init__ does:
            self.image_hash = open(expected_hash_file, "r").read()

(which probably leaks a file handle).

run-webkit-tests reads image hashes when it gets to them.  We could to (and
probably should).  There shouldn't be a thread-safety issue because only one
thread is ever processing any given test.

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



More information about the webkit-unassigned mailing list