Results 1 to 2 of 2

Thread: How fast

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2001
    Posts
    158

    How fast

    Im writing something to run through a directory listing and I was wondering about performance, given the high number of iterations.

    Which is faster, an api call such as GetFileAttributesA or the VB command to get the file size?

    Anyone got any opinious?

    Everso

  2. #2
    Addicted Member Mandelbrot's Avatar
    Join Date
    Aug 2001
    Location
    Work, as usual!!
    Posts
    241
    You could time them yourself by pulling the value of timer then deducting it from the timer when the code has been run...


    t = Timer
    ...
    ...
    ...
    MsgBox Timer - t


    Try that...

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