TinyDancer | android library for displaying fps | Performance Testing library
kandi X-RAY | TinyDancer Summary
kandi X-RAY | TinyDancer Summary
An android library for displaying fps from the choreographer and percentage of time with two or more frames dropped
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Add view to the window .
- Called when a frame is finished .
- Calculate metrics .
- Show the TinyCoach .
- from interface Activity
- Called when the mouse is pressed
- Called when a touch event is detected .
- Setup the radio group
- Draws the dividers in a RecyclerView .
- Initialize the divider
TinyDancer Key Features
TinyDancer Examples and Code Snippets
Community Discussions
Trending Discussions on TinyDancer
QUESTION
I am using the HelloAR sample application. The sample uses ARCore. I am running the sample on an Android Samsung Galaxy Tab S5e.
How can I measure the framerate (Frames Per Second) of my AR app? I need to graph the data, so ideally the output of whatever approach I take will give me some sort of CSV e.g. time,fps
I've tried looking at GameBench, but that requires me to fill out a form and wait for a "specialist" to get back to me... I have also tried dumpsys with framestats, but that only outputs 2 frames and very seldom updates. I have also tried some projects from GitHub (TinyDancer), but that does not work.
Any ideas?
...ANSWER
Answered 2020-Sep-03 at 14:58For measuring frame rate in ARCore 1.19 you can use getTimestamp()
public method of a public class Frame
. At 60 fps, every frame lasts approximately 16.67 ms (or ~16670000 ns).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install TinyDancer
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page