theapache64 / perf-sheet

A tool that analyzes your method trace file and generates the analysis in a spreadsheet

Home Page:https://github.com/theapache64/perf-boy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ§‘β€πŸŽ€ perf-sheet [WIP]

latestVersion Twitter: theapache64

A tool that analyzes your method trace file and generates the analysis in a spreadsheet

Finding performance regression in your app is tough. This tool helps you identify the most time-consuming tasks in your trace and shows how they were performing previously and how they are performing currently.

✨ Installation

sudo npm install -g perf-sheet 

πŸ“¦ Usage

perf-sheet before.trace after.trace

πŸš€ Demo

Usage

❯ ls
after.trace  before.trace
❯ perf-sheet before.trace [after.trace]
perf-sheet (0.0.2)
πŸ“– Parsing traces... (this step may take a while)
πŸ” Comparing traces...
πŸ“ Writing to spreadsheet (before-vs-after.xlsx)...
πŸ“œ Creating sheet: All Threads
πŸ“ Writing data to sheet: All Threads
πŸ“œ Creating sheet: Main Thread
πŸ“ Writing data to sheet: Main Thread
πŸ“œ Creating sheet: Background Threads
πŸ“ Writing data to sheet: Background Threads
πŸš€ Writing to file: before-vs-after.xlsx
Done βœ…
❯ ls
after.trace before-vs-after.xlsx before.trace

Output

image

✍️ Author

πŸ‘€ theapache64

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.
  2. Fork the Project
  3. Create your feature branch (git checkout -b feature/amazing-feature)
  4. Commit your changes (git commit -m 'Add some amazing feature')
  5. Push to the branch (git push origin feature/amazing-feature)
  6. Open a pull request

Please make sure to update tests as appropriate.

❀ Show your support

Give a ⭐️ if this project helped you!

Patron Link Buy Me A Coffee

β˜‘οΈ TODO

  • Single trace file analysis

πŸ“ License

Copyright Β© 2024 - 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 ❀

About

A tool that analyzes your method trace file and generates the analysis in a spreadsheet

https://github.com/theapache64/perf-boy


Languages

Language:Kotlin 100.0%