Using WebGL 2.0 if possible

WebGL 2.0 is faster than WebGL 1.0, but, at the time of writing, it is supported on far fewer browsers. Just compiling your WebGL 1.0 code to WebGL 2.0 will give you about a 7% performance improvement. However, before you choose to do this, you may want to consult https://caniuse.com/#search=webgl2 to see whether the browsers you are targeting support WebGL 2.0.