import Stats from 'stats-gl'
const stats = new Stats();
const renderer = new THREE.WebGLRenderer();
stats.init( renderer );
container.appendChild( stats.dom );
function animate() {
requestAnimationFrame( animate );
renderer.render( scene, camera );
stats.update();
};