[Webkit-unassigned] [Bug 36080] Performance degradations when using large javascript files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 22 13:35:25 PDT 2010


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





--- Comment #5 from David Leong <david.leong at nokia.com>  2010-03-22 13:35:25 PST ---
Created sunspider version of the test case. (logs attached as well)

In sunspider, all of the javascript code is embedded in html files. In this
case, the CachedScriptSourceProvider class is not involved but
StringSourceProvider is used. Moving the byte order mark checking to the string
source provider also improves the performance of large script files.

Here are the results:

Sunspider baseline, no webkit modifications:
Total:         2107  
3d:            171.4
Access:        64.4
Bitops:        27.2
controlflow:   3.6
crypto:        90.4
date:          451.2  
math:          70.6       
regexp:        23.2
string:        1205.0

Sunspider baseline, with webkit modifications:
Total:         2023.6
3d:            156.0
Access:        59.8
Bitops:        27
controlflow:   3.4
crypto:        86
date:          437.2
math:          70       
regexp:        21.6
string:        1162.6

Sunspider modified with large file, no webkit modifications:
Total:        2580.8  
3d:           299 
Access:       114.2 
Bitops:       50 
controlflow:  14.4 
crypto:       196.8 
date:         496.2 
math:         90       
regexp:       20.8 
string:       1299.4

Sunspider modified with large file, with webkit modifications:
Total:        2059.6 
3d:           162.6 
Access:       61.2 
Bitops:       27.6 
controlflow:  3.2 
crypto:       87.8 
date:         442.8 
math:         72.6        
regexp:       21.8 
string:       1180.0

-- 
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