This commit is contained in:
rusefi 2018-12-27 19:20:15 -05:00
parent 72fe39ff32
commit 6dbe0b6cde
3 changed files with 30 additions and 0 deletions

1
firmware/.gitignore vendored
View File

@ -1 +1,2 @@
openocd
benchmark.txt

14
misc/benchmark.bat Normal file
View File

@ -0,0 +1,14 @@
rem
rem This script is measuring compilation time
rem
cd ../firmware
echo Are you using the right -jX value? > benchmark.txt
echo Startting clean for benchmark outside of time measurment >> benchmark.txt
make clean
echo Startting build for benchmark >> benchmark.txt
powershell get-date -format "{dd-MMM-yyyy HH:mm:ss}" >> benchmark.txt
make -j4
echo Done! >> benchmark.txt
powershell get-date -format "{dd-MMM-yyyy HH:mm:ss}" >> benchmark.txt

View File

@ -0,0 +1,15 @@
*** Dell e6410 laptop ~2011: 8GB RAM, 1TB SSD, Win7, gcc 7.3.1 - -j4 option to run 4 cores
~3 minutes
Startting build for benchmark
27-Dec-2018 19:15:12
Done!
27-Dec-2018 19:18:08
*** Dell e6410 laptop ~2011: 8GB RAM, 1TB SSD, Win7, gcc 7.3.1 - looks like single core mode?
~6 minutes
Startting build for benchmark
27-Dec-2018 19:06:48
Done!
27-Dec-2018 19:12:51