Results 1 to 3 of 3

Thread: Timer Performance Issue

  1. #1

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Talking Timer Performance Issue

    Hai,


    in my project i am planning to keep a timer with 1000 to monitor for screen resolution change.
    so the timer monitors screen.width and screen.height every second for changes .

    Any performance issues ?

  2. #2
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: Timer Performance Issue

    You certainly don't need to do it 1000 times a second. Once in a second is already good enough.

  3. #3

    Thread Starter
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: Timer Performance Issue

    Quote Originally Posted by Merri
    You certainly don't need to do it 1000 times a second. Once in a second is already good enough.
    Hai Merri.

    In my quote 'a timer with 1000' mean i am going to use a time with the interval set to 1000 Milliseconds = 1 second not 1000 times.
    mis undestanding

    Thank you.

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