user control performance

Discussion in 'ASP .Net' started by Guest, Nov 6, 2007.

  1. Guest

    Guest Guest

    hey all,
    i abstracted some code from my code-behind into a user control and it seems
    to run a bit slower ( i notice the flicker of the postback is a tad longer).
    is this to be expected?
    what can i use to measure the time to see for sure one way is slower than
    the other?

    Note: There are database queries that run.

    Guest, Nov 6, 2007
    1. Advertisements

  2. Guest

    Guest Guest

    You can use the StopWatch class (System.Diagnostics).
    Guest, Nov 7, 2007
    1. Advertisements

  3. Guest

    rodchar Guest

    thank you for the help.
    rodchar, Nov 19, 2007
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.