performance updates and adjust compile commands