• Resolved chrismask

    (@chrismask)


    Hi, I use a plugin that measures php code speed of every plugin, file and function of all my site. On rankmath, speed is good, but on some cases a simple small function called is_class_cli slows down all pages from 0.02s to 0.1s which is a lot for a single (and useless on frontend) function. Please give a look. Check here: https://imgur.com/a/oeEdDA8

Viewing 1 replies (of 1 total)
  • Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @chrismask,

    Thank you for contacting support.

    That function comes from the library we use for the scheduled actions which is the ActionScheduler. That function runs when the plugin checks if the class being run belongs to the WP-CLI.

    Unfortunately, we don’t have control over that library and we rely on it for the scheduled actions, much like a lot of other plugins. You only see it being referenced back to our plugin because we include it in our vendor folder, so that is never missing.

    Don’t hesitate to get in touch if you have any other questions.

Viewing 1 replies (of 1 total)
  • The topic ‘is_class_cli very slow’ is closed to new replies.