Need ways to optimize rendering - Beginner here

Fixed, please delete.

Where are your vertex attributes uploaded? I don’t see you actually uploading position data for the cube faces?