add log messages to write total execution time
Speed up minimum filtering and display execution times