https://github.com/theapache64/gfx-avg
A CLI tool to find average from multiple gfxinfo files
https://github.com/theapache64/gfx-avg
android-performance gfxinfo
Last synced: 7 months ago
JSON representation
A CLI tool to find average from multiple gfxinfo files
- Host: GitHub
- URL: https://github.com/theapache64/gfx-avg
- Owner: theapache64
- Created: 2023-01-25T19:21:06.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-06T10:11:21.000Z (over 1 year ago)
- Last Synced: 2024-10-30T04:50:25.899Z (over 1 year ago)
- Topics: android-performance, gfxinfo
- Language: Kotlin
- Homepage:
- Size: 179 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# π gfx-avg

> A CLI tool to find average from multiple gfxinfo files
### π» Install

```shell
sudo npm install -g gfx-avg
```
### β¨ Demo
```console
β― 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
frameDeadlineMissed : 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
frameDeadlineMissed : 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
frameDeadlineMissed : 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*
```
## βοΈ Author
π€ **theapache64**
* Twitter: @theapache64
* Email: theapache64@gmail.com
Feel free to ping me π
## π€ Contributing
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**.
1. Open an issue first to discuss what you would like to change.
1. Fork the Project
1. Create your feature branch (`git checkout -b feature/amazing-feature`)
1. Commit your changes (`git commit -m 'Add some amazing feature'`)
1. Push to the branch (`git push origin feature/amazing-feature`)
1. Open a pull request
Please make sure to update tests as appropriate.
## β€ Show your support
Give a βοΈ if this project helped you!
## π License
```
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](https://github.com/theapache64/readgen)_ β€