Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(440)

Issue 24120006: HeapProfiler: Make strings unique in HeapProfile. (Closed)

Created:
7 years, 3 months ago by loislo
Modified:
7 years, 3 months ago
Reviewers:
alph, yurys, Yang
CC:
v8-dev, yurys, alph
Visibility:
Public.

Description

HeapProfiler: replace pointer based matching algorithm with string matching algorithm for strings_ member. pros: decreased snapshot size. cons: increased serialization time. I've tested the implementation on gmail 90mb heap. I saw no speed degradation on the serialization step. The snapshot size lost ~3% of its size. 100Mb -> 97Mb. BUG=none R=alph@chromium.org, yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=16725

Patch Set 1 #

Total comments: 1

Patch Set 2 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -8 lines) Patch
M src/heap-snapshot-generator.h View 1 2 chunks +9 lines, -7 lines 0 comments Download
M src/heap-snapshot-generator.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
loislo
7 years, 3 months ago (2013-09-16 07:56:59 UTC) #1
alph
https://codereview.chromium.org/24120006/diff/1/src/heap-snapshot-generator.h File src/heap-snapshot-generator.h (right): https://codereview.chromium.org/24120006/diff/1/src/heap-snapshot-generator.h#newcode646 src/heap-snapshot-generator.h:646: uint32_t len = strlen(s); Would be nice to have ...
7 years, 3 months ago (2013-09-16 08:23:49 UTC) #2
loislo
On 2013/09/16 08:23:49, alph wrote: > https://codereview.chromium.org/24120006/diff/1/src/heap-snapshot-generator.h > File src/heap-snapshot-generator.h (right): > > https://codereview.chromium.org/24120006/diff/1/src/heap-snapshot-generator.h#newcode646 > ...
7 years, 3 months ago (2013-09-16 08:55:51 UTC) #3
alph
lgtm
7 years, 3 months ago (2013-09-16 08:59:05 UTC) #4
loislo
7 years, 3 months ago (2013-09-16 09:08:46 UTC) #5
Yang
On 2013/09/16 09:08:46, loislo wrote: lgtm
7 years, 3 months ago (2013-09-16 09:15:06 UTC) #6
loislo
7 years, 3 months ago (2013-09-16 09:16:12 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 manually as r16725 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698