Energy consumption of EC implementations in several programming languages.
Check perf power related events with:
perf list | grep -E "(energy|power)"