From ac37f6ae5f0b64f18ebccda5c1bb83aed6dd9cdd Mon Sep 17 00:00:00 2001 From: June Kelly Date: Wed, 19 Oct 2022 09:27:03 +0100 Subject: [PATCH] Merge pull request #9996 from overleaf/mj-lezer-incremental-benchmark [cm6] Add benchmarking script for incremental parsing GitOrigin-RevId: 208ab92270121b884bbe64df76e2fc24d8c087ba --- services/web/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/package.json b/services/web/package.json index a4bacfc83d..f1eb1f2dfc 100644 --- a/services/web/package.json +++ b/services/web/package.json @@ -37,6 +37,7 @@ "lezer-latex:generate": "if [ ! -d $(pwd)/modules/source-editor ]; then echo \"'source-editor' module is not available\"; exit 0; fi; node modules/source-editor/scripts/lezer-latex/generate.js", "lezer-latex:run": "node modules/source-editor/scripts/lezer-latex/run.mjs", "lezer-latex:benchmark": "node modules/source-editor/scripts/lezer-latex/benchmark.mjs", + "lezer-latex:benchmark-incremental": "node modules/source-editor/scripts/lezer-latex/test-incremental-parser.mjs", "routes": "bin/routes", "local:nodemon": "set -a;. ../../config/dev-environment.env;. ../../config/local.env;. ../../config/local-dev.env;. ./docker-compose.common.env;. ./local-dev.env; set +a; echo $SHARELATEX_CONFIG; WEB_PORT=13000 LISTEN_ADDRESS=0.0.0.0 npm run nodemon", "local:webpack": "set -a;. ../../config/dev-environment.env;. ../../config/local.env;. ../../config/local-dev.env;. ./docker-compose.common.env;. ./local-dev.env; set +a; PORT=13808 SHARELATEX_CONFIG=$(pwd)/config/settings.webpack.js npm run webpack",