/perf-sheet

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

Primary LanguageKotlin

🧑‍🎤 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