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

Issue 3006253002: Avoid String.fromCharCode in building TraceStreams (Closed)

Created:
3 years, 3 months ago by chiniforooshan
Modified:
3 years, 3 months ago
Reviewers:
benjhayden
CC:
catapult-reviews_chromium.org, ehmaldonado_chromium, tracing-review_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Avoid String.fromCharCode in building TraceStreams As discovered in catapult:#2051, String.fromCharCode uses too much memory and it is better to use TextDecoder if possible. BUG=chromium:731047 Review-Url: https://chromiumcodereview.appspot.com/3006253002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/cd2d1cccba7627d91a0c10ec6dec37ee6d5896d4

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M tracing/tracing/base/in_memory_trace_stream.html View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (13 generated)
chiniforooshan
PTAL
3 years, 3 months ago (2017-09-08 16:03:08 UTC) #2
chiniforooshan
CCing ehmaldonado@ since this may affect stream processing performance, too (catapult:#3654).
3 years, 3 months ago (2017-09-08 16:07:33 UTC) #3
benjhayden
lgtm
3 years, 3 months ago (2017-09-08 17:25:26 UTC) #13
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/3006253002/1
3 years, 3 months ago (2017-09-08 17:41:22 UTC) #15
commit-bot: I haz the power
3 years, 3 months ago (2017-09-08 17:42:48 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698