SqlDataSource performance difference because of syntax


Can anybody imform me about exact performance difference when putting code below in one line without linebreaks and spaces? I
 got hunderds of lines of SqlDataSource in a .aspx file and somehow got in my head moving on one line should slighlty improve performance.. Seems not if file got smarly pre-compiled/loaded. Please inform me.


    <asp:SqlDataSource ID="SDS_SelectInsertEmail" runat="server" ConnectionString="<%$ ConnectionStrings:Design_DealerdeskConnectionString %>"
        SelectCommandType="StoredProcedure" SelectCommand="proc_SelectInsertEmail">
            <asp:SessionParameter DefaultValue="0" Name="CompanyID" SessionField="CompanyID" />
            <asp:Parameter Name="from_email" />
            <asp:Parameter Name="bcc_email" ConvertEmptyStringToNull="False" />
            <asp:Parameter Name="email_body" />
            <asp:Parameter Name="email_subject" />
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi Floris,
It doesn't make any difference. Even more, the SqlDataSource is not rendered, so there is no html optimization you can make.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
florisbAuthor Commented:
Thankyou Juan!

hmm, sound like the answer. But surely the performance difference is always EXACTLY ZERO? For example the filesize does shrink a bit by putting on 1 line (less linebreaks); doens't this mean a few microseconds less to load (first run / after app.pool restart?) This would mean difference NOT zero.

Sorry, but ask for confirmation before I accept solution, cause a in general very well respected senior developer (ex-collega) very very strongly explained to me putting them on one line is 'better' (for performance).. ..I just want to be very very sure!!

Thank you.

It may be a difference in JavaScript: less size, less downloads, but not for a SqlServerData source control in ASP.NET.
What reasons did that colleague of your had to support his arguments?
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

florisbAuthor Commented:

reasoning college:
A huge .aspx files with 100+ lines of <SqlDataSource> is some Kb's smaller if you remove tabs/linebreaks, so putting statement 1 in line instead of many, saves little loading time / redering / (pre)compilling --> better performance.
florisbAuthor Commented:
(You already said) a SqlDataSource is not rendered.
I'm not sure SqlDataSource source is completely compiled / partly only precompiled. Depends on settings? I gotta (re)check this part of ASP.NET.. ..hope what you know can answer this for performance relation.
Has your collegue compared the code generated by a SqlDataSource written in separate lines against one written in just one line? A quick look with ILDASM will prove he is wrong.
Anyway, not wanting to enter a discussion here, so, I repeat what I've said in the first post: There is no difference.
florisbAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.