Iterate on test setup

This commit is contained in:
Nick Gerleman
2022-12-24 00:25:02 -08:00
parent 0a82167c30
commit 0f67a0a458
38 changed files with 36 additions and 61 deletions

View File

@@ -5,9 +5,8 @@
* LICENSE file in the root directory of this source tree.
*/
var Yoga = Yoga || require("../../dist/entry-" + process.env.TEST_ENTRY);
var ITERATIONS = 2000;
const ITERATIONS = 2000;
const YGBENCHMARK = global.YGBENCHMARK ?? global.test;
YGBENCHMARK("Stack with flex", function() {
var root = Yoga.Node.create();