Hacker News new | ask | show | jobs
by silentbicycle 6458 days ago
The white bars are time, the black bars are memory usage. Ergo, in most cases, PHP is running 2-5x faster than Ruby, but using about 3x as much memory.
2 comments

Memory usage can probably be attributed to how PHP manages memory (hint: It /almost/ doesn't).
Right.

Outlying results have to do with that whatever that specific benchmark concerns, e.g. thread startup cost.

> e.g. thread startup cost

There are 2 which require threads, there's no PHP program for either of those so why do you think "thread startup cost" has any relevance?

I wasn't stating which the outliers test, I was saying how to read the graph.
If that was your intention it's strange that as an example you suggested something that is not shown on the graph.
> in most cases

In 9/15 cases PHP is >= 2x faster In 6/15 cases PHP uses less memory

Thanks for being so pedantic for us. We understand how valuable your time is, and it's quite flattering that you chose to spend it on catching and correcting microscopic ambiguities in our discussions that might have otherwise gone undiscovered.
Thanks for offering help to rlachenal.

As the webpage states "a white bar shows which language implementation had the better time, and a black bar shows which had the better memory use".

More flattery - in context "most" is not ambiguous, it's vague.

As you are saying how to read the graph, a specific example will be more helpful than a vague summary.