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

Issue 2754683002: [tools] Manually write JSON in profile.js to avoid huge strings (Closed)

Created:
3 years, 9 months ago by Leszek Swirski
Modified:
3 years, 9 months ago
Reviewers:
Jarin
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[tools] Manually write JSON in profile.js to avoid huge strings In the tick processor, in cases where there are a lot of ticks (e.g. long running programs), JSON.stringify could throw a range exception because the created string is too large. Instead of creating the entire JSON string in memory, we now write the top-level parts of the JSON manually, writing out the ticks individually instead of all together. Review-Url: https://codereview.chromium.org/2754683002 Cr-Commit-Position: refs/heads/master@{#43973} Committed: https://chromium.googlesource.com/v8/v8/+/0956e587928c7ad8fa4049791a7015cc91bbea53

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -6 lines) Patch
M tools/profile.js View 1 chunk +16 lines, -6 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
Leszek Swirski
Hi Jaro, Small fix to profile.js to fix an issue I had with profiles of ...
3 years, 9 months ago (2017-03-15 16:22:33 UTC) #4
Jarin
On 2017/03/15 16:22:33, Leszek Swirski wrote: > Hi Jaro, > Small fix to profile.js to ...
3 years, 9 months ago (2017-03-16 05:42:32 UTC) #7
Leszek Swirski
On 2017/03/16 05:42:32, Jarin wrote: > On 2017/03/15 16:22:33, Leszek Swirski wrote: > > Hi ...
3 years, 9 months ago (2017-03-16 10:34:13 UTC) #8
Jarin
lgtm
3 years, 9 months ago (2017-03-20 20:57:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2754683002/1
3 years, 9 months ago (2017-03-21 10:31:54 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-21 10:58:32 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/0956e587928c7ad8fa4049791a7015cc91b...

Powered by Google App Engine
This is Rietveld 408576698