php or javascript for client performance?
<p>What's quicker?</p>

<p>I'm using php simply to return json (restapi call) to a client and then using javascript to render the data.</p>

<p>Or</p>

<p>Would it be quicker to render the data using php instead and replace client-side javascript for this?</p>

<p>I'm looking for the best performance for the client browser. By using using php to send data, I'm thinking it would be quick to handle multiple requests for data.</p>

<p>Are there any good stress testing tools you would recommend to simulate this?</p>

<p>Thanks</p>
