[web] Add benchmarks for text layout (#51663)

This commit is contained in:
Mouad Debbar
2020-03-10 18:46:03 -07:00
committed by GitHub
parent fc5350ed04
commit 5bb552270d
6 changed files with 351 additions and 194 deletions

View File

@@ -138,10 +138,6 @@ Future<TaskResult> runWebBenchmark({ @required bool useCanvasKit }) async {
throw 'Score key is empty in benchmark "$benchmarkName". '
'Received [${scoreKeys.join(', ')}]';
}
if (scoreKey.contains('.')) {
throw 'Score key contain dots in benchmark "$benchmarkName". '
'Received [${scoreKeys.join(', ')}]';
}
benchmarkScoreKeys.add('$namespace.$scoreKey');
}