@mark1russell7/vex-compiler 0.19.0 → 0.19.1
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/README.md +7 -5
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -94,14 +94,16 @@ With `keys: true`, the last argument of the run is an array with one different t
|
|
|
94
94
|
|
|
95
95
|
## Speed
|
|
96
96
|
|
|
97
|
-
The speed gate compares tier 2 with hand-written loops,
|
|
97
|
+
The speed gate compares tier 2 with hand-written loops. Lower is better. The tier 2 values come from 53 CI jobs on Node.js 26.13.1, from 2026-11-12 to 2026-11-14. The tier 1 values come from 5 CI jobs on 2026-10-30.
|
|
98
98
|
|
|
99
99
|
| Program | Tier 2 / loops | Tier 1 / loops |
|
|
100
100
|
|---|---|---|
|
|
101
|
-
| The nearest other box, at each of 60 keys | 1.
|
|
102
|
-
| One step of the Game of Life, 16 by 16 | 1.
|
|
103
|
-
|
|
|
104
|
-
| The
|
|
101
|
+
| The nearest other box, at each of 60 keys | 1.32 to 1.63 | 16.6 to 21.2 |
|
|
102
|
+
| One step of the Game of Life, 16 by 16 | 1.08 to 1.22 | 38.0 to 40.6 |
|
|
103
|
+
| A tree module, 1000 nodes | 0.49 to 0.59 | |
|
|
104
|
+
| The shapes module of ireko, 1111 nodes | 1.39 to 1.78 | |
|
|
105
|
+
| The radial module of ireko, 12 children, linked | 1.71 to 1.85 | |
|
|
106
|
+
| The radial module of ireko, 60 children, nested | 1.67 to 1.84 | |
|
|
105
107
|
|
|
106
108
|
`bench/gate.ts` gives the limits and the runs that set them. The plan of the compiler is in [`docs/COMPILER.md`](https://github.com/mark1russell7/vex/blob/main/docs/COMPILER.md).
|
|
107
109
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@mark1russell7/vex-compiler",
|
|
4
|
-
"version": "0.19.
|
|
4
|
+
"version": "0.19.1",
|
|
5
5
|
"description": "The Vex compiler: generated JavaScript for Vex programs, at run time and at build time, with the results of the interpreter.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"vex",
|
|
@@ -47,8 +47,9 @@
|
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@mark1russell7/cue": "github:mark1russell7/cue#da04dd56699a2ae806ab64da5b1d677476afe69e",
|
|
50
|
-
"@mark1russell7/
|
|
51
|
-
"@mark1russell7/vex-
|
|
50
|
+
"@mark1russell7/rigor-bench": "^0.2.37",
|
|
51
|
+
"@mark1russell7/vex-domains": "0.19.1",
|
|
52
|
+
"@mark1russell7/vex-testkit": "0.19.1",
|
|
52
53
|
"@types/node": "^26.6.4",
|
|
53
54
|
"fast-check": "^4.10.2",
|
|
54
55
|
"typescript": "^7.0.2",
|
|
@@ -56,7 +57,7 @@
|
|
|
56
57
|
},
|
|
57
58
|
"dependencies": {
|
|
58
59
|
"@mark1russell7/coeval": "^0.34.0",
|
|
59
|
-
"@mark1russell7/vex": "0.19.
|
|
60
|
+
"@mark1russell7/vex": "0.19.1",
|
|
60
61
|
"acorn": "^8.19.0",
|
|
61
62
|
"astring": "^1.9.0"
|
|
62
63
|
},
|