parent
3b3445146d
commit
73977795a6
@ -157,13 +157,9 @@ function run() {
|
|||||||
|
|
||||||
yield Scripting.sleep(1500);
|
yield Scripting.sleep(1500);
|
||||||
|
|
||||||
log ("OVERVIEW DRAW START");
|
|
||||||
// Meta.show_pixel_count(true);
|
|
||||||
Scripting.scriptEvent('overviewDrawStart');
|
Scripting.scriptEvent('overviewDrawStart');
|
||||||
yield waitAndDraw(1000);
|
yield waitAndDraw(1000);
|
||||||
Scripting.scriptEvent('overviewDrawDone');
|
Scripting.scriptEvent('overviewDrawDone');
|
||||||
// Meta.show_pixel_count(false);
|
|
||||||
log ("OVERVIEW DRAW DONE");
|
|
||||||
|
|
||||||
yield Scripting.destroyTestWindows();
|
yield Scripting.destroyTestWindows();
|
||||||
Main.overview.hide();
|
Main.overview.hide();
|
||||||
@ -190,7 +186,7 @@ function run() {
|
|||||||
yield Scripting.sleep(1000);
|
yield Scripting.sleep(1000);
|
||||||
|
|
||||||
////////////////////////////////////////
|
////////////////////////////////////////
|
||||||
if (0) {
|
|
||||||
let appSys = Shell.AppSystem.get_default();
|
let appSys = Shell.AppSystem.get_default();
|
||||||
let app = appSys.lookup_app('org.gnome.gedit.desktop');
|
let app = appSys.lookup_app('org.gnome.gedit.desktop');
|
||||||
|
|
||||||
@ -216,8 +212,6 @@ if (0) {
|
|||||||
|
|
||||||
yield Scripting.sleep(1000);
|
yield Scripting.sleep(1000);
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
Gtk.Settings.get_default().gtk_enable_animations = true;
|
Gtk.Settings.get_default().gtk_enable_animations = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -276,9 +270,7 @@ function script_redrawTestDone(time) {
|
|||||||
function script_collectTimings(time) {
|
function script_collectTimings(time) {
|
||||||
for (let timing in redrawTimes) {
|
for (let timing in redrawTimes) {
|
||||||
let times = redrawTimes[timing];
|
let times = redrawTimes[timing];
|
||||||
log(timing + ': ' + times.join(' '));
|
|
||||||
times.sort(function(a, b) { return a - b });
|
times.sort(function(a, b) { return a - b });
|
||||||
log(timing + ': ' + times.join(' '));
|
|
||||||
|
|
||||||
let len = times.length;
|
let len = times.length;
|
||||||
let median;
|
let median;
|
||||||
|
Loading…
Reference in New Issue
Block a user