merge log into a single call to log
replace test_uni to bench_uni and test_opt2 to bench_opt