[web] Allow benchmarks to customize their score keys (#51493)
This commit is contained in:
@@ -430,6 +430,7 @@ class Profile {
|
||||
Map<String, dynamic> toJson() {
|
||||
return <String, dynamic>{
|
||||
'name': name,
|
||||
'scoreKeys': <String>['averageDrawFrameDuration'],
|
||||
'averageDrawFrameDuration': averageDrawFrameDuration.inMicroseconds,
|
||||
'drawFrameDurationNoise': drawFrameDurationNoise,
|
||||
'frames': frames
|
||||
|
||||
Reference in New Issue
Block a user