Thursday, March 29, 2012

Server Side Tags and Performance <% ... %>

Do server Side tags decrease performance ... i.e.

Does it make any difference from

<% response.write "A" %
<% response.write "B" %
<% response.write "C" %
<% response.write "D" %

t

<%
response.write "A"
response.write "B"
response.write "C"
response.write "D"
%

Cheer

Mik

--
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/No, there is no perf difference. ASP.NET is a different implementation that
ASP, so many of the tips and tricks used there are not applicable in ASP.NET.

-Brock
DevelopMentor
http://staff.develop.com/ballen

> Do server Side tags decrease performance ... i.e.
> Does it make any difference from:
> <% response.write "A" %>
> <% response.write "B" %>
> <% response.write "C" %>
> <% response.write "D" %>
> to
> <%
> response.write "A"
> response.write "B"
> response.write "C"
> response.write "D"
> %>
> Cheers
> Mike
> --
> Posted using Wimdows.net Newsgroups -
> http://www.wimdows.net/newsgroups/
Thanks ... so my next question is did it make any difference in classic ap then ?

--
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
Thanks ... so my next question is did it make any difference in classic asp then ?

--
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
> Thanks ... so my next question is did it make any difference in
> classic ap then ?

Heh, yes it did. The transition form static content to script blocks was
overhead. But, as I said before, ASP.NET has a different design, so they're
not affected by that issue.

-Brock
DevelopMentor
http://staff.develop.com/ballen

0 comments:

Post a Comment