Code optimization and retrieving host_ip/test_time from host-config.