Changeset 2181 for lang/javascript/junk
- Timestamp:
- 11/30/07 18:11:18 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/junk/safari-memory-test/bugzilla-file-draft.txt
r2180 r2181 3 3 When 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. 4 4 5 Here's a test. 6 http://svn.coderepos.org/share/lang/javascript/junk/safari-memory-test/test.html7 http://svn.coderepos.org/share/lang/javascript/junk/safari-memory-test/test2.html5 test 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 8 8 9 9 In test2.html, the content of the array is commented out and this problem won't occur. … … 19 19 (browser) (at start) -> (at end) 20 20 21 IE7 33252KB -> 33240KB 22 Firefox 2.0.0.9 27156KB -> 27800KB 23 Opera 9.24 27214KB -> 27204KB 24 Safari(wk r28220) 51452KB -> 70800KB (+19 MB!)21 IE7 33252KB -> 33240KB ( -12KB ) 22 Firefox 2.0.0.9 27156KB -> 27800KB ( +644KB ) 23 Opera 9.24 27214KB -> 27204KB ( -10KB ) 24 Safari(wk r28220) 51452KB -> 70800KB (+19348KB!) 25 25 --------------------------------------- 26 26 test2.html
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)