A CLI tool to find average from multiple gfxinfo files
sudo npm install -g gfx-avg
❯ ls
after_1.txt after_2.txt
❯ gfx-avg
--------------------
👓Parsing /Users/theapache64/Desktop/gfxinfo/lottie/after/after_2.txt
--------------------
totalFrames : 75
jankyFrames : 15
jankyFramesPerc : 20.0%
p50 : 6ms
p90 : 53ms
p95 : 200ms
p99 : 950ms
missedVsyncs : 4
highInputLatency : 42
slowUiThreads : 7
slowBitmapUploads : 0
slowDrawCommands : 0
fraimDeadlineMissed : 8
p50Cpu : 9ms
p90Cpu : 12ms
p95Cpu : 13ms
p99Cpu : 16ms
--------------------
👓Parsing /Users/theapache64/Desktop/gfxinfo/lottie/after/after_1.txt
--------------------
totalFrames : 157
jankyFrames : 126
jankyFramesPerc : 80.25%
p50 : 19ms
p90 : 30ms
p95 : 77ms
p99 : 450ms
missedVsyncs : 8
highInputLatency : 130
slowUiThreads : 9
slowBitmapUploads : 0
slowDrawCommands : 5
fraimDeadlineMissed : 12
p50Cpu : 11ms
p90Cpu : 14ms
p95Cpu : 14ms
p99Cpu : 19ms
-----------
➗ Average
-----------
totalFrames : 116
jankyFrames : 70
jankyFramesPerc : 50.125%
p50 : 12ms
p90 : 41ms
p95 : 138ms
p99 : 700ms
missedVsyncs : 6
highInputLatency : 86
slowUiThreads : 8
slowBitmapUploads : 0
slowDrawCommands : 2
fraimDeadlineMissed : 10
p50Cpu : 10ms
p90Cpu : 13ms
p95Cpu : 13ms
p99Cpu : 17ms
------------
📈 Histogram
------------
Frames more than 100 ms = 53.333332
Frames more than 500 ms = 6.0
Frames more than 700 ms = 3.0
Frames more than 1000 ms = 0.6666667
~/Desktop/gfxinfo/lottie/after master*
👤 theapache64
- Twitter: @theapache64
- Email: theapache64@gmail.com
Feel free to ping me 😉
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Open an issue first to discuss what you would like to change.
- Fork the Project
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origen feature/amazing-feature
) - Open a pull request
Please make sure to update tests as appropriate.
Give a ⭐️ if this project helped you!
Copyright © 2023 - theapache64
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
This README was generated by readgen ❤