WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 194469
[WTF] Use BufferInternal StringImpl if substring StringImpl takes more memory
https://bugs.webkit.org/show_bug.cgi?id=194469
Summary
[WTF] Use BufferInternal StringImpl if substring StringImpl takes more memory
Yusuke Suzuki
Reported
2019-02-08 22:12:38 PST
[WTF] Use BufferInternal StringImpl if substring StringImpl takes more memory
Attachments
Patch
(4.70 KB, patch)
2019-02-08 22:16 PST
,
Yusuke Suzuki
ggaren
: review+
ews-watchlist
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews106 for mac-highsierra-wk2
(2.57 MB, application/zip)
2019-02-08 23:42 PST
,
EWS Watchlist
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2019-02-08 22:16:14 PST
Created
attachment 361596
[details]
Patch
Geoffrey Garen
Comment 2
2019-02-08 22:19:44 PST
Comment on
attachment 361596
[details]
Patch r=me
Yusuke Suzuki
Comment 3
2019-02-08 23:26:09 PST
It shows ~1% improvement in RAMification on my MBP. (6 runs, 35159804.0 v.s. 34825966.166666664).
EWS Watchlist
Comment 4
2019-02-08 23:42:44 PST
Comment on
attachment 361596
[details]
Patch
Attachment 361596
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
https://webkit-queues.webkit.org/results/11088571
New failing tests: imported/w3c/web-platform-tests/mediacapture-record/MediaRecorder-constructor.html
EWS Watchlist
Comment 5
2019-02-08 23:42:46 PST
Created
attachment 361601
[details]
Archive of layout-test-results from ews106 for mac-highsierra-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-highsierra-wk2 Platform: Mac OS X 10.13.6
Yusuke Suzuki
Comment 6
2019-02-08 23:51:50 PST
(In reply to Build Bot from
comment #5
)
> Created
attachment 361601
[details]
> Archive of layout-test-results from ews106 for mac-highsierra-wk2 > > The attached test failures were seen while running run-webkit-tests on the > mac-wk2-ews. > Bot: ews106 Port: mac-highsierra-wk2 Platform: Mac OS X 10.13.6
It crashes with the softlinking initialization. I think it is unlikely that this patch is related to softlinking.
Yusuke Suzuki
Comment 7
2019-02-08 23:58:06 PST
Committed
r241237
: <
https://trac.webkit.org/changeset/241237
>
Radar WebKit Bug Importer
Comment 8
2019-02-08 23:59:29 PST
<
rdar://problem/47939638
>
WebKit Commit Bot
Comment 9
2019-02-09 09:49:59 PST
Re-opened since this is blocked by
bug 194474
Yusuke Suzuki
Comment 10
2019-02-09 09:53:38 PST
(In reply to WebKit Commit Bot from
comment #9
)
> Re-opened since this is blocked by
bug 194474
It shows great improvement in some tests, but it also shows significant memory increase in some tests (like, WSL, date-format-xparb etc.). Overall, RAMification gets 1% win, but increasing significant memory footprint in some tests is not good. If we can get the benefit without increasing memory usage in these tests, it is very nice. I rollout this patch now, and I'm now investigating...
Yusuke Suzuki
Comment 11
2019-02-09 10:37:46 PST
(In reply to Yusuke Suzuki from
comment #3
)
> It shows ~1% improvement in RAMification on my MBP. > (6 runs, 35159804.0 v.s. 34825966.166666664).
Not correct. I accidentally compared to n-hours older version, and during this, we have a patch with significant change. And it seems that this patch is not directly related to this significant memory bloat. Investigating.
Yusuke Suzuki
Comment 12
2019-02-09 11:39:50 PST
After the measurement, it is found that this patch is unrelated to the recent regression in date-format-xparb and WSL. rolling in again.
Yusuke Suzuki
Comment 13
2019-02-09 11:44:11 PST
Committed
r241242
: <
https://trac.webkit.org/changeset/241242
>
Geoffrey Garen
Comment 14
2019-02-09 12:45:38 PST
(In reply to Yusuke Suzuki from
comment #12
)
> After the measurement, it is found that this patch is unrelated to the > recent regression in date-format-xparb and WSL. rolling in again.
Do we have a bug report tracking that (unrelated) regression?
Yusuke Suzuki
Comment 15
2019-02-09 14:47:07 PST
(In reply to Geoffrey Garen from
comment #14
)
> (In reply to Yusuke Suzuki from
comment #12
) > > After the measurement, it is found that this patch is unrelated to the > > recent regression in date-format-xparb and WSL. rolling in again. > > Do we have a bug report tracking that (unrelated) regression?
No, we don't have that yet. It is good idea! I'll open the bug for that :D
Yusuke Suzuki
Comment 16
2019-02-09 14:52:18 PST
(In reply to Yusuke Suzuki from
comment #15
)
> (In reply to Geoffrey Garen from
comment #14
) > > (In reply to Yusuke Suzuki from
comment #12
) > > > After the measurement, it is found that this patch is unrelated to the > > > recent regression in date-format-xparb and WSL. rolling in again. > > > > Do we have a bug report tracking that (unrelated) regression? > > No, we don't have that yet. It is good idea! I'll open the bug for that :D
Opened.
https://bugs.webkit.org/show_bug.cgi?id=194476
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