We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db021b2 commit 8cdaea3Copy full SHA for 8cdaea3
example/three/cesiumCompare.js
@@ -176,6 +176,7 @@ function updateThreeStats() {
176
writeStats( threeStats, 'load end', ( loadDelta < 0 ? '--' : loadEnd.toFixed( 0 ) + ' ms' ) );
177
writeStats( threeStats, 'load delta', ( loadDelta < 0 ? '--' : loadDelta.toFixed( 0 ) + ' ms' ) );
178
writeStats( threeStats, 'total load time', threeViewer.totalLoadTime.toFixed( 0 ) + ' ms' );
179
+ writeStats( threeStats, 'perf', ( 100 * threeViewer.totalLoadTime / cesiumViewer.totalLoadTime ).toFixed( 2 ) + '%' );
180
181
}
182
0 commit comments