This study presents a comprehensive comparative analysis of compiler efficiency, with a focus on energy consumption metrics across diverse domains of high-performance computing. By rigorously evaluating the performance of GCC, Clang, and ICC, the research aims to elucidate which compilers excel in specific areas, thereby providing valuable insights for the strategic selection of these tools based on the unique requirements of various computational tasks. The findings reveal that, among the total energy consumed during the computations, GCC accounted for 33.23%, Clang for 36.01%, and ICC for 30.76%. Notably, ICC demonstrated superior energy efficiency, being 7.43% more efficient than GCC, while Clang was 8.35% less efficient. These results underscore the critical importance of selecting the appropriate compiler to optimize energy efficiency in high-performance computing environments.