Parses through Chia plotter log files and plops all the juicy details into a CSV file!
See below for instructions if you prefer to build the application yourself. Otherwise feel free to simply download the binaries from the latest release.
- CMake
- C++ compiler (with support for C++17)
git clone https://github.com/Pengor/chia-log-analysis.git
cd chia-log-analysis
cmake -E make_directory ./build
cmake -S src -B build
cmake --build build --config Release
Navigate to the location of the built or downloaded binary and run one of the following options.
./chia-log-analysis
./chia-log-analysis -i <logfile directory> -o <output filename>
where <logfile directory>
is the path to your chia plotter logs and <output filename>
is the path to the .csv file you want to save (file extension should be specified by the user).
If the application does not run you may need to install the Microsoft Visual C++ Redistributable for Visual Studio 2019.
For each file it parses as much as it can find of the following (I imagine I'm not the only one who's had a plot interrupted):
- Log filename
- Temp dir 1
- Temp dir 2
- Plot ID
- Plot size
- Buffer size
- Buckets
- Threads
- Stripe size
- Start date
- Phase 1 duration
- Phase 1 CPU %
- Phase 2 duration
- Phase 2 CPU %
- Phase 3 duration
- Phase 3 CPU %
- Phase 4 duration
- Phase 4 CPU %
- Total time (sec)
- Total time
- Total CPU %
- Copy time
- Plot filename
I started doing some chia plotting and wanted to compare the performance of different settings used during plotting. I imagine there are other tools out there that do the same thing as this one, but it gave me an excuse to do some more C++ learning outside my typical ecosystem. If you find any bugs or want to see a feature added please feel free to open a new Issue.