@forgeax/engine-profiler 0.1.20 → 0.1.23
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 +8 -0
- package/dist/cli.mjs +1991 -2154
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1991 -2154
- package/dist/index.mjs.map +1 -1
- package/dist/schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/schema.ts +41 -5
- package/dist/.tsbuildinfo +0 -1
package/README.md
CHANGED
|
@@ -149,6 +149,14 @@ Expected failures return `Result`; inspect `.ok`, then use `.error.code`, `.erro
|
|
|
149
149
|
|
|
150
150
|
Profiler owns capture records, bounds, allocation evidence, and offline projections. It does not own GPU timestamps, ECS scheduling, a browser UI, a network method, or a live trace service. Remote exposure remains the host's explicit `profiler` root opt-in through the existing `eval` and `introspect` methods.
|
|
151
151
|
|
|
152
|
+
GPU pass timing stays outside `ProfileCapture`. The Render package owns the
|
|
153
|
+
opt-in, `draw()` receipt, receipt-bound observation, pass facts, and recovery;
|
|
154
|
+
the benchmark package owns its separate fail-closed validator. App and Runtime
|
|
155
|
+
may transparently forward `gpuPassTiming`, but they do not create a session or
|
|
156
|
+
second controller. Membership timing is producer-specific and is not generic
|
|
157
|
+
accepted evidence. Keep CPU phase names, units, and schema unchanged when a
|
|
158
|
+
GPU timing capability is present.
|
|
159
|
+
|
|
152
160
|
## Public surface
|
|
153
161
|
|
|
154
162
|
| Entry | Purpose |
|