Hi there @mayur1234,
Thanks for opening a support topic, and sharing details of your analysis. Site Kit doesn’t result in any scripts executing on the front end of users site other the service specific scripts if a user decides to active them, for example Google Analytics or AdSense. The scripts that will be executed if these modules are activated within Site Kit, are the same scripts that are executed if a user manually adds these services, without using Site Kit. They are not Site Kit specific. We have more information on the code snippets and the front end aspects of Site Kit added to the plugin website:
https://sitekit.withgoogle.com/documentation/using-site-kit/front-end/
With regards database performance Site Kit uses the various Google API’s to display information within the Site Kit dashboard, rather than pulling information from a users connected database. There are some standard WordPress tables that Site Kit does use, such as wp_options
. Looking at the results you kindly provided these don’t seem to have a negative impact.
With regards the methods and performance analysis I’ll have to check this with the team. I suspect these are only applicate for you you as a logged in administrator, using the wp-admin dashboard. I’ll report back to you here on this.
In relation changing the code you’ll find the plugins GitHub repository below, where you can submit any proposed changes or even fork your own version and make any changes you wish. When it comes to programmatic changes it’s not something we can advise here within the plugin support forums.
https://github.com/google/site-kit-wp
I’ll report back to you here after I query your methods and performance analysis with the team. Thank you!