<div dir="ltr">Hy Chris,<div><br></div><div>This is not worth the time. (Sorry) ;)  Because you will spend too much time during analyse of code, which you could invest better, because there already is a stable solution available.</div><div>Ask your Sysadmin to install HHVM from Facebook. This is much fast then you reach with micro optimization. </div><div><br></div><div><b>AND</b>: This have a much better compatibility then PHP7 and also runs with Vtiger < 6.5 with all modules. Only the setup is a little bit tricky. But you get a 100% faster result within 2-3 hours.</div><div><br></div><div>And I would use 6.5, because like Alan means, it is faster, too and also runs with HHVM. I would not use PHP7 with Vtiger, now, because you will get too much headaches.</div><div><br></div><div>Stefan</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><span style="font-size:x-small">--</span><span style="font-size:x-small">--</span><br><b><font size="1">Freelancer@Webdevelopment</font></b><br><br><font size="1">Web: </font><a href="http://www.stefanwarnat.de" style="font-size:x-small" target="_blank">http://www.stefanwarnat.de</a><br><font size="1">Xing: </font><a href="https://www.xing.com/profile/Stefan_Warnat2" style="font-size:x-small" target="_blank">https://www.xing.com/profile/Stefan_Warnat2</a><br><font size="1">LinkedIn: </font><a href="http://www.linkedin.com/pub/stefan-warnat/6/827/820" style="font-size:x-small" target="_blank">http://www.linkedin.com/pub/stefan-warnat/6/827/820</a><br><font size="1">eMail: <a href="mailto:kontakt@stefanwarnat.de" target="_blank">kontakt@stefanwarnat.de</a></font><br><br></div></div></div>
<br><div class="gmail_quote">On Tue, Aug 2, 2016 at 1:45 PM, Alan Bell <span dir="ltr"><<a href="mailto:alan.bell@libertus.co.uk" target="_blank">alan.bell@libertus.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><span class="">
    <br>
    <div>On 02/08/16 12:34, socialboostdk wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi there,
        <div><br>
        </div>
        <div>I'm looking at optimizing the performance of VT, ie.
          compressing CSS, JS, etc. It also seems that there are many
          "overwrites" in the CSS where the same class is styled many
          times, etc.<br>
        </div>
      </div>
    </blockquote></span>
    JS/CSS optimising is mostly client side performance, which frankly
    on modern PCs (or even phones/tables) isn't much of an issue. I
    think the main thing to do with that is to get all the javascript
    libraries updated from their sources and organised in a way that
    means they can be easily updated in future. This is something I
    started in this branch
<a href="http://code.vtiger.com/alanbell/vtigercrm/tree/javascript_library_updates" target="_blank">http://code.vtiger.com/alanbell/vtigercrm/tree/javascript_library_updates</a><span class=""><br>
    <blockquote type="cite">
      <div dir="ltr">
        <div><br>
        </div>
        <div>Does anyone have any experience in doing this and/or
          pointers on where to begin to get "maximum efficiency" for
          optimal effort?</div>
      </div>
    </blockquote></span>
    yes, use xdebug to profile what it does in PHP, where it spends it's
    time rendering a page (prior to 6.5 it was pretty much all in the
    to_html function, 6.5 is a lot faster)<br>
    You can make sure apache caches things correctly, and use an opcode
    cache for a general php performance boost.<br>
    If you spot any improvements please contribute them to
    <a href="http://code.vtiger.com" target="_blank">code.vtiger.com</a><br>
    <blockquote type="cite"><span class="">
      <div dir="ltr">
        <div><br>
        </div>
        <div>Ie. perhaps some obvious optimisations, etc.</div>
        <div><br>
        </div>
        <div>Thanks :)</div>
        <div><br>
        </div>
        <div>Best,</div>
        <div>Chris</div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </span><pre>_______________________________________________
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>