WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
8285
Implement "TreeCode" based javascript interpreter
https://bugs.webkit.org/show_bug.cgi?id=8285
Summary
Implement "TreeCode" based javascript interpreter
Eric Seidel (no email)
Reported
2006-04-09 22:46:17 PDT
ggaren and I got a little carried away last weekend and well... implemented treecode. <
rdar://problem/4409156
>
Attachments
First stab a treecode based JavaScript interpreter
(259.66 KB, patch)
2006-04-09 22:50 PDT
,
Eric Seidel (no email)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2006-04-09 22:50:14 PDT
Created
attachment 7610
[details]
First stab a treecode based JavaScript interpreter First of all, this patch passes *ALL* javascript test cases, but it should not be considered a finished product. We've come a long way, but we have a little ways left to go. Currently the TreeCode interpreter is a little slower than TOT, however there is a lot of fat left to trim. This patch is here to facilitate discussion, as I'm sure at least Maciej and Darin will have a number of thoughts on the issue.
Eric Seidel (no email)
Comment 2
2006-04-10 00:11:48 PDT
FYI: on my MacBookPro the current numbers show nearly a 50% performance regression. Again, there is a lot of fat left to trim. % compare-timing-files -c 5 old.times latest-treecode.times ===== old.times ===== average of fastest 5 runs: 726.8 range of fastest 5 runs: 0.69% (5) ===== latest-treecode.times ===== average of fastest 5 runs: 1052.2 range of fastest 5 runs: 0.38% (4) performance LOSS of 44.77% (325.4 / 726.8)
Geoffrey Garen
Comment 3
2006-04-10 07:13:56 PDT
In some unit tests, the current numbers are only a 2% regression. It's likely that the js-ibench numbers reflect the fact that we haven't integrated function calls yet, so a function call starts up a nested version of the interpreter loop.
Darin Adler
Comment 4
2006-04-13 01:01:24 PDT
Comment on
attachment 7610
[details]
First stab a treecode based JavaScript interpreter This is going well, on a branch. But this patch is obsolete and we won't be reviewing it.
Cameron Zwarich (cpst)
Comment 5
2008-06-08 20:45:41 PDT
We did this with SquirrelFish.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug