<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Poor performance for large form with lots of empty fields</title>
		<link>https://legacy.forums.gravityhelp.com/topic/poor-performance-for-large-form-with-lots-of-empty-fields</link>
		<description>Gravity Support Forums Topic: Poor performance for large form with lots of empty fields</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 18:02:20 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/poor-performance-for-large-form-with-lots-of-empty-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Poor performance for large form with lots of empty fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/poor-performance-for-large-form-with-lots-of-empty-fields#post-102658</link>
			<pubDate>Fri, 14 Dec 2012 10:14:25 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">102658@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We have your form.  This may not be something we can address right away but it has been added to the list.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webaware on "Poor performance for large form with lots of empty fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/poor-performance-for-large-form-with-lots-of-empty-fields#post-102382</link>
			<pubDate>Thu, 13 Dec 2012 18:13:03 +0000</pubDate>
			<dc:creator>webaware</dc:creator>
			<guid isPermaLink="false">102382@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks guys, the form is on the way.&#60;/p&#62;
&#60;p&#62;cheers,&#60;br /&#62;
Ross
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Poor performance for large form with lots of empty fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/poor-performance-for-large-form-with-lots-of-empty-fields#post-102368</link>
			<pubDate>Thu, 13 Dec 2012 16:52:30 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">102368@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for all the details and the troubleshooting. We will be looking at this and see what we can do to improve performance in that area.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Poor performance for large form with lots of empty fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/poor-performance-for-large-form-with-lots-of-empty-fields#post-102291</link>
			<pubDate>Thu, 13 Dec 2012 14:38:58 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">102291@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you please export this form and email it to me at &#60;a href=&#34;mailto:chris@rocketgenius.com&#34;&#62;chris@rocketgenius.com&#60;/a&#62; ?  I will bring this to the attention of the development team.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>webaware on "Poor performance for large form with lots of empty fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/poor-performance-for-large-form-with-lots-of-empty-fields#post-101793</link>
			<pubDate>Wed, 12 Dec 2012 17:59:57 +0000</pubDate>
			<dc:creator>webaware</dc:creator>
			<guid isPermaLink="false">101793@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've just done some troubleshooting work for a client who has a very large form (over 200 fields). It uses conditional logic to hide most fields and only reveal them upon certain input selections.&#60;/p&#62;
&#60;p&#62;When most of the fields are filled, the form processes to completion without problem in under 60 seconds (their script timeout). However, when most of the fields are empty, the form processing blows out to about 200 seconds (tested on my dev box, 3.6GHz 64-bit multicore with 16GB RAM). I've had to up their script timeout to 300 seconds to ensure they get their form submissions.&#60;/p&#62;
&#60;p&#62;What seems to be happening is that fields with values go through GFCommon::replace_variables() once, but fields with no values go through that loop four times. Thus, the more empty fields a form has, the worse its performance.&#60;/p&#62;
&#60;p&#62;Time for some rocket surgery! (e.g. check for empty before iterating over GFCommon::replace_variables() four time?)&#60;/p&#62;
&#60;p&#62;cheers,&#60;br /&#62;
Ross
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
