Good day,
When using a translation plugin such as WPML there can be quite some overhead on gform_tooltip. See https://trello-attachments.s3.amazonaws.com/4f215e75640b8380712c04c9/515b56167b831c1549002966/bfb31dbebfe357cd95bac62989435044/upload_2013-06-19_at_12.15.32_pm.png
Since the function calls an array of strings which all the translations are fetched every function call.
If the variable $gf_tooltips is declared outside the scope of the function as a global variable and then referenced inside the function the translations are only fetched once.
Here is a link to an SVN patch against version 1.7.5
https://trello-attachments.s3.amazonaws.com/4f215e75640b8380712c04c9/515b56167b831c1549002966/68ca5ae9c21f5b91b2e5c6c1b01aadd1/tooltips.php.patch
I'm sure there are also other ways this could be made more efficient by making this into a singleton or such, but this seemed like the simplest way to accomplish the biggest speed improvement.
Thank you,