Measure how long it takes to draw a View ?

Toley

Active Member
Licensed User
Longtime User
Is there a way to measure how long it takes to draw a view on a device ? Let say I have a panel that I want to update very fast, how can I know how fast I can refresh it ?
 

Djembefola

Active Member
Licensed User
Longtime User
B4X:
Dim StartTime, DurationInMilliseconds as long

StartTime = Datetime.Now

TimeConsumingProcedure 'replace with your procedure

DurationInMilliseconds = DateTime.Now - StartTime
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…