Support » Plugin: Ad Inserter - AdSense plugin, WP Ads, Header Code » Maximum execution time

  • Resolved MAzZY

    (@mazzy)



    Hi Igor!
    Thank you for this very usefull plugin!
    But I have one problem with it – very high load and execution time. Take a look at this screenshot please – http://prntscr.com/gd8221

    As I can understand paragraf counting function not so optimised as it should be. Yes, I have increased php execution time in settings. Now it works fine. But CPU load still exceeds normal values.
    Maybe you can think about it and make some changes in procedure

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Spacetime

    (@spacetime)

    Hi,

    this is very unusual as the plugin is already optimized for speed.

    The only known slow functions are Multibyte functions for paragraph counting.
    Everything else should be super fast – in terms of milliseconds.

    Multibyte functions should be used only in some cases where non-ascii characters are used (non-english pages) and standard functions don’t work. They are known to be much slower than normal functions and this becomes apparent in longer posts. This has nothing to do with the plugin – the same algorithms are used.

    You haven’t provided any data so I can’t comment your settings.
    https://wordpress.org/support/topic/please-read-how-to-ask-for-help-2/

    Yes, it’s multibyte because of russian texts.
    I don’t need any help in this situation. Just want to point you at it.

    Plugin Author Spacetime

    (@spacetime)

    OK, I see.

    Thanks, I already spent some time on this problem.

    In theory, standard functions should work also with unicode characters and on many such pages do. However, on some pages they do not work correctly so I added option for multibyte functions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Maximum execution time’ is closed to new replies.