Moved benchmark to its own directory and added multicore testing + a README

This commit is contained in:
David Négrier 2020-09-11 09:56:05 +02:00
parent d4fe59d154
commit b37a8f63be
11 changed files with 160 additions and 1337 deletions

View file

@ -1,15 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
'use strict';
module.exports = {
setYRandom
};
function setYRandom(context, events, done) {
context.vars.x = (883 + Math.round(Math.random() * 300));
context.vars.y = (270 + Math.round(Math.random() * 300));
return done();
}