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

Issue 958893002: Inspector: Store array of small numbers in 16 bit instead of 64 bit. (Closed)

Created:
5 years, 10 months ago by Daniel Bratell
Modified:
5 years, 9 months ago
Reviewers:
yurys
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Inspector: Store array of small numbers in 16 bit instead of 64 bit. Save 1.5 KB by storing small numbers in 16 bit instead of 64 bit. Minor change but should be smaller and faster. +3: blink::InspectorBackendDispatcher::commandName(blink::InspectorBackendDispatcher::MethodNames) type=t, (was 21 bytes, now 24 bytes) -1518: blink::InspectorBackendDispatcher::commandNamesIndex type=r, (was 2024 bytes, now 506 bytes) R=yurys@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191000

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M Source/core/inspector/CodeGeneratorInspector.py View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/inspector/CodeGeneratorInspectorStrings.py View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Daniel Bratell
Just a minor thing I noticed while taking a look at chromium footprint. Not something ...
5 years, 10 months ago (2015-02-26 16:16:37 UTC) #2
yurys
lgtm, though the memory savings look negligible to me. I wonder how you spot this ...
5 years, 9 months ago (2015-02-27 09:55:58 UTC) #3
Daniel Bratell
On 2015/02/27 09:55:58, yurys wrote: > lgtm, > > though the memory savings look negligible ...
5 years, 9 months ago (2015-02-27 10:16:56 UTC) #4
yurys
Thanks for explaining! That was interesting. As for savings due to --fno-inline I assume that ...
5 years, 9 months ago (2015-02-27 10:41:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/958893002/1
5 years, 9 months ago (2015-02-27 12:55:31 UTC) #7
commit-bot: I haz the power
5 years, 9 months ago (2015-02-27 14:33:22 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=191000

Powered by Google App Engine
This is Rietveld 408576698