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

Issue 2557463003: [Tracing] Remove AppendLongInteger in TracedValue. (Closed)

Created:
4 years ago by lpy
Modified:
4 years ago
Reviewers:
alph, fmeawad, Camillo Bruni
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Tracing] Remove AppendLongInteger in TracedValue. JavaScript cannot represent integer larger than 2^53 - 1 from JSON, thus this patch removes AppendLongInteger and convert long integer to string using std::to_string. TBR=cbruni@chromium.org Committed: https://crrev.com/900d1982cd11bb45ef06d9bbf376ca16bc495f08 Cr-Commit-Position: refs/heads/master@{#41533}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address alph's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -9 lines) Patch
M src/counters.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/tracing/traced-value.h View 1 chunk +0 lines, -1 line 0 comments Download
M src/tracing/traced-value.cc View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
lpy
ptal
4 years ago (2016-12-06 00:39:00 UTC) #4
fmeawad
lgtm
4 years ago (2016-12-06 00:50:04 UTC) #5
alph
https://codereview.chromium.org/2557463003/diff/1/src/counters.cc File src/counters.cc (right): https://codereview.chromium.org/2557463003/diff/1/src/counters.cc#newcode284 src/counters.cc:284: value->AppendString(std::to_string(time_.InMicroseconds())); I think it's better to use double for ...
4 years ago (2016-12-06 00:54:42 UTC) #6
lpy
Thanks, ptal. https://codereview.chromium.org/2557463003/diff/1/src/counters.cc File src/counters.cc (right): https://codereview.chromium.org/2557463003/diff/1/src/counters.cc#newcode284 src/counters.cc:284: value->AppendString(std::to_string(time_.InMicroseconds())); On 2016/12/06 00:54:42, alph wrote: > ...
4 years ago (2016-12-06 01:45:49 UTC) #10
alph
lgtm
4 years ago (2016-12-06 02:07:10 UTC) #12
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/2557463003/20001
4 years ago (2016-12-06 18:10:20 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-06 18:12:20 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-06 18:12:40 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/900d1982cd11bb45ef06d9bbf376ca16bc495f08
Cr-Commit-Position: refs/heads/master@{#41533}

Powered by Google App Engine
This is Rietveld 408576698