Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Python consumes 38x more energy than Java. Parent comment
Similar for the PHP version.
python3 loop.py 3.450s time php loop.php 0.469s
There are no comments on this comment yet.
Similar for the PHP version.
So PHP is 7x faster for the longer loop.