Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
==14730== Memcheck, a memory error detector
==14730== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==14730== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info
==14730== Command: /home/daniel/Code/hhvm/hphp/hhvm/hhvm -ms -vServer.Type=fastcgi -vServer.Port=9000 -vEval.EnableZendSorting=1 -vEval.Jit=0
==14730==
==14730== Invalid read of size 8
==14730== at 0xE49D06: folly::fbstring_core<char>::fbstring_core(char const*, unsigned long) (FBString.h:399)
==14730== by 0xF3820A: void HPHP::IniSetting::Bind<std::string>(HPHP::Extension const*, HPHP::IniSetting::Mode, std::string const&, char const*, HPHP::IniSetting::SetAndGet<std::string>, std::string*) (FBString.h:1021)
==14730== by 0xF6CA5F: HPHP::RequestInjectionData::threadInit() (ini-setting.h:242)
==14730== by 0xEDE6EB: HPHP::ThreadInfo::ThreadInfo() (request-injection-data.h:61)
==15734== Memcheck, a memory error detector
==15734== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==15734== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info
==15734== Command: /home/daniel/Code/hhvm/hphp/hhvm/hhvm -ms -vServer.Type=fastcgi -vServer.Port=9000 -vEval.EnableZendSorting=1 -vEval.Jit=0
==15734==
==15734== Invalid read of size 8
==15734== at 0xE49D06: folly::fbstring_core<char>::fbstring_core(char const*, unsigned long) (FBString.h:399)
==15734== by 0xF3820A: void HPHP::IniSetting::Bind<std::string>(HPHP::Extension const*, HPHP::IniSetting::Mode, std::string const&, char const*, HPHP::IniSetting::SetAndGet<std::string>, std::string*) (FBString.h:1021)
==15734== by 0xF6CA5F: HPHP::RequestInjectionData::threadInit() (ini-setting.h:242)
==15734== by 0xEDE6EB: HPHP::ThreadInfo::ThreadInfo() (request-injection-data.h:61)
==15734== 8 bytes in 1 blocks are definitely lost in loss record 88 of 1,153
==15734== 8 bytes in 1 blocks are definitely lost in loss record 89 of 1,153
==15734== 8 bytes in 1 blocks are definitely lost in loss record 90 of 1,153
==15734== 8 bytes in 1 blocks are definitely lost in loss record 91 of 1,153
==15734== 8 bytes in 1 blocks are definitely lost in loss record 92 of 1,153
==15734== 8 bytes in 1 blocks are definitely lost in loss record 93 of 1,153
==15734== 8 bytes in 1 blocks are definitely lost in loss record 94 of 1,153
==15734== 8 bytes in 1 blocks are definitely lost in loss record 95 of 1,153
==15734== 8 bytes in 1 blocks are definitely lost in loss record 96 of 1,153
==15734== 8 bytes in 1 blocks are definitely lost in loss record 97 of 1,153
==17564== 8 bytes in 1 blocks are definitely lost in loss record 87 of 1,175
==17564== 8 bytes in 1 blocks are definitely lost in loss record 88 of 1,175
==17564== 8 bytes in 1 blocks are definitely lost in loss record 89 of 1,175
==17564== 8 bytes in 1 blocks are definitely lost in loss record 90 of 1,175
==17564== 8 bytes in 1 blocks are definitely lost in loss record 91 of 1,175
==17564== 8 bytes in 1 blocks are definitely lost in loss record 92 of 1,175
==17564== 8 bytes in 1 blocks are definitely lost in loss record 93 of 1,175
==17564== 8 bytes in 1 blocks are definitely lost in loss record 94 of 1,175
==17564== 8 bytes in 1 blocks are definitely lost in loss record 95 of 1,175
==17564== 8 bytes in 1 blocks are definitely lost in loss record 96 of 1,175
==19024== 8 bytes in 1 blocks are definitely lost in loss record 87 of 1,153
==19024== 8 bytes in 1 blocks are definitely lost in loss record 88 of 1,153
==19024== 8 bytes in 1 blocks are definitely lost in loss record 89 of 1,153
==19024== 8 bytes in 1 blocks are definitely lost in loss record 90 of 1,153
==19024== 8 bytes in 1 blocks are definitely lost in loss record 91 of 1,153
==19024== 8 bytes in 1 blocks are definitely lost in loss record 92 of 1,153
==19024== 8 bytes in 1 blocks are definitely lost in loss record 93 of 1,153
==19024== 8 bytes in 1 blocks are definitely lost in loss record 94 of 1,153
==19024== 8 bytes in 1 blocks are definitely lost in loss record 95 of 1,153
==19024== 8 bytes in 1 blocks are definitely lost in loss record 96 of 1,153
==20393== 8 bytes in 1 blocks are definitely lost in loss record 88 of 1,153
==20393== 8 bytes in 1 blocks are definitely lost in loss record 89 of 1,153
==20393== 8 bytes in 1 blocks are definitely lost in loss record 90 of 1,153
==20393== 8 bytes in 1 blocks are definitely lost in loss record 91 of 1,153
==20393== 8 bytes in 1 blocks are definitely lost in loss record 92 of 1,153
==20393== 8 bytes in 1 blocks are definitely lost in loss record 93 of 1,153
==20393== 8 bytes in 1 blocks are definitely lost in loss record 94 of 1,153
==20393== 8 bytes in 1 blocks are definitely lost in loss record 95 of 1,153
==20393== 8 bytes in 1 blocks are definitely lost in loss record 96 of 1,153
==20393== 8 bytes in 1 blocks are definitely lost in loss record 97 of 1,153
HHVM:
** SIEGE 3.0.5
** Preparing 200 concurrent users for battle.
The server is now under siege...
Lifting the server siege... done.
Transactions: 8248 hits
Availability: 100.00 %
Elapsed time: 59.28 secs
Data transferred: 45.00 MB
@danslo
danslo / phpng-hhvm-sugarcrm.md
Last active October 4, 2020 09:28
PHPNG vs. HHVM - SugarCRM

Zeev Suraski (Zend CTO) recently released some benchmarking figures comparing HHVM to PHPNG (and PHP 5.6). I was particularly interested in the results for SugarCRM. They show a 14-28% speed benefit in favor of PHPNG. I decided to investigate, and ran some basic benchmarks with siege.

It came up with the following results:

Trans/sec
PHPNG 24.12
HHVM 20.74
Diff. 16.29%
diff --git hphp/runtime/base/runtime-option.cpp hphp/runtime/base/runtime-option.cpp
index 96c143c..43748b0 100644
--- hphp/runtime/base/runtime-option.cpp
+++ hphp/runtime/base/runtime-option.cpp
@@ -333,6 +333,7 @@ bool RuntimeOption::EnableObjDestructCall = true;
bool RuntimeOption::EnableEmitSwitch = true;
bool RuntimeOption::EnableEmitterStats = true;
bool RuntimeOption::CheckSymLink = true;
+bool RuntimeOption::StrictSignaling = false;
int RuntimeOption::MaxUserFunctionId = (2 * 65536);
require 'formula'
class Binutilsfb < Formula
homepage 'http://www.gnu.org/software/binutils/binutils.html'
url 'http://ftpmirror.gnu.org/binutils/binutils-2.24.tar.gz'
mirror 'http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz'
sha1 '1b2bc33003f4997d38fadaa276c1f0321329ec56'
revision 1
keg_only "We're just a patched version."