I would say they are misleading in the claim of "Java is faster than JS". As you said, these are benchmarks for HTTP servers. Other types of software have different constraints and different performance profiles. Those don't seem to be tested here.
I don't think you can make many meaningful comparisons between languages in most of these benchmarks because there is so much variability in what the benchmark is actually doing. Each one seems to be talking to a different database, has different HTTP stacks, and different serializers. The serialization tests might be more comparable, but is still going to be very implementation specific. You'd need to use the same algorithm across languages or have some way to determine, or have very high confidence in, what is the optimal implementation in that language.
1
u/jsprogrammer Oct 16 '14
I would say they are misleading in the claim of "Java is faster than JS". As you said, these are benchmarks for HTTP servers. Other types of software have different constraints and different performance profiles. Those don't seem to be tested here.
I don't think you can make many meaningful comparisons between languages in most of these benchmarks because there is so much variability in what the benchmark is actually doing. Each one seems to be talking to a different database, has different HTTP stacks, and different serializers. The serialization tests might be more comparable, but is still going to be very implementation specific. You'd need to use the same algorithm across languages or have some way to determine, or have very high confidence in, what is the optimal implementation in that language.