How to make Electron app open fast for the first time on MacOS?

Our app may take 10s more to open up for the first time after installation, but it will open within 3s afterwards.
We found that Atom shows the same behavior.

However, VScode and Notion can open really fast for the first time, less than 5s.
How can we improve our app launch speed for the first time?
Thank you very much.