RESOLVED FIXED Bug 45990
Use AtomicString insted of String in XMLDocumentParser
https://bugs.webkit.org/show_bug.cgi?id=45990
Summary Use AtomicString insted of String in XMLDocumentParser
Patrick R. Gansterer
Reported 2010-09-17 13:29:54 PDT
Creating AtomicString instead of String as early as possible should decrease the parsing time.
Attachments
Patch (5.40 KB, patch)
2010-09-17 13:45 PDT, Patrick R. Gansterer
abarth: review-
Patch (5.41 KB, patch)
2010-09-18 01:16 PDT, Patrick R. Gansterer
no flags
Patrick R. Gansterer
Comment 1 2010-09-17 13:45:44 PDT
Created attachment 67945 [details] Patch > + // FIXME: Use AtomicString::fromUTF8. > + return AtomicString(toString(string)); Maybe we can commit now and change this when bug 45594 is finished?
WebKit Review Bot
Comment 2 2010-09-17 16:23:48 PDT
WebKit Review Bot
Comment 3 2010-09-17 16:36:08 PDT
Adam Barth
Comment 4 2010-09-17 16:43:03 PDT
Comment on attachment 67945 [details] Patch Does not compile.
Patrick R. Gansterer
Comment 5 2010-09-18 01:16:26 PDT
Created attachment 68001 [details] Patch Should build now.
WebKit Commit Bot
Comment 6 2010-09-18 18:45:04 PDT
Comment on attachment 68001 [details] Patch Rejecting patch 68001 from commit-queue. Failed to run "['WebKitTools/Scripts/run-webkit-tests', '--no-launch-safari', '--exit-after-n-failures=1', '--wait-for-httpd', '--quiet']" exit_code: 1 Last 500 characters of output: outTests Testing 21315 test cases. websocket/tests/frame-length-skip.html -> timed out Sampling process 10878 for 10 seconds with 10 milliseconds of run time between samples Sampling completed, processing symbols... Sample analysis of process 10878 written to file /Users/eseidel/Library/Logs/DumpRenderTree/HangReport.txt Exiting early after 1 failures. 21281 tests run. 586.09s total testing time 21280 test cases (99%) succeeded 1 test case (<1%) timed out 33 test cases (<1%) had stderr output Full output: http://queues.webkit.org/results/4086008
Adam Barth
Comment 7 2010-09-18 20:02:07 PDT
Comment on attachment 68001 [details] Patch Clearing flags on attachment: 68001 Committed r67807: <http://trac.webkit.org/changeset/67807>
Adam Barth
Comment 8 2010-09-18 20:02:12 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.