Want to increase my page speed by optimizing three js code

it takes time to decompress, and if you are using Draco through DREI, then by default i think it loads the worker scripts from CDN. You could load them locally.