Support » Plugin: Scroll Back To Top » most inefficient autoloader I have ever seen

  • hellocon

    (@hellocon)



    The site is terribly slow after enabling this plugin (0.15s with plugin disabled and 2.7s with enabled). This is caused by a very poor autoloader with recursive directory traversal making more than 5500+ misses before loading 10 required files. Moreover, it makes several substr() + preg_match() + str_replace() calls in every check.

    Author must pay more attention to quality of the code.

    • This topic was modified 6 months ago by  hellocon.
    • This topic was modified 6 months ago by  hellocon.
Viewing 1 replies (of 1 total)
  • hellocon

    (@hellocon)

    some updates:
    the autoloader is really bad, but slowness and huge amount of misses appears only in conjunction with other plugins. Is not very noticeable on clean install.

Viewing 1 replies (of 1 total)
  • The topic ‘most inefficient autoloader I have ever seen’ is closed to new replies.