expose performenace API + more impprovements