{ "name": "@lynx-js/benchmark-react", "version": "0.0.0", "private": true, "type": "module", "scripts": { "bench": "pnpm run --sequential --stream --aggregate-output '/^bench:.*/'", "bench:001-fib": "benchx_cli run dist/001-fib.lynx.bundle", "bench:002-hello-reactLynx": "benchx_cli run dist/002-hello-reactLynx.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:003-hello-list": "benchx_cli run dist/003-hello-list.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:004-various-update": "benchx_cli run dist/004-various-update.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:005-load-script": "benchx_cli run dist/005-load-script.lynx.bundle", "bench:006-static-raw-text": "benchx_cli run dist/006-static-raw-text.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:007-four-layer-views": "benchx_cli run dist/007-four-layer-views.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:008-many-use-state": "benchx_cli run dist/008-many-use-state.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:009-eval-bench": "benchx_cli run dist/009-eval-bench.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:010-transform-exponentiation-operator": "benchx_cli run dist/010-transform-exponentiation-operator.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:011-transform-async-to-generator": "benchx_cli run dist/011-transform-async-to-generator.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:012-attrs-compile": "benchx_cli run dist/012-attrs-compile.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:013-attrs-runtime": "benchx_cli run dist/013-attrs-runtime.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:014-attrs-mixed": "benchx_cli run dist/014-attrs-mixed.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:015-attrs-component": "benchx_cli run dist/015-attrs-component.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:016-use-state-local-attribute-update": "benchx_cli run dist/016-use-state-local-attribute-update.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:017-use-signal-local-attribute-update": "benchx_cli run dist/017-use-signal-local-attribute-update.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:018-use-state-full-attribute-update": "benchx_cli run dist/018-use-state-full-attribute-update.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:019-use-signal-full-attribute-update": "benchx_cli run dist/019-use-signal-full-attribute-update.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:020-many-main-thread-refs": "benchx_cli run dist/020-many-main-thread-refs.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:et-007-four-layer-views": "benchx_cli run dist/et/007-four-layer-views.lynx.bundle --wait-for-id=stop-benchmark-true", "bench:et-018-use-state-full-attribute-update": "benchx_cli run dist/et/018-use-state-full-attribute-update.lynx.bundle --wait-for-id=stop-benchmark-true", "bench-et": "pnpm run --sequential --stream --aggregate-output '/^bench:et-.*/'", "build": "rspeedy build && rspeedy build --config lynx.et.config.js", "dev": "rspeedy dev", "perfetto": "pnpm run --sequential --stream --aggregate-output '/^perfetto:.*/'", "perfetto:001-fib": "benchx_cli -o dist/001-fib.ptrace run dist/001-fib.lynx.bundle", "perfetto:002-hello-reactLynx": "benchx_cli -o dist/002-hello-reactLynx.ptrace run dist/002-hello-reactLynx.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:003-hello-list": "benchx_cli -o dist/003-hello-list.ptrace run dist/003-hello-list.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:004-various-update": "benchx_cli -o dist/004-various-update.ptrace run dist/004-various-update.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:005-load-script": "benchx_cli -o dist/005-load-script.ptrace run dist/005-load-script.lynx.bundle", "perfetto:006-static-raw-text": "benchx_cli -o dist/006-static-raw-text.ptrace run dist/006-static-raw-text.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:007-four-layer-views": "benchx_cli -o dist/007-four-layer-views.ptrace run dist/007-four-layer-views.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:008-many-use-state": "benchx_cli -o dist/008-many-use-state.ptrace run dist/008-many-use-state.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:009-eval-bench": "benchx_cli -o dist/009-eval-bench.ptrace run dist/009-eval-bench.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:010-transform-exponentiation-operator": "benchx_cli -o dist/010-transform-exponentiation-operator.ptrace run dist/010-transform-exponentiation-operator.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:011-transform-async-to-generator": "benchx_cli -o dist/011-transform-async-to-generator.ptrace run dist/011-transform-async-to-generator.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:012-attrs-compile": "benchx_cli -o dist/012-attrs-compile.ptrace run dist/012-attrs-compile.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:013-attrs-runtime": "benchx_cli -o dist/013-attrs-runtime.ptrace run dist/013-attrs-runtime.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:014-attrs-mixed": "benchx_cli -o dist/014-attrs-mixed.ptrace run dist/014-attrs-mixed.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:015-attrs-component": "benchx_cli -o dist/015-attrs-component.ptrace run dist/015-attrs-component.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:016-use-state-local-attribute-update": "benchx_cli -o dist/016-use-state-local-attribute-update.ptrace run dist/016-use-state-local-attribute-update.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:017-use-signal-local-attribute-update": "benchx_cli -o dist/017-use-signal-local-attribute-update.ptrace run dist/017-use-signal-local-attribute-update.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:018-use-state-full-attribute-update": "benchx_cli -o dist/018-use-state-full-attribute-update.ptrace run dist/018-use-state-full-attribute-update.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:019-use-signal-full-attribute-update": "benchx_cli -o dist/019-use-signal-full-attribute-update.ptrace run dist/019-use-signal-full-attribute-update.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:020-many-main-thread-refs": "benchx_cli -o dist/020-many-main-thread-refs.ptrace run dist/020-many-main-thread-refs.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:et-007-four-layer-views": "benchx_cli -o dist/et/007-four-layer-views.ptrace run dist/et/007-four-layer-views.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto:et-018-use-state-full-attribute-update": "benchx_cli -o dist/et/018-use-state-full-attribute-update.ptrace run dist/et/018-use-state-full-attribute-update.lynx.bundle --wait-for-id=stop-benchmark-true", "perfetto-et": "pnpm run --sequential --stream --aggregate-output '/^perfetto:et-.*/'", "test": "npm run perfetto && node scripts/detectLeak.mjs" }, "dependencies": { "@lynx-js/react": "workspace:*", "@lynx-js/react-signals": "workspace:*", "benchx_cli": "workspace:*", "empathic": "^2.1.0", "event-target-polyfill": "^0.0.4", "magic-string": "^1.4.3", "tinybench": "^6.2.2" }, "devDependencies": { "@lynx-js/qrcode-rsbuild-plugin": "workspace:*", "@lynx-js/react-rsbuild-plugin": "workspace:*", "@lynx-js/rspeedy": "workspace:*", "@lynx-js/trace-processor": "^0.0.1", "@lynx-js/type-element-api": "0.0.9", "@lynx-js/types": "4.1.0", "@types/react": "^19.2.18" } }