That's a serious question: I find it's often hard to tell what the bottleneck might be in these applications.
A python application can be anywhere from 10x to 50x slower than a native application. It also probably consumes at least 5x more memory.
Writing the same app in a compiled language is not even an optimization. It's just baseline work to ensure the code is not super slow.
Like, if you know you will sort a list of 10 items, choosing quicksort from the stdlib instead of bubble sort is not even an optimization. It's just common sense.
For concurrency (number of requests handled at once) instead of speed (end-to-end time of of a single request)
Why waste 10x more memory?
That sort of question is totally missing the point of why people use these languages, yeah? Languages in the web world don't tend to be chosen based on memory requirements (or speed as this suggests). Are there cases where you want to think about that? Sure.
People have plenty of reasons they'd want to use Python over Go, and vice versa.
"and vice versa" < Sorry, but no. There's no equivalency here.
The only reason I would ever use python is for small scripts that I only run on my machine and don't need to deploy anywhere.
Maybe 10 years ago Python was an attractive language because Java sucked and C# only runs on windows and there weren't many other good choices.
Now there are many expressive languages that are also statically typed and fast. D, Swift, Kotlin, etc.
Java is the only static language that features roughly equivalent levels of support ecosystem wide.
Good luck getting more than 100 calls per second out of the slow languages
Anyway, if you're locally looping for hundreds/thousands of queries to the database, instead of writing one query or calling a stored procedure, you're probably doing things wrong.
Java/Go with pretty much any database can manage about 50,000 individual queries+REST calls a second.
https://www.techempower.com/benchmarks/#section=data-r14&hw=... has some interesting benchmarks, apparently we should be using Dart or C++. Go does slightly better than JS but not a lot. Some newer Python frameworks aren't on there yet. None of them reach near 50k, but I don't know the details of the benchmark and they aren't all using the same DB. Certainly you can get crazy numbers depending on what you're testing. e.g. https://github.com/squeaky-pl/japronto gets one million requests per second through async and pipelining but those requests aren't doing much.
And you can make Python or even PHP fast if you try hard enough.
My argument is that the engineer overhead for Go and new breeds of Java frameworks are small enough that it makes no sense to use anything else if you're planning on scaling for real.
If you start with something else the cost of making a slow language fast and the multiples of extra machines you need costs far more than just using the faster language to start with
For the benchmark you posted, take a good look at the "realistic" vs "stripped" implementations and whether the test used an ORM. You'll quickly see that the realistic test applications with any kind of ORM are exclusively C#, Java, Go, and C++