<SCRIPT SRC=> versus <!-- #include

Results 1 to 3 of 3

Thread: <SCRIPT SRC=> versus <!-- #include

  1. #1
    Chris Klanac Guest

    Default <SCRIPT SRC=> versus <!-- #include

    I was wondering if anyone knows the performance difference between using &#060;SCRIPT SRC="somefile" RUNAT=SERVER&#062; and &#060;!--#include virtual="/somefile.asp"--&#062; to import in commonly used functions/subs???<BR><BR>thanks<BR>-ck

  2. #2
    Join Date
    Dec 1969

    Default RE: <SCRIPT SRC=> versus <!-- #incl

    try it out - write a little benchmarker and see if you can spot a difference. on modern hardware I don&#039;t think you&#039;ll see a change, and any gain or loss will depend on how they&#039;re used<BR><BR>btw there&#039;s a third option (and others) - Windows Script Components - which offer some performance advantages if used correctly.<BR><BR><BR>j<BR>http://rtfm.atrax.co.uk/

  3. #3
    Chris Klanac Guest

    Default RE: <SCRIPT SRC=> versus <!-- #incl

    I did write a little jscript which tested the performance but it showed little difference with a single user. I&#039;m more worried about it a peak load. I guess I&#039;ll need to actually do some load-testing... right after I write up my documentation :-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts