Mainly Wordpress advices

qTranslate qtrans_use recursion optimization

This is another post (first post) about qTranslate performance optimization. This plugin really slows down the blog I’m administrating, so it keeps taunting me to optimize it’s execution. The already optimized (translation of options disabled) plugin adds about 150ms to rendering time. This enhancement saves about 60ms.

Webgrind analysis, before I made the changes, looks like this:

The changed “function qtrans_use” has some extra code added. The idea is, not to call recursions, when it’s not needed:

Sorry for digging up this old post,
but the author of qtranslate just sent a request for help via the latest change on his plugin, and you look like having good suggestions for him!

Perhaps you may send him this suggestion (again), or even work with him if you have some time
Also note the “mqtranslate” initiative – they’re forking qtranslate even if they aren’t editing much of the original code yet.

I was working on that. But then the new family member came and now the work is postponed.
I’ll retain the joined comments.
Then make a copy of the blog (I use 2 languages) using multisite and remove the secondary language in the first blog and first language in the second blog.