This is probably one for Actinic but if anyone has any thoughts they would be appreciated.
Having got very (very) bored waiting ages for Actinic to upload/create snapshots I thought I would have a play and see if I could find out exactly what it was that was causing it to do a go slow. So, here’s what I found:-
First of all I am running a Dell Laptop, Dual Core, 1.83ghz with 2gb RAM with around 1600 products in the shop (section per product). Databases compacted from within Actinic and Access.
Most pages have various block statements to control formatting etc and there are a fair few PHP routines controlling various other bit and bobs too. The most obvious area I could think of that might be slowing things down was the Actinic generated navigation. So, as a test I removed this completely with the following results:-
Page generation time with Actinic Navigation – 15 minutes (only tested up to and not including the final page checking)
Page generation time without Actinic Navigation – 4 Minutes (again only tested up to and not including final page checking)
Snapshot time with Actinic Navigation – 18 minutes
Snapshot time without Actinic Navigation – 4 minutes
I also tried removing various other blocks/PHP stuff and found it made little or no difference to upload/snapshot times. The times without the navigation are almost exactly the same as it took with V7.
So, I guess the first question is is there a problem with the code I am using? (see below)
If there is not is there any way to improve the performance of this part of the generation?
And, more curiously, why would it take almost 5 times longer to do a snapshot with the navigation in place when presumably all Actinic is doing is gathering up files etc?
Let the head scratching begin!
Having got very (very) bored waiting ages for Actinic to upload/create snapshots I thought I would have a play and see if I could find out exactly what it was that was causing it to do a go slow. So, here’s what I found:-
First of all I am running a Dell Laptop, Dual Core, 1.83ghz with 2gb RAM with around 1600 products in the shop (section per product). Databases compacted from within Actinic and Access.
Most pages have various block statements to control formatting etc and there are a fair few PHP routines controlling various other bit and bobs too. The most obvious area I could think of that might be slowing things down was the Actinic generated navigation. So, as a test I removed this completely with the following results:-
Page generation time with Actinic Navigation – 15 minutes (only tested up to and not including the final page checking)
Page generation time without Actinic Navigation – 4 Minutes (again only tested up to and not including final page checking)
Snapshot time with Actinic Navigation – 18 minutes
Snapshot time without Actinic Navigation – 4 minutes
I also tried removing various other blocks/PHP stuff and found it made little or no difference to upload/snapshot times. The times without the navigation are almost exactly the same as it took with V7.
So, I guess the first question is is there a problem with the code I am using? (see below)
If there is not is there any way to improve the performance of this part of the generation?
And, more curiously, why would it take almost 5 times longer to do a snapshot with the navigation in place when presumably all Actinic is doing is gathering up files etc?
Code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Section%27%20AND%20%3cactinic%3avariable%20name%3d%22PageTitle%22%20%2f%3e%20%21%3d%20%27Sports%20Warehouse%20Home%27" ><actinic:block type="EntireSectionList"><actinic:block if="%3cactinic%3avariable%20name%3d%22SectionNumber%22%20%2f%3e%20%3d%3d%20%3cactinic%3avariable%20name%3d%22MainSection%3a%3aSectionNumber%22%20%2f%3e" ><actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3d%3d%201" ><h2><a href="<actinic:variable name="SectionPageName"/>" title="<actinic:variable name="SectionName" />"<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionNumber%22%20%2f%3e%20%3d%3d%20%27Outdoor%20Equipment%27">class="outdoorheaderlink" </actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22SectionNumber%22%20%2f%3e%20%3d%3d%20%27Sports%20Equipment%27" >class="sportsheaderlink" </actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22SectionNumber%22%20%2f%3e%20%3d%3d%20%27Printing%20%26%20Embroidery%27">class="uniformheaderlink" </actinic:block>><actinic:variable name='SectionName'/></a></h2></actinic:block><actinic:block 22="" 3d="" 3e="" 2f="" 3cactinic="" 22sectionlevel="" 3avariable="" 20name="" 202h3="" if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3d%3d%202" 20="" ><h3><a href="<actinic:variable name="SectionPageName"/>" title="<actinic:variable name="SectionName" />"<actinic:block if="%3cactinic%3avariable%20name%3d%22DEPARTMENT%5fTRACKER%5fIMAGE%22%20%2f%3e%20%3d%3d%20%3cactinic%3avariable%20name%3d%22MainSection%3a%3aDEPARTMENT%5fTRACKER%5fIMAGE%22%20%2f%3e" >class="activelink" </actinic:block>><actinic:block if="%3cactinic%3avariable%20name%3d%22DEPARTMENT%5fTRACKER%5fIMAGE%22%20%2f%3e%20%3d%3d%20%3cactinic%3avariable%20name%3d%22MainSection%3a%3aDEPARTMENT%5fTRACKER%5fIMAGE%22%20%2f%3e" ><img src="arrowrightgreynav.gif" height="7" width="9" border="0" alt="" /></actinic:block><actinic:variable name='SectionName'/></a></h3></actinic:block></actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22SectionNumber%22%20%2f%3e%20%21%3d%20%3cactinic%3avariable%20name%3d%22MainSection%3a%3aSectionNumber%22%20%2f%3e" ><actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3d%3d%201" ><h2><a href="<actinic:variable name="SectionPageName"/>" title="<actinic:variable name="SectionName" />"<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionNumber%22%20%2f%3e%20%3d%3d%20%27Outdoor%20Equipment%27">class="outdoorheaderlink" </actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22SectionNumber%22%20%2f%3e%20%3d%3d%20%27Sports%20Equipment%27" >class="sportsheaderlink" </actinic:block><actinic:block if="%3cactinic%3avariable%20name%3d%22SectionNumber%22%20%2f%3e%20%3d%3d%20%27Printing%20%26%20Embroidery%27">class="uniformheaderlink" </actinic:block>><actinic:variable name='SectionName'/></a></h2></actinic:block></actinic:block></actinic:block></actinic:block>
Comment