perf-test: type for a minute or so, with more text.

Change-Id: I90ee29ed1c69cda0c9db2d4375f7417ab2142b5e
Signed-off-by: Michael Meeks <michael.meeks@collabora.com>
This commit is contained in:
Michael Meeks 2023-05-22 18:13:43 +01:00
parent c80641f5ef
commit f9eda6c5d0
2 changed files with 3 additions and 2 deletions

View file

@ -801,7 +801,7 @@ check-local: $(MOCHA_TS_JS_FILES)
# the delay (in milliseconds) between each emulated key stroke for each view
typing_speed=100
# The duration of the typing (in milliseconds)
typing_duration=30000
typing_duration=60000
# By default 6 views are spawned in the document.
single_view="false"
# --inspect flag for the first view. Ideally should be used with single_view=true

View file

@ -267,8 +267,9 @@ window.onload = function() {
console.debug(zoomMessage);
window.app.socket.sendMessage(zoomMessage);
await sleep(500);
// mesh the keyboard:
// mash the keyboard:
let dummyInput = 'askdjf ,asdhflkas r;we f;akdn.adh ;o wh;fa he;qw e.fkahsd ;vbawe.kguday;f vas.,mdb kaery kejraerga';
dummyInput = dummyInput.repeat(10);
map.focus();
let inputIndex = 0;
if (record_stats) {