WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
42002
Avoid extra memcpy of character tokens
https://bugs.webkit.org/show_bug.cgi?id=42002
Summary
Avoid extra memcpy of character tokens
Adam Barth
Reported
2010-07-09 16:30:22 PDT
Avoid extra memcpy of character tokens
Attachments
Patch
(22.63 KB, patch)
2010-07-09 16:37 PDT
,
Adam Barth
no flags
Details
Formatted Diff
Diff
Patch
(19.46 KB, patch)
2010-07-14 16:38 PDT
,
Adam Barth
no flags
Details
Formatted Diff
Diff
Patch
(4.36 KB, patch)
2010-07-14 17:51 PDT
,
Adam Barth
eric
: review+
eric
: commit-queue+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Adam Barth
Comment 1
2010-07-09 16:37:26 PDT
Created
attachment 61112
[details]
Patch
Eric Seidel (no email)
Comment 2
2010-07-09 18:13:42 PDT
Comment on
attachment 61112
[details]
Patch Would be nice to see perf numbers. Would like to see this change split into two. One which is just refactoring. One which actually changes the memory management. :(
Adam Barth
Comment 3
2010-07-14 16:38:53 PDT
Created
attachment 61582
[details]
Patch
Eric Seidel (no email)
Comment 4
2010-07-14 16:41:45 PDT
Comment on
attachment 61582
[details]
Patch I like no functional change patches. :)
Adam Barth
Comment 5
2010-07-14 16:44:15 PDT
Committed
r63372
: <
http://trac.webkit.org/changeset/63372
>
Eric Seidel (no email)
Comment 6
2010-07-14 16:45:34 PDT
With the old patch applied: Running 20 times Ignoring warm-up run (3283) 2896 2900 2897 2917 2909 2911 2945 2940 2920 2912 2913 2916 2965 2935 2924 2950 2959 3007 3017 3005 avg 2936.9 stdev 36.088640872163644 That's (maybe) 1% faster than the old parser: avg 2970.4 stdev 15.954309762568855 Running 20 times Ignoring warm-up run (3351) 2933 2949 2960 2974 2990 2984 2995 2991 2979 3008 2987 2989 2997 2998 3003 3005 2991 3016 3016 3020
Eric Seidel (no email)
Comment 7
2010-07-14 16:46:26 PDT
***
Bug 42302
has been marked as a duplicate of this bug. ***
Adam Barth
Comment 8
2010-07-14 17:51:03 PDT
Created
attachment 61590
[details]
Patch
Adam Barth
Comment 9
2010-07-14 18:14:06 PDT
Committed
r63387
: <
http://trac.webkit.org/changeset/63387
>
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