feat(benchpress): add mean frame time metric
This is useful to measure the smoothness of animations and scrolling actions. part of #821 closes #2474
This commit is contained in:

committed by
Tobias Bosch

parent
1cf807c319
commit
6834c4992d
@ -25,6 +25,8 @@ export class TraceEventFactory {
|
||||
|
||||
end(name, time, args = null) { return this.create('E', name, time, args); }
|
||||
|
||||
instant(name, time, args = null) { return this.create('i', name, time, args); }
|
||||
|
||||
complete(name, time, duration, args = null) {
|
||||
var res = this.create('X', name, time, args);
|
||||
res['dur'] = duration;
|
||||
|
Reference in New Issue
Block a user