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

Issue 14002020: Optimize function and interface object length computation in bindings generator (Closed)

Created:
7 years, 7 months ago by do-not-use
Modified:
7 years, 7 months ago
CC:
blink-reviews, Nate Chapin, jsbell, abarth-chromium, lgombos
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Optimize function and interface object length computation in bindings generator Introduce new GetFunctionLength() function that efficiently compute the length of a function (i.e. its number of mandatory parameters). We now call GetFunctionLength() instead of GenerateFunctionParametersCheck() whenever we care only interested in the function length and not the actual expression for checking the parameters. This is much more efficient as GenerateFunctionParametersCheck() does a lot more processing than we need in this case. NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149196

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -18 lines) Patch
M Source/bindings/scripts/CodeGeneratorV8.pm View 8 chunks +33 lines, -18 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
do-not-use
7 years, 7 months ago (2013-04-26 11:27:54 UTC) #1
haraken
Maybe can you kill the first argument of GenerateFunctionParametersCheck()?
7 years, 7 months ago (2013-04-26 11:32:16 UTC) #2
do-not-use
On 2013/04/26 11:32:16, haraken wrote: > Maybe can you kill the first argument of GenerateFunctionParametersCheck()? ...
7 years, 7 months ago (2013-04-26 11:37:46 UTC) #3
haraken
Thanks for the clarification. Makes sense. I don't think the efficiency matters here, but readability ...
7 years, 7 months ago (2013-04-26 11:48:40 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/14002020/1
7 years, 7 months ago (2013-04-26 11:57:48 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=5665
7 years, 7 months ago (2013-04-26 12:28:42 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@sisa.samsung.com/14002020/1
7 years, 7 months ago (2013-04-26 12:32:56 UTC) #7
haraken
Landing with NOTRY=true
7 years, 7 months ago (2013-04-26 12:32:57 UTC) #8
commit-bot: I haz the power
7 years, 7 months ago (2013-04-26 12:33:10 UTC) #9
Message was sent while issue was closed.
Change committed as 149196

Powered by Google App Engine
This is Rietveld 408576698