[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] [mvasp] vs. [perl] - Large Speed Difference
****** message to minivend-users from Mike Heins <mikeh@minivend.com> ******
Quoting Lee Nelson (jld123@pobox.com):
> ****** message to minivend-users from Lee Nelson <jld123@pobox.com> ******
>
> Mike,
>
> I've been working with the mvasp/perl tag speed problem a little
> more and found that the [mvasp] tag is faster (3x) even with
> $Document->hot(0).
It isn't really faster. It just starts responding faster. The execution
time is identical.
Minivend builds a page and accumulates responses in a buffer. If you
don't use the send=1 attribute in a tag, it will accumulate the entire
page and send it all at once. If you use [mvasp] or cause MV to send
the response with send=1 in a Minivend tag, then it will start the
response before the entire page is run.
>
> And with hot(1), the text appears at the beginning of the page,
> just like it does with [perl].
>
> So it seems that with hot(0), [mvasp] is three times faster
> than [perl], while with hot(1), both forms are unusuable (for me)
> becuase they write to wrong part of the document.
>
You need to send the response of the previous part by specifying
the send=1 attribute. Then it will come out in the right order.
--
Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>
Research is what I'm doing when I don't know what I'm doing.
-- Wernher Von Braun
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list