> Joseph P. Discenza wrote, on Thu, 7 Dec 2000 14:37:28 -0500
> 
> Mike Trinder wrote, on Thursday, December 07, 2000 12:39
> [snip]
> :     It looks like there is an overhead to starting an .asp
> :     page with a mixture of VB and Perl, and that something
> :     is only allowing one such page to be interpreted at a
> :     time... replacing the single page with, say, ten pages
> :     and calling them round-robin style does not cause the
> :     images to load any differently.
> 
> There's a tremendous performance hit involved in loading two languages
> in a single asp page.
[snip]
> Also, there's no guarantee of
> order of evaluation of the two languages.
> 
> If at all possible, scrap any VBscript on the pages where you need
> Perl (and vice-versa). 

        OK - so I rewrote all the VB code in Perl (which turned
        out to be much easier than I thought!) and I can't tell
        the difference between the speed of the mixed VB/Perl
        and the Perl only version - they respond in exactly the
        same way, except that the Perl only version measures its
        execution time correctly (probably because the previous
        code was not executing in a predictable sequence).

        So - looks like the problem is somewhere else, probably
        in the response time to the FetchURL() method of
        Win32::Internet...

-- 
Mike Trinder                        [EMAIL PROTECTED]
Miller Hare Limited                   http://www.millerhare.com
4 Fitzroy Square                    telephone: +44 20.7691.1000
London W1T 5HQ                      facsimile: +44 20.7691.1001  
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to