Combination has nothing to do. In fact, programming languages have nothing to do with performance in any meaningful way, because what influences them is how you use them, that is, how you program, no matter how well designed.
Factors that influence performance loss:
- Malformed backend code.
- Do not take advantage of cache.
- Unnecessary database connections.
- Frameworks that consume much of the server for small applications.
- Front-end code with a large number of resources or libraries and CSS that are usually used without need.
-
A server ( machine + network ) weak:
This is perhaps the most important item, usually a shared server is shared with numerous clients hosting your sites. In fact, most people use shared or VPS (which is also shared but has a smaller number of clients) to host their sites. These servers usually do not handle much traffic.
- The more users you access, the better the machine will need to be.
These are some points. In other words, it's no use hiring the best kind of server and you're not going to use everything, the issue is to plan and to design , if the site will have a lot of traffic then you'll have to hire a better server, from a VPS to a dedicated one.
In all cases the good thing is always to take advantage of the cache, this varies from language to language (back-end). An example I can cite you is to cache static files such as images, icons, js, css:
There is no path ready or magic formula to achieve the desired result, there are some steps like:
- On the front end just add js, css and images you will actually use.
- In the backend include classes you will actually use.
- Connect to a database or webservice only if you need it.
- Make good use of the cache.
- And the most important thing is to choose a server type based on the traffic you want to reach.
About the benchmark:
The benchmark is an operation performed to evaluate the performance of one software or to compare it with another. You will find many comparatives about backend languages, but this is only a factor and usually in the end result it will not always be valid, I mean there really are some languages that have a slightly better performance but that does not mean that you use it will make your pages really quick.
I will not post any benchmark results because most are based on ready-made frameworks or because the different languages generally operate on different types of servers ( operating system and http server >), what is important to understand is that what has the greatest influence are:
- Your choice of server to hire.
- How do you configure this server (if you have configure option).
- How do you program and develop.