Android Question B4A v4.30 beta, time to execute code

Discussion in 'Android Questions' started by Laurent95, Feb 4, 2015.

  1. Laurent95

    Laurent95 Active Member Licensed User

  2. Erel

    Erel Administrator Staff Member Licensed User

  3. Laurent95

    Laurent95 Active Member Licensed User

    Thank you for your reply Erel.

    A question, that mean that's debug mode who introduce weird result on the elapsed time ?
    Or the code in beta version stays a bit more long sometime to execute the same code ?

    Edit: Indeed in Debug Rapid mode the code is really slow than in other modes, Debug Legacy or Release. I find more than 4 or 5 min in Debug Rapid and only between 3 or 4 sec in other modes for the same code.
    Thank you Erel, i have learn something today, we must test time to execute the code not in Debug Rapid :)
    (End of edit)

    I have never test it in release mode, indeed, because i work around the best way to optimize the time to do chart.

    And thank you so much for indicate the best way to calculate the elapsed time, great function.

    Regards, Laurent.

    P.S. : Wowwwww i'm lucky today the administrator in direct chat :)
     
    Last edited: Feb 4, 2015
  4. Erel

    Erel Administrator Staff Member Licensed User

    Try Tools - Clean project and remove all breakpoints. It will make the rapid debugger much faster.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice