[ic] mvasp vs loop-field

Kevin Walsh interchange-users@interchange.redhat.com
Fri Apr 12 02:06:09 2002


> 
> On the query/check_orders.html, I am trying to speed up the process a little
> bit.  I tried rewriting the MVASP code in there to standard IML.  I used the
> same basic structure found in /templates/components/promo to build this.
> Doing it this way made it even slower, with a huge amount of activity on the
> interchange and mysqld daemons.
> 
When people want to increase a page's speed and efficiency, they
rewrite the page using [perl] or [mvasp] etc., abandoning the IML
tags.  What you have done is the opposite and will result in the
page being slower to process, as you have found.

If the page is full of tags then the page parser will have lot of
work to do.  If the page has just a couple of tags and a blob of
Perl then the page parser will have almost nothing to do, resulting
in a huge performance gain.  After that, any further efficiency gains
will depend upon your Perl coding skills and how you structure, index
and access your database tables.

If it is speed you are after then I suggest that you abandon your
changes.  If you are just converting things to gain a better
understanding of the Interchange markup language then that's another
matter.

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/