Add hotReloadInitialDevFSSyncMilliseconds to track how long user have… (#12417)

* Add hotReloadInitialDevFSSyncMilliseconds to track how long user have to wait before being able to do first reload.

This stat is significantly different between existing and preview-dart-2 setting (for the latter, this stat is ~3x slower: 13s vs ~4s).

* Remove ws

* Cleanup timer-related code
This commit is contained in:
Alexander Aprelev
2017-10-06 08:39:46 -07:00
committed by GitHub
parent 8d41fa7862
commit ac1546c794
2 changed files with 28 additions and 48 deletions

View File

@@ -28,6 +28,7 @@ TaskFunction createHotModeTest({ bool isPreviewDart2: false }) {
});
return new TaskResult.successFromFile(benchmarkFile,
benchmarkScoreKeys: <String>[
'hotReloadInitialDevFSSyncMilliseconds',
'hotReloadMillisecondsToFrame',
'hotRestartMillisecondsToFrame',
'hotReloadDevFSSyncMilliseconds',