any benefit to having a smaller dll

  • Thread starter Thread starter xzzy
  • Start date Start date
X

xzzy

when a person accesses a website, can the speed of it loading into the
browser be improved by decreasing the size of the codebehind's DLL?

or, alternately, does adding referenced dlls have any effect on performance?

Thank you
 
Well, there are ways to test this. You can use the
HttpWebRequest/HttpWebResponse classes to see how fast the content is
delivered to you from your site when requesting the URL (how fast it renders
is a separate issue which is very browser specific).

Beyond that though, I would venture to guess that decreasing the size of
the code-behind dll isn't going to improve performance much, unless you are
talking about removing all irrelevant whitespace from the HTML parts of the
ASPX pages (that would help with transmission time, and parsing time, to a
degree). How much though might approach the "diminishing returns" area
though, depending on the page, of course.

I would also say that referenced dlls are not going to impact
performance really, as that is a one-time event (the loading of the dll) and
once completed, doesn't really impact further operations. Now, I suppose if
you referenced so many dlls that you are placing an exorbitant amount of
memory pressure on the OS, you could have a problem, but I don't recall ever
hearing about an instance like that.

So, bottom line? Decreasing the page size (removing irrelevant
whitespace) from a page will increase performance, reducing referenced dlls,
not really.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top