Pera Wallet Connect causes a performance issue at Start Time

once I added the PeraWallet library to the frontend of my DApp, the first home page is loaded very slowly(up to 10s), all what I did is exactly what is mentionned in the docs : I have imported and initializing the PeraWallet object in my app.js file which represents the frontend of the DApp in the web framework, and the library works perfectly from connecting to the DApp to sign transactions and there is any errors in the console, so I don’t have any idea why this performance issue is appearing and I will be very thankful for any help, thank you.