Skip to content

chore: address follow-up comments to #69#73

Merged
nolanmar511 merged 2 commits intogoogle:masterfrom
nolanmar511:fix-profiler-cc
Jun 26, 2019
Merged

chore: address follow-up comments to #69#73
nolanmar511 merged 2 commits intogoogle:masterfrom
nolanmar511:fix-profiler-cc

Conversation

@nolanmar511
Copy link
Copy Markdown
Contributor

No description provided.

export function stopProfiling(
runName: string, includeLineInfo?: boolean): TimeProfile {
return profiler.timeProfiler.stopProfiling(runName, includeLineInfo || false);
runName: string, includedLineInfo?: boolean): TimeProfile {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would name the argument as includeLineInfo everywhere. I think there is an assumption that the same value for this argument must be passed to startProfiling and stopProfiling, so using the same name would help to express that.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@nolanmar511
Copy link
Copy Markdown
Contributor Author

PTAL

Copy link
Copy Markdown
Contributor

@aalexand aalexand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge once the tests pass.

@nolanmar511 nolanmar511 merged commit 807ddae into google:master Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants