Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@blond
Copy link
Member

@blond blond commented Aug 22, 2016

No description provided.

@blond
Copy link
Member Author

blond commented Aug 22, 2016

/cc @emelyanovtv @rndD

@blond blond force-pushed the fix-profiler-times branch from 510c8d5 to 564db21 Compare August 22, 2016 20:27
* BuildProfiler
* ======
*/
var inherit = require('inherit'),
Copy link

Choose a reason for hiding this comment

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

а это не линтится?

Copy link
Member Author

Choose a reason for hiding this comment

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

в этом проекте нет

@rndD
Copy link

rndD commented Aug 23, 2016

_calculateTargetBuildTime и calculateTechMetrics получились большими, может там можно какие-то куски в функции отделить. А так в целом вроде правильно.
Только я так и не понял что ты потом будешь с тамлайном делать? Как его можно будет посмотреть?

@rndD
Copy link

rndD commented Aug 23, 2016

❤️ tests

} else if (depEndTime < targetStartTime) {
selfTime = targetEndTime - targetStartTime;
}
timeline = selfRanges.map(function (range) {
Copy link

Choose a reason for hiding this comment

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

вот это просто конвертация формата, вполне выделяем в отдельную функцию.

@blond
Copy link
Member Author

blond commented Aug 23, 2016

Только я так и не понял что ты потом будешь с тамлайном делать? Как его можно будет посмотреть?

Если захотеть, то можно рисовать таймлайн сборки. Примерно как timeline или network в Chrome Dev Tools.

@blond blond force-pushed the fix-profiler-times branch from 564db21 to eaf84f4 Compare August 30, 2016 07:27
@blond blond changed the title [WIP] Fix profiler times Fix profiler times Aug 30, 2016
@blond
Copy link
Member Author

blond commented Aug 30, 2016

🆙

@blond blond merged commit d17d6b0 into master Aug 30, 2016
@blond blond deleted the fix-profiler-times branch August 30, 2016 16:41
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.

2 participants