first argument of time/compare* is log file name
debug of my_idamax
add test