Results 1 to 4 of 4

Thread: Optimizing Code

  1. #1

    Thread Starter
    Fanatic Member JCScoobyRS's Avatar
    Join Date
    Oct 2002
    Location
    Some Mountain in Colorado
    Posts
    677

    Optimizing Code

    I have a huge project, roughly 15K lines of code, that I need to have optimized. Does anyone know of any tools that can analyze a VB Project and tell me when subs are being called? Thanks, Jeremy
    He who listens well, speaks well.

  2. #2

    Thread Starter
    Fanatic Member JCScoobyRS's Avatar
    Join Date
    Oct 2002
    Location
    Some Mountain in Colorado
    Posts
    677
    Sounds promising but there isn't much information about it. Have you used it? Thanks, Jeremy
    He who listens well, speaks well.

  3. #3

    Thread Starter
    Fanatic Member JCScoobyRS's Avatar
    Join Date
    Oct 2002
    Location
    Some Mountain in Colorado
    Posts
    677
    Ha ha haaaaa! I understand that. I just built this program a while back and commented it as well but I think that I'm calling this one function too many times and I wanted to know for sure. There are ways to just do find and see when but I didn't know if there was something that could help speed up the process. Thanks, Jeremy
    He who listens well, speaks well.

  4. #4
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    What you want is called a profiler.

    It tells you how much time is spent in each function/subroutine
    and how many times each was called.

    For modules that are called a lot, or require a long time to execute, you need to go in and tweak.

    All of the ones I have seen cost dollar$

    For instance: http://www.platformdev.com/vbprofiler.htm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width