mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Add a project to benchmark sensing_touchingobject vs other sprites (#1094)
This commit is contained in:
parent
dbdee0ca8b
commit
08a992f28d
1 changed files with 12 additions and 0 deletions
|
@ -589,6 +589,18 @@ window.onload = function () {
|
|||
recordingTime: 5000
|
||||
}));
|
||||
|
||||
suite.add(new BenchFixture({
|
||||
projectId: 219313833,
|
||||
warmUpTime: 0,
|
||||
recordingTime: 5000
|
||||
}));
|
||||
|
||||
suite.add(new BenchFixture({
|
||||
projectId: 219313833,
|
||||
warmUpTime: 5000,
|
||||
recordingTime: 5000
|
||||
}));
|
||||
|
||||
const frame = document.getElementsByTagName('iframe')[0];
|
||||
const runner = new BenchRunner({frame, suite});
|
||||
const resultsView = suiteView = new BenchSuiteResultView({runner}).render();
|
||||
|
|
Loading…
Reference in a new issue