Bug 4416 - speed up JavaScript with some improvements to the garbage collector
Summary: speed up JavaScript with some improvements to the garbage collector
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Enhancement
Assignee: Darin Adler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-13 22:41 PDT by Darin Adler
Modified: 2005-08-14 09:15 PDT (History)
0 users

See Also:


Attachments
patch to improve inner loops in the garbage collector; use global variables less (11.41 KB, patch)
2005-08-13 22:42 PDT, Darin Adler
mjs: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2005-08-13 22:41:29 PDT
I did some analysis of JavaScript iBench performance, and found some speedups. This one is an 
improvement of the garbage collector code.
Comment 1 Darin Adler 2005-08-13 22:42:40 PDT
Created attachment 3364 [details]
patch to improve inner loops in the garbage collector; use global variables less
Comment 2 Darin Adler 2005-08-13 22:44:40 PDT
I'm seeing at least a 2% improvement with this change.
Comment 3 Darin Adler 2005-08-14 01:54:57 PDT
Comment on attachment 3364 [details]
patch to improve inner loops in the garbage collector; use global variables less

In my own copy of the patch, I changed MAX back to max.