7 ms·
What server can I use with HHVM to get the performance boost claimed in the video? Does it have a built in HTTP server? Are there any benchmarks proving that H
by cookerware 12y ago
What server can I use with HHVM to get the performance boost claimed in the video? Does it have a built in HTTP server?
Are there any benchmarks proving that HHVM improves performance?
Can I get a better performance than my current setup of Nginx + uWSGI + Flask ?
- jhgg 12y ago>Can I get a better performance than my current setup of Nginx + uWSGI + Flask ? That's really a bad question. It really all depends on where your bottleneck is. If you're benchmarking "Hello World" HHVM will be undoubtedly faster than Python/Flask. But if your bottleneck is in database/io, then you won't see much of a performance gain.
- thefreeman 12y agoIt says it works via FastCGI, so you should be able to use any web server you want. edit: Seeing as how Flask is Python, and HHVM is for PHP, you may have some trouble there.
- igouy 12y agoPresumably it depends on the task, on how much the previous code-tuning prevents hhvm jit, on how much the code is changed with type hints, ... Compare PHP fannkuch-redux with Hack Vector fannkuch-redux: http://benchmarksgame.alioth.debian.org/u64/program.php?test=fannkuchredux&lang=php&id=1 http://benchmarksgame.alioth.debian.org/u64/program.php?test... http://benchmarksgame.alioth.debian.org/u64/program.php?test=fannkuchredux&lang=hack&id=1 http://benchmarksgame.alioth.debian.org/u64/program.php?test...