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

Issue 2975033002: [tracing] Optimize TracedValue::AppendAsTraceFormat(). (Closed)

Created:
3 years, 5 months ago by DmitrySkiba
Modified:
3 years, 5 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, danakj+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[tracing] Optimize TracedValue::AppendAsTraceFormat(). This CL optimizes TracedValue::AppendAsTraceFormat() by removing intermediate base::Value conversion. HeapProfilerPerfTest.AppendStackFramesAsTraceFormat shows ~1.9x improvement on macOS (1730ms -> 920ms). TBR=jbauman@chromium.org BUG=739378, 664350 Review-Url: https://codereview.chromium.org/2975033002 Cr-Commit-Position: refs/heads/master@{#487019} Committed: https://chromium.googlesource.com/chromium/src/+/131e21f45f5d7b04874b636c1ffa642c13944f1e

Patch Set 1 #

Patch Set 2 : Add include #

Patch Set 3 : Remove include #

Total comments: 4

Patch Set 4 : Fix FilterOperationsTest #

Patch Set 5 : Rebase #

Patch Set 6 : Fix GraphicsMemoryDumpProviderTest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -32 lines) Patch
M base/trace_event/trace_event_argument.cc View 1 2 3 chunks +99 lines, -8 lines 0 comments Download
M base/trace_event/trace_event_argument_unittest.cc View 4 chunks +14 lines, -14 lines 0 comments Download
M cc/base/filter_operations_unittest.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M components/tracing/common/graphics_memory_dump_provider_android_unittest.cc View 1 2 3 4 5 2 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 30 (22 generated)
DmitrySkiba
3 years, 5 months ago (2017-07-12 02:54:53 UTC) #3
Primiano Tucci (use gerrit)
Cool. LGTM if the tests are passing. Also I'd consider taking another look at using ...
3 years, 5 months ago (2017-07-12 15:26:24 UTC) #7
DmitrySkiba
danakj@ PTAL to cc/base/filter_operations_unittest.cc - AppendAsTraceFormat() now appends elements in different order, so I had ...
3 years, 5 months ago (2017-07-12 23:48:04 UTC) #11
danakj
On Wed, Jul 12, 2017 at 7:48 PM, <dskiba@chromium.org> wrote: > danakj@ PTAL to cc/base/filter_operations_unittest.cc ...
3 years, 5 months ago (2017-07-13 15:03:15 UTC) #16
DmitrySkiba
jbauman@, ericrk@: please rubber-stamp changes in corresponding unittests - AppendAsTraceFormat() now appends elements in different ...
3 years, 5 months ago (2017-07-14 17:59:27 UTC) #22
ericrk
lgtm
3 years, 5 months ago (2017-07-14 20:01:52 UTC) #23
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/2975033002/100001
3 years, 5 months ago (2017-07-16 18:28:18 UTC) #27
commit-bot: I haz the power
3 years, 5 months ago (2017-07-16 19:41:59 UTC) #30
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/131e21f45f5d7b04874b636c1ffa...

Powered by Google App Engine
This is Rietveld 408576698