Background of the issue:
I am trying to list custom post types, posts, and pages in the admin area of WordPress.
Symptoms:
I experienced a load time of 3 seconds and over 3000 database queries when WPML is active. When WPML is deactivated, the load time drops to 0.8 seconds with 300 database queries.
Questions:
Why does WPML cause a high number of database queries?
How can I reduce the load time when WPML is active?
Unfortunately, performance issues are not always caused by the same reasons. We can of course go through a few standard tests and if they don't help we will need to look deeper.
2. I can see you are using a custom theme, what are your results if you switch temporarily to a theme such as Twenty24? Please share the loading time with me then.
3. Consider disabling "display as translated" (Fallback mode) from post types, taxonomies, custom fields, etc. in WPML > Settings
4. Go to WPML->Support->Troubleshooting and run:
Cleanup and optimize string tables"
"Clear invalid strings"
"Remove ghost entries from WPML tables"