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

Issue 382063002: Redo "Information about which functions require other functions is gathered in the enqueuer." (Closed)

Created:
6 years, 5 months ago by Ty Overby (Google)
Modified:
6 years, 4 months ago
Reviewers:
ahe, sra1, sigurdm
CC:
reviews_dartlang.org, sigurdm
Visibility:
Public.

Description

Redo "Information about which functions require other functions is gathered in the enqueuer." BUG= R=sra@google.com Committed: https://code.google.com/p/dart/source/detail?r=38175

Patch Set 1 #

Patch Set 2 : Fix numerous type errors #

Patch Set 3 : remove unused functions, updated --dump-info test #

Patch Set 4 : rebase #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+452 lines, -683 lines) Patch
M sdk/lib/_internal/compiler/implementation/common.dart View 1 chunk +1 line, -0 lines 0 comments Download
A sdk/lib/_internal/compiler/implementation/compilation_info.dart View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/compiler.dart View 1 5 chunks +9 lines, -7 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dart2jslib.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dump_info.dart View 1 2 2 chunks +283 lines, -613 lines 5 comments Download
M sdk/lib/_internal/compiler/implementation/enqueue.dart View 1 15 chunks +54 lines, -31 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/backend.dart View 2 chunks +3 lines, -2 lines 2 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/js_backend.dart View 2 chunks +3 lines, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 1 chunk +5 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/resolution/registry.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/dump_info_test.dart View 1 2 2 chunks +23 lines, -22 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
sra1
lgtm
6 years, 5 months ago (2014-07-11 22:03:51 UTC) #1
Ty Overby (Google)
Committed patchset #4 manually as r38175 (presubmit successful).
6 years, 5 months ago (2014-07-11 22:18:57 UTC) #2
ahe
This CL changes code that was originally written by sigurdm@, but he wasn't CC'ed on ...
6 years, 4 months ago (2014-08-18 15:31:14 UTC) #3
sigurdm
https://codereview.chromium.org/382063002/diff/60001/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart File sdk/lib/_internal/compiler/implementation/js_backend/backend.dart (right): https://codereview.chromium.org/382063002/diff/60001/sdk/lib/_internal/compiler/implementation/js_backend/backend.dart#newcode947 sdk/lib/_internal/compiler/implementation/js_backend/backend.dart:947: void enableNoSuchMethod(context, Enqueuer world) { DBC: Missing a type
6 years, 4 months ago (2014-08-19 06:51:15 UTC) #4
Ty Overby (Google)
Cleanup of this CL is located here: https://codereview.chromium.org/486313003/ https://codereview.chromium.org/382063002/diff/60001/sdk/lib/_internal/compiler/implementation/dump_info.dart File sdk/lib/_internal/compiler/implementation/dump_info.dart (right): https://codereview.chromium.org/382063002/diff/60001/sdk/lib/_internal/compiler/implementation/dump_info.dart#newcode107 sdk/lib/_internal/compiler/implementation/dump_info.dart:107: this.compiler ...
6 years, 4 months ago (2014-08-19 19:44:13 UTC) #5
ahe
https://codereview.chromium.org/382063002/diff/60001/sdk/lib/_internal/compiler/implementation/dump_info.dart File sdk/lib/_internal/compiler/implementation/dump_info.dart (right): https://codereview.chromium.org/382063002/diff/60001/sdk/lib/_internal/compiler/implementation/dump_info.dart#newcode119 sdk/lib/_internal/compiler/implementation/dump_info.dart:119: dumpInfoDuration = new DateTime.now().difference(compilationMoment); On 2014/08/19 19:44:13, Ty Overby ...
6 years, 4 months ago (2014-08-20 08:33:19 UTC) #6
Ty Overby (Google)
On 2014/08/20 08:33:19, ahe wrote: > https://codereview.chromium.org/382063002/diff/60001/sdk/lib/_internal/compiler/implementation/dump_info.dart > File sdk/lib/_internal/compiler/implementation/dump_info.dart (right): > > https://codereview.chromium.org/382063002/diff/60001/sdk/lib/_internal/compiler/implementation/dump_info.dart#newcode119 > ...
6 years, 4 months ago (2014-08-20 17:29:37 UTC) #7
sra1
6 years, 4 months ago (2014-08-20 18:18:32 UTC) #8
Message was sent while issue was closed.
On 2014/08/20 17:29:37, Ty Overby (Google) wrote:
> On 2014/08/20 08:33:19, ahe wrote:
> >
>
https://codereview.chromium.org/382063002/diff/60001/sdk/lib/_internal/compil...
> > File sdk/lib/_internal/compiler/implementation/dump_info.dart (right):
> > 
> >
>
https://codereview.chromium.org/382063002/diff/60001/sdk/lib/_internal/compil...
> > sdk/lib/_internal/compiler/implementation/dump_info.dart:119:
dumpInfoDuration
> =
> > new DateTime.now().difference(compilationMoment);
> > On 2014/08/19 19:44:13, Ty Overby (Google) wrote:
> > > On 2014/08/18 15:31:14, ahe wrote:
> > > > We have CompilerTask to measure timing.
> > > 
> > > I can't seem to find out how to extract time measurements from
> > > CompilerTask.measure.  I could refactor this to use Stopwatch similar to
> > > Compiler with totalCompileTime.
> > 
> > Create a subclass of CompilerTask and add it to compiler.tasks. Then wrap
the
> > code you need to measure in task.measure.
> 
> I do have a DumpInfoTask that is a subclass of CompilerTask.  My issue is that
> if I 
> want my program to output how long it took to run the DumpInfoTask, I don't
know
> how 
> to get that info.

Looking at CompilerTask, I see a getter called 'timing'.

Powered by Google App Engine
This is Rietveld 408576698