@utsp/core 0.13.0-nightly.20251214151223.d6db2d9 → 0.13.0-nightly.20251217124509.36444f7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utsp/core",
3
- "version": "0.13.0-nightly.20251214151223.d6db2d9",
3
+ "version": "0.13.0-nightly.20251217124509.36444f7",
4
4
  "description": "UTSP core engine - Universal Text Stream Protocol data management",
5
5
  "author": "THP Software",
6
6
  "license": "MIT",
@@ -13,6 +13,11 @@
13
13
  "types": "./dist/index.d.ts",
14
14
  "import": "./dist/index.mjs",
15
15
  "require": "./dist/index.cjs"
16
+ },
17
+ "./benchmark": {
18
+ "types": "./dist/benchmark.d.ts",
19
+ "import": "./dist/benchmark.mjs",
20
+ "require": "./dist/benchmark.cjs"
16
21
  }
17
22
  },
18
23
  "repository": {
@@ -46,10 +51,13 @@
46
51
  "access": "public"
47
52
  },
48
53
  "dependencies": {
49
- "@utsp/types": "0.13.0-nightly.20251214151223.d6db2d9"
54
+ "@utsp/types": "0.13.0-nightly.20251217124509.36444f7"
50
55
  },
51
56
  "devDependencies": {
52
57
  "@types/node": "^24.9.1",
58
+ "systeminformation": "^5.27.13",
59
+ "tinybench": "^6.0.0",
60
+ "tsx": "^4.19.4",
53
61
  "typescript": "^5.6.3"
54
62
  },
55
63
  "scripts": {
@@ -58,6 +66,25 @@
58
66
  "clean": "rimraf dist",
59
67
  "lint": "eslint \"src/**/*.ts\" --max-warnings 0",
60
68
  "lint:fix": "eslint \"src/**/*.ts\" --fix",
61
- "typecheck": "tsc --noEmit"
69
+ "typecheck": "tsc --noEmit",
70
+ "test": "node --import tsx --test ./tests/encoding/UpdatePacket.roundtrip.test.ts ./tests/encoding/LayerOrder.roundtrip.test.ts ./tests/encoding/AudioOrder.roundtrip.test.ts ./tests/encoding/VibrationOrder.roundtrip.test.ts ./tests/encoding/Load.roundtrip.test.ts ./tests/encoding/PostProcessOrder.roundtrip.test.ts ./tests/encoding/CompressedInput.roundtrip.test.ts ./tests/encoding/MacroOrder.roundtrip.test.ts ./tests/encoding/MacroLoad.roundtrip.test.ts ./tests/encoding/MacroEvent.roundtrip.test.ts ./tests/encoding/Display.roundtrip.test.ts ./tests/encoding/SizeBoundary.roundtrip.test.ts ./tests/rendering/LayerRasterizer.test.ts ./tests/rendering/LayerRasterizer.composite.test.ts ./tests/rendering/DisplayRasterizer.test.ts ./tests/OrderBuilder.test.ts ./tests/Cell.test.ts ./tests/Layer.test.ts",
71
+ "bench": "pnpm run build && node --expose-gc --import tsx ./benchmarks/index.ts",
72
+ "bench:warmup": "node --expose-gc --import tsx ./benchmarks/cpu-warmup.ts",
73
+ "bench:warmup:quick": "node --expose-gc --import tsx ./benchmarks/cpu-warmup.ts --duration=10",
74
+ "bench:warmup:full": "node --expose-gc --import tsx ./benchmarks/cpu-warmup.ts --duration=30",
75
+ "bench:warmup:extended": "node --expose-gc --import tsx ./benchmarks/cpu-warmup.ts --duration=60",
76
+ "bench:orders": "pnpm run build && node --expose-gc --import tsx ./benchmarks/index.ts --orders",
77
+ "bench:render": "pnpm run build && node --expose-gc --import tsx ./benchmarks/index.ts --render",
78
+ "bench:pipeline": "pnpm run build && node --expose-gc --import tsx ./benchmarks/index.ts --pipeline",
79
+ "bench:scenarios": "pnpm run build && node --expose-gc --import tsx ./benchmarks/index.ts --scenarios",
80
+ "bench:cached": "pnpm run build && node --expose-gc --import tsx ./benchmarks/index.ts --cached",
81
+ "bench:display": "pnpm run build && node --expose-gc --import tsx ./benchmarks/index.ts --display",
82
+ "bench:dev": "node --expose-gc --import tsx ./benchmarks/index.ts",
83
+ "bench:dev:orders": "node --expose-gc --import tsx ./benchmarks/index.ts --orders",
84
+ "bench:dev:render": "node --expose-gc --import tsx ./benchmarks/index.ts --render",
85
+ "bench:dev:pipeline": "node --expose-gc --import tsx ./benchmarks/index.ts --pipeline",
86
+ "bench:dev:scenarios": "node --expose-gc --import tsx ./benchmarks/index.ts --scenarios",
87
+ "bench:dev:cached": "node --expose-gc --import tsx ./benchmarks/index.ts --cached",
88
+ "bench:dev:display": "node --expose-gc --import tsx ./benchmarks/index.ts --display"
62
89
  }
63
90
  }