HHVM vs PHP 7

steitieh

Well-known member
Joined
Apr 23, 2014
Messages
113
Points
18
Does any one hear about HHVM? should I use PHP HHVM+Apache2 or PHP7+Apache2 or HHVM+NginX or PHP7+Nginx for the best performance?
Which one is the best choice? and why?
 

eva2000

Well-known member
Registered
Joined
Jan 14, 2017
Messages
173
Points
28
From benchmarks I've done, stick with PHP 7 performance better than HHVM is some web apps and very close in other web apps but doesn't suffer from memory leaks or memory increase usage like HHVM.
 

Harry P

Well-known member
Registered
Joined
Feb 3, 2015
Messages
447
Points
28
Harry P
Can you share benchmarks?
It is possible to have benchmarks for my websites?
I would like to know how my website's performance works
 

eva2000

Well-known member
Registered
Joined
Jan 14, 2017
Messages
173
Points
28
forum rules don't allow linking to my own site unfortunately :(
 

Alex Thompson

Well-known member
Moderator
Joined
Jun 6, 2013
Messages
297
Points
28
Alex Thompson
The benchmarks are not related to links unless they have more factors you explained there and you don't want to reexplain.
You can share your links on the forum if they are useful to questions or members, Moderators will know when someone is self promotion or sharing an useful link which helps others.

Our forum rules didn't allow linking to their own site because if we allow that, more members will promoting their websites or services in discussion threads and everything will become uncontrollable.
 

eva2000

Well-known member
Registered
Joined
Jan 14, 2017
Messages
173
Points
28
eva2000
Hi Alex thanks for the clarification of the rules. I did pm @fwh and he did said sharing links to my sites i.e. ovh benchmarks links posted on ovh related thread would be self promotion - hence why i haven't posted any.

@Harry P here's the link to the benchmarks I did way back, further posts down the thread (from post #5 onwards) are load/stress test benchmarks too and as you can see, PHP 7 is the better of the options than HHVM https://community.centminmod.com/threads/centmin-mod-lemp-hhvm-fastcgi-mode-on-centos-7.5440/ :)

PHP 7.0.x is as fast as HHVM. PHP 7.1.x is faster than PHP 7.0.x and if you know how to you can also implement Intel Profile Guided Optimisations (PGO) at GCC compiler level when compiling PHP 7 for an extra 3-17% boost https://software.intel.com/en-us/blogs/2015/10/09/pgo-let-it-go-php. Centmin Mod LEMP stack latest 123.09beta01 optionally supports PGO for PHP 7 installs :D
 

gagah

Well-known member
Registered
Joined
Jan 21, 2017
Messages
86
Points
0
gagah
You seem to be an expert on server side stuff so any clue on what's causing those memory leaks? I last tried HHVM+nginx on a centos 7 server 3 months ago and faced those exact issue. Setting memory_limit helps but mariadb still crash from time to time when i was using HHVM, so i revert back to php-fpm+nginx. Thought it was just an issue of misconfigurations but it seems that it's a known issue? :think:
 

JohnnyK

Member
Registered
Joined
Mar 15, 2017
Messages
59
Points
0
The biggest difference when looking at PHP 7 vs HHVM is how both interpret PHP code, PHP 7 directly interprets and executes code on the server using the standard PHP interpreter, which is free for everyone.
The generated HTML code is transmitted to the client and then displayed to the web user.
HHVM, converts PHP code into Hip Hop bytecode before translating it into machine code and executing it
 

Sean101

Member
Registered
Joined
Apr 15, 2016
Messages
60
Points
8
Never tried HHVM and I am using PHP 7 on my hosting server for all websites.
It is already integrated into components that must have on a server and didn't see any reasons why need to move to HHVM instead.
By the way, PHP 7 has better performance than previous versions.
 
Latest Threads
Replies
1
Views
19
Replies
0
Views
171
Replies
1
Views
37
Replies
2
Views
80

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top