Merge pull request #9996 from overleaf/mj-lezer-incremental-benchmark

[cm6] Add benchmarking script for incremental parsing

GitOrigin-RevId: 208ab92270121b884bbe64df76e2fc24d8c087ba
This commit is contained in:
June Kelly 2022-10-19 09:27:03 +01:00 committed by Copybot
parent 09df5b38cd
commit ac37f6ae5f

View file

@ -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: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: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": "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", "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: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", "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",