rayzee 8.2.0 → 8.3.0

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": "rayzee",
3
- "version": "8.2.0",
3
+ "version": "8.3.0",
4
4
  "type": "module",
5
5
  "description": "Real-time WebGPU path tracing engine built on Three.js",
6
6
  "main": "dist/rayzee.umd.js",
@@ -146,6 +146,9 @@ export class SceneProcessor {
146
146
  geometryExtractionTime: 0,
147
147
  bvhBuildTime: 0,
148
148
  blasBuildTime: 0,
149
+ // Summed per-mesh build time reported by the workers. Divided by blasBuildTime it
150
+ // gives how many workers were actually busy — a health signal, not a cost.
151
+ blasWorkerTime: 0,
149
152
  tlasBuildTime: 0,
150
153
  bvhAssembleTime: 0,
151
154
  totalProcessingTime: 0
@@ -781,6 +784,7 @@ export class SceneProcessor {
781
784
  blasStats.failed += st.failedSplits ?? 0;
782
785
  blasStats.treeletsImproved += st.treeletsImproved ?? 0;
783
786
  blasStats.treeletsProcessed += st.treeletsProcessed ?? 0;
787
+ this.performanceMetrics.blasWorkerTime += st.totalBuildTime ?? 0;
784
788
 
785
789
  }
786
790
 
@@ -1456,6 +1460,9 @@ export class SceneProcessor {
1456
1460
  geometryExtractionTime: 0,
1457
1461
  bvhBuildTime: 0,
1458
1462
  blasBuildTime: 0,
1463
+ // Summed per-mesh build time reported by the workers. Divided by blasBuildTime it
1464
+ // gives how many workers were actually busy — a health signal, not a cost.
1465
+ blasWorkerTime: 0,
1459
1466
  tlasBuildTime: 0,
1460
1467
  bvhAssembleTime: 0,
1461
1468
  totalProcessingTime: 0