4 ms·
Yep. You can benchmark your server with template rendering and then benchmark again just outputting the values you plug into the templates without rendering the
by tedd4u 10y ago
Yep. You can benchmark your server with template rendering and then benchmark again just outputting the values you plug into the templates without rendering them to get a sense of what it's costing you in terms of throughput, latency, etc. The advantage of node.js for serving websites I believe lies in the reusability of JS code on server and web browser, and that outweighs this issue. But you have to make sure your template rendering is efficient enough or be willing to spread the load across enough cores.