<div dir="ltr"><div><div><div>Hi Chris<br><br></div>I would like to know whether HHVM is running at production environment with vtiger 6.4 and almost all features are used? how much % of performance it gives?  If there is a significant improvement can be achieved I would like to try it.<br><br></div>In my experience, nginx gives little bit more than apache, but again setup effort is needed.<br><br>@socialboostdk : If you really looking into performance, hardware is the final benchmark. From my experience, still vtiger struggles when database size increases simaltaniously. Which could not be resolved through front end optimization or backend optimization, but the hardware. Even if the database size is static, performance could be highly guaranteed by hardware only.<br><br></div><div class="gmail_extra">Other question  is, whether you need an overall performance, or to a specific section, such as summary view?  We did some solutions by replacing summary view with single page concept with lazy loading which provides a horizontal increase of page access time<br><br><br></div><div class="gmail_extra">Thanks<br></div><div class="gmail_extra">Sutharsan Jeganthan<br><br></div><div class="gmail_extra"><div class="gmail_quote">On Tue, Aug 2, 2016 at 6:27 PM, socialboostdk <span dir="ltr"><<a href="mailto:socialboostdk@gmail.com" target="_blank">socialboostdk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Alan and Stefan,<div><br></div><div>Thank you for very good input!<br><br></div><div>My takeaway is then that I will look at updating libs + implementing HHVM.</div><div><br></div><div>Alan, for the js libs - is this integrated in v6.5? And/or can i support your work here in a way where we can get it in future versions so we dont have to do redundant work?</div><div><br></div><div>Stefan - thank you very much, this sounds very interesting. I have a good sysadmin, so i will ask him to look at it. Do you have experience w. running VT on HHVM?<br><br></div><div>Thanks for great input!</div><div><br></div><div>Cheers,</div><div>Chris</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 August 2016 at 14:22, Stefan Warnat <span dir="ltr"><<a href="mailto:ich@stefanwarnat.de" target="_blank">ich@stefanwarnat.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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 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"><div><div>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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><span>
    <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><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>
      <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></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div></div>