• faglork

    (@faglork)


    I recently installed the “code profiler” plugin and I am getting a somewhat strange result: WP-Typography seems to be the plugin with an extraodinary execution time: it allegedly takes 65% of execution time of all plugins and theme combined. Execution time is – according to the profiler – 2.7 seconds. The next slowest plugin takes 0.3 seconds …

    Additionally, I checked disk i/o statistics:

    i/o read bytes w/o the plugin: about 23 MB

    i/o read bytes with the plugin: about 36 MB

    Why does it have to read 13 MB from disk? This seems to me an abnormal high amount.

    Any ideas?

Viewing 1 replies (of 1 total)
  • Plugin Author pepe

    (@pputzer)

    13 MB does not sound right unless you are including database reads in that profile. Can your profiler print the accessed files? wp-Typography needs to read some JSON files on first run, but they are only a couple of hundred KB in their entirety.

    Also try profiling a subsequent run, not just the initial one (where everything is uncached). Subsequent runs should normally be faster, even without a persistent object cache (though you really should have one on any WP install).

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.