Diesel engine performance is primarily determined by its efficiency in converting fuel into mechanical energy, which is influenced by factors such as combustion efficiency, air-fuel ratio, and engine design. Optimizing these factors can lead to improved power output, fuel economy, and reduced emissions.