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, and it worked.I moved the stuff which was previously enclosed in the [showif] context to a 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 file to 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 take about 0.12 seconds. While this is not quite as fast as the 0.083 seconds I recorded when I removed the entire [showif] context for a test, it is certainly a lot better than waiting 17 seconds every time someone hits that page!Sincerely, Ken Associated Messages, from the most recent to the oldest:

    
  1. 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, and it worked.I moved the stuff which was previously enclosed in the [showif] context to a 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 file to 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 take about 0.12 seconds. While this is not quite as fast as the 0.083 seconds I recorded when I removed the entire [showif] context for a test, it is certainly a lot better than waiting 17 seconds every time someone hits that page!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:

Overwriting databases bug in [closedatabase], garbage filescreated (1998) Cache Access Error (2000) Searching multiple fields from one form field (1997) Nested tags count question (1997) [showif],[refferer],[include] in errormessages.db (2002) Word search (1997) Sendmail truncation in Eudora Clients (1998) Nesting Search Within Tag? (1997) UPPERCASE (1997) problems with 2 tags (1997) Banners and sort of random display (1997) XML WebDNA (2006) Who's Security? (2000) Mac OS and 3.0.5b12 bug report (1999) Keep away (1997) pc (1997) shipping calcs (1998) vs (1997) upgrade problem with users.db (1998) WebCat editing, SiteGuard & SiteEdit (1997)