Follow-Up to: Removing [showif] makes a big difference in speed
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10780
interpreted = N
texte = Hi Grant,I had an idea for speeding things up a little on subsequent searches, andit worked.I moved the stuff which was previously enclosed in the [showif] context toa separate file and I used [include] to include that stuff in the [showif]context. My thinking was that if WebCat2 would have to open a separate fileto get at this stuff, maybe it wouldn't open that file when the [showif]evaluates to 'false'.Apparently I was right about this, because my subsequent searches now takeabout 0.12 seconds. While this is not quite as fast as the 0.083 seconds Irecorded when I removed the entire [showif] context for a test, it iscertainly a lot better than waiting 17 seconds every time someone hits thatpage!Sincerely,Ken
Associated Messages, from the most recent to the oldest:
|
- Follow-Up to: Removing [showif] makes a big difference in speed (Kenneth Grome 1997)
|
Hi Grant,I had an idea for speeding things up a little on subsequent searches, andit worked.I moved the stuff which was previously enclosed in the
[showif] context toa separate file and I used
[include] to include that stuff in the
[showif]context. My thinking was that if WebCat2 would have to open a separate fileto get at this stuff, maybe it wouldn't open that file when the
[showif]evaluates to 'false'.Apparently I was right about this, because my subsequent searches now takeabout 0.12 seconds. While this is not quite as fast as the 0.083 seconds Irecorded when I removed the entire
[showif] context for a test, it iscertainly a lot better than waiting 17 seconds every time someone hits thatpage!Sincerely,Ken
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[ConvertChars] problem (1997)
[WebDNA] Trigger stops executing (2017)
Multiple catalog databases and showcart (1997)
Webdna websites (2004)
WebStar Secure on other machine (1997)
ErrorMessages.db (2004)
More questions about serial number dishing (1997)
possible, WebCat2.0 and checkboxes-restated (1997)
WebCatalog/Mac 2.1b2 - PIXO (1997)
Something wrong with this list? (2006)
How true is this? (1999)
anyone moved to v6? (2004)
2.0 Info (1997)
taxRate and grandTotal calculation is not showing up on my ThankYou.tpl (2000)
[SendMail] from a form? (1998)
carriage returns in data (1997)
NTbeta18 corrupted? (1997)
Trouble with formula.db + more explanation (1997)
WebDNA install - linux (2002)
New Web Site Developers Database (1996)