hunyadi-dev opened a new pull request #835:
URL: https://github.com/apache/nifi-minifi-cpp/pull/835


   **Decreases the avg. test execution time by 57% (from 326 seconds to 139 
seconds).**
   
   Measurements on test times of master (on MacBook Pro 16-inch, 2019):
   ```
   ➜ for repetition in {1..5}; do; time ninja test 2>&1 >> test_logs.txt; done;
   ninja test 2>&1 >> test_logs.txt  46.05s user 19.32s system 18% cpu 5:58.81 
total
   ninja test 2>&1 >> test_logs.txt  45.81s user 13.33s system 18% cpu 5:16.95 
total
   ninja test 2>&1 >> test_logs.txt  46.10s user 13.22s system 18% cpu 5:18.84 
total
   ninja test 2>&1 >> test_logs.txt  46.08s user 13.39s system 18% cpu 5:17.21 
total
   ninja test 2>&1 >> test_logs.txt  46.16s user 13.51s system 18% cpu 5:16.61 
total
   ➜ grep "Total Test time" test_logs.txt
   Total Test time (real) = 358.74 sec
   Total Test time (real) = 316.88 sec
   Total Test time (real) = 318.78 sec
   Total Test time (real) = 317.14 sec
   Total Test time (real) = 316.57 sec
   ```
   On the source branch of this PR:
   ```
   ➜ for repetition in {1..5}; do; time ninja test 2>&1 >> test_logs.txt; done;
   ninja test 2>&1 >> test_logs.txt  24.04s user 9.62s system 24% cpu 2:19.84 
total
   ninja test 2>&1 >> test_logs.txt  23.98s user 9.17s system 24% cpu 2:17.74 
total
   ninja test 2>&1 >> test_logs.txt  23.89s user 9.44s system 24% cpu 2:18.17 
total
   ninja test 2>&1 >> test_logs.txt  23.82s user 9.53s system 24% cpu 2:18.72 
total
   ninja test 2>&1 >> test_logs.txt  24.04s user 9.56s system 23% cpu 2:20.81 
total
   ➜ grep "Total Test time" test_logs.txt
   Total Test time (real) = 139.77 sec
   Total Test time (real) = 137.68 sec
   Total Test time (real) = 138.10 sec
   Total Test time (real) = 138.66 sec
   Total Test time (real) = 140.75 sec
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to