td_util.php:static function get_font_family_list() is consuming all resources..

Posted in: Newspaper
Post count: 8

Hello,

I’m managing a website running latest version of WordPress (v5.4.2 as of today) and over 70 extensions (I know, that’s a lot and that’s too much). The website is running pretty slow. I ran a performance profile (using BlackFire) and found out that the function td_util.php:static function get_font_family_list() from plugins/td-composer/legacy/common/wp_booster/td_util.php consumes almost 30% of the overall ressources needed to run the page. Which is fucking huge, considering all the plugins I have so far and which is by far the most demanding of all.
I didn’t hack any page of code from tagDiv.

Running the homepage, I could see that the function is called on the homepage 841 times (ouch !!!).

Rest of my configuration :
– WordPress v5.4.2
– Newspaper 10.3
– Among my plugins, tagDiv Speed Booster is v4.9.1

What could I or you do to fix that issue ?

Regards,

Post count: 8

I’ve just upgraded to Newspaper 10.3.5, no news.
For the record a var_dump on $list just before your “return $list;” shows me that the array is composed with 959 elements!!!

959 elements called 841 times, too much ^^

Post count: 18283

Hello !

Please make sure that you have followed our users guide to improve the mobility of your website: https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/

Thank you !

Post count: 8

Hi,

I ran a profile, so I’m sure that this function consumes the resources, not some other plugins.

Post count: 18283

Hello !

Please contact us via email at contact@tagdiv.com and provide the following:

– admin url and credentials
– cPanel url and credentials
– A link to this topic in order to identify you

Our team will take a look !

Thank you !

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.