You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The benchmark suite includes identity-mode variants (`@JS(identityMode: true)`) of the core classes to measure pointer identity caching. Both variants are in the same build and run as regular benchmarks alongside everything else.
34
+
35
+
```bash
36
+
# Run only identity benchmarks
37
+
node --expose-gc run.js --filter=Identity
38
+
39
+
# Run only pointer-mode identity benchmarks
40
+
node --expose-gc run.js --filter=Identity/pointer
41
+
42
+
# Run only non-identity baseline
43
+
node --expose-gc run.js --filter=Identity/none
44
+
```
45
+
46
+
### Identity Scenarios
47
+
48
+
| Scenario | What it measures |
49
+
|----------|-----------------|
50
+
|`passBothWaysRoundtrip`| Same object crossing boundary repeatedly (cache hit path) |
0 commit comments