Skip to content

Commit db021b2

Browse files
committed
Improve total load time
1 parent d671290 commit db021b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/three/cesiumCompare.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function updateThreeStats() {
175175
writeStats( threeStats, 'load start', loadStart.toFixed( 0 ) + ' ms' );
176176
writeStats( threeStats, 'load end', ( loadDelta < 0 ? '--' : loadEnd.toFixed( 0 ) + ' ms' ) );
177177
writeStats( threeStats, 'load delta', ( loadDelta < 0 ? '--' : loadDelta.toFixed( 0 ) + ' ms' ) );
178-
writeStats( threeStats, 'load load time', threeViewer.totalLoadTime.toFixed( 0 ) + ' ms' );
178+
writeStats( threeStats, 'total load time', threeViewer.totalLoadTime.toFixed( 0 ) + ' ms' );
179179

180180
}
181181

@@ -235,7 +235,7 @@ function updateCesiumStats() {
235235
writeStats( cesiumStats, 'load start', loadStart.toFixed( 0 ) + ' ms' );
236236
writeStats( cesiumStats, 'load end', ( loadDelta < 0 ? '--' : loadEnd.toFixed( 0 ) + ' ms' ) );
237237
writeStats( cesiumStats, 'load delta', ( loadDelta < 0 ? '--' : loadDelta.toFixed( 0 ) + ' ms' ) );
238-
writeStats( cesiumStats, 'load load time', cesiumViewer.totalLoadTime.toFixed( 0 ) + ' ms' );
238+
writeStats( cesiumStats, 'total load time', cesiumViewer.totalLoadTime.toFixed( 0 ) + ' ms' );
239239

240240
}
241241

0 commit comments

Comments
 (0)