[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] mvasp vs loop-field
At 07:04 AM 4/12/2002 +0100, you wrote:
> >
> > 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.
Further, make sure you don't miss this good reading on optimization:
http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=icfaq14.02
HTH,
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Dan Browning, Kavod Technologies <db@kavod.com>
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Q: How many Martians does it take to screw in a lightbulb?
A: One and a half.