speed and optimization


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: speed and optimization

  1. #1
    Bart Ross Guest

    speed and optimization

    Hi all,

    I am creating a .NET application with VB and connecting to a SQL Server 7.0
    database. I am currently using a low end development box with 333mhz
    processor and 192mb ram. I am finding that the pages are loading extremely
    slow and I am curious if it is related to the server system or something I
    may be doing in the code.

    i.e. I am creating a sqlreader to the db to bring back a few records and
    generating a list of those using a data bound listbox. It just seems to take
    forever, closer to 30 seconds when I trace it. I am currently running the
    app in debug mode but even when I put it to release it is not very quick.

    As a newbie to .net I am frustrated and disappointed so any help would be
    greatly appreciated. If possible please respond to me as well.

    Thanks in advance.
    bart ross
    bross@pivotpointsw.com




  2. #2
    Garland Frye Guest

    Re: speed and optimization

    Your machine is too small to expect any kind of performance from these
    tools.


    "Bart Ross" <bross_NO_SPAM@lakeland.net> wrote in message
    news:3b0a7da6@news.devx.com...
    > Hi all,
    >
    > I am creating a .NET application with VB and connecting to a SQL Server

    7.0
    > database. I am currently using a low end development box with 333mhz
    > processor and 192mb ram. I am finding that the pages are loading extremely
    > slow and I am curious if it is related to the server system or something I
    > may be doing in the code.
    >
    > i.e. I am creating a sqlreader to the db to bring back a few records and
    > generating a list of those using a data bound listbox. It just seems to

    take
    > forever, closer to 30 seconds when I trace it. I am currently running the
    > app in debug mode but even when I put it to release it is not very quick.
    >
    > As a newbie to .net I am frustrated and disappointed so any help would be
    > greatly appreciated. If possible please respond to me as well.
    >
    > Thanks in advance.
    > bart ross
    > bross@pivotpointsw.com
    >
    >
    >




  3. #3
    KraKheD Guest

    Re: speed and optimization


    "Bart Ross" <bross_NO_SPAM@lakeland.net> wrote:
    >Hi all,
    >
    >I am creating a .NET application with VB and connecting to a SQL Server

    7.0
    >database. I am currently using a low end development box with 333mhz
    >processor and 192mb ram. I am finding that the pages are loading extremely
    >slow and I am curious if it is related to the server system or something

    I
    >may be doing in the code.
    >
    >i.e. I am creating a sqlreader to the db to bring back a few records and
    >generating a list of those using a data bound listbox. It just seems to

    take
    >forever, closer to 30 seconds when I trace it. I am currently running the
    >app in debug mode but even when I put it to release it is not very quick.
    >
    >As a newbie to .net I am frustrated and disappointed so any help would be
    >greatly appreciated. If possible please respond to me as well.
    >
    >Thanks in advance.
    >bart ross
    >bross@pivotpointsw.com
    >
    >
    >

    Bart,

    The problem you are experiencing SEEMS as though it is related to the VS.Net
    environment issue, and not your code. Have you attempted to run your application
    as a compiled executable?

    The VS.Net environment is VERY memory & CPU intensive in its current state.
    If it takes a long time to load the environment, that's usually a good indicator
    that you'll experience performance issues n the debug environment. (Microsoft
    states that the MINIMUM specs are PII 450. They recommend a PIII. FYI this
    information is on their website AND in the readme file on the .Net installation
    CD's)

    Having said that, if you compile the application, and STILL see performances
    problems, then it could be a code issue, in which case, I would post some
    sample code for us to look at.

    Hope that helps.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center