Changeset 2181 for lang/javascript/junk

Show
Ignore:
Timestamp:
11/30/07 18:11:18 (14 months ago)
Author:
gyuque
Message:

fixed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/junk/safari-memory-test/bugzilla-file-draft.txt

    r2180 r2181  
    33When a javascript program has a huge array, JavascriptCore allocates a large amount of memory blocks while script is running. This problem occurs even though the script doesn't touch the array. 
    44 
    5 Here's a test. 
    6 http://svn.coderepos.org/share/lang/javascript/junk/safari-memory-test/test.html 
    7 http://svn.coderepos.org/share/lang/javascript/junk/safari-memory-test/test2.html 
     5test cases: 
     6 http://svn.coderepos.org/share/lang/javascript/junk/safari-memory-test/test.html 
     7 http://svn.coderepos.org/share/lang/javascript/junk/safari-memory-test/test2.html 
    88 
    99In test2.html, the content of the array is commented out and this problem won't occur. 
     
    1919(browser)        (at start) -> (at end) 
    2020 
    21 IE7               33252KB   -> 33240KB 
    22 Firefox 2.0.0.9   27156KB   -> 27800KB 
    23 Opera 9.24        27214KB   -> 27204KB 
    24 Safari(wk r28220) 51452KB   -> 70800KB (+19MB!) 
     21IE7               33252KB   -> 33240KB (   -12KB ) 
     22Firefox 2.0.0.9   27156KB   -> 27800KB (  +644KB ) 
     23Opera 9.24        27214KB   -> 27204KB (   -10KB ) 
     24Safari(wk r28220) 51452KB   -> 70800KB (+19348KB!) 
    2525--------------------------------------- 
    2626test2.html