Skip to content
Commits on Jun 7, 2012
  1. @joelpob

    Updated to the latest bits, fixed the cmake scripts so that hhvm comp…

    joelpob committed with Blank Ubuntu 64 bit
    …iles
    
    Summary: Added plumbing to the cmake scripts to enable hhvm builds.
    To build the VM, export USE_HHVM=1, and follow the wiki instructions
    to do a clean build.
Commits on Feb 25, 2011
  1. @lcastelli @scottmac

    Add looping service threads

    lcastelli committed with scottmac
    Summary:
    From Hyves:
    
    This adds a new kind of service threads that executes a document in a
    loop. It can be useful over normal service threads with an infinite
    loop coded in PHP in that memory is collected after each execution of
    the document. This allows running a task indefinitely and periodically
    recover objects that formed reference cycles by restarting the
    execution of the document.
    
    Since the document is executed cyclicly this kind of services is not
    fit for initialization tasks that must be executed before the webserver
    is started. Therefore they never block the startup of the webserver,
    and hphp_service_thread_started is a no-op.
    
    Also wait for service threads to be stopped before shutting down the server,
    thus allowing for graceful shutdown.
    
    Test Plan:
    make fast_tests
    makw slow_tests
    
    DiffCamp Revision: 215534
    Reviewed By: qixin
    Reviewers: hzhao, qixin, mwilliams
    CC: qixin, hphp-diffs@lists
    Revert Plan:
    Ok
Commits on Jul 23, 2010
  1. @haiping @scottmac

    added missing context->backupSession() and implemented RequestInitDoc…

    haiping committed with scottmac
    …ument
    
    Test Plan:
    I'll have to ask Drew to try this.
    
    DiffCamp Revision: 135088
    Reviewed By: dhoskins
    CC: hphp-diffs@lists, hzhao, dhoskins
    Tasks:
    #270086: Shutdown and error handler busted even with reqInitFunc
    #269904: Add Session warmup document to HPHP
    
    Revert Plan:
    OK
Commits on Jul 15, 2010
  1. @haiping @scottmac

    fixed where to back up shutdown functions

    haiping committed with scottmac
    Summary:
    This should be captured after reqInitFuncs are executed.
    
    Test Plan:
    we should see shutdown functions get restored to the list after initialization
    
    DiffCamp Revision: 133541
    Reviewed By: myang
    Commenters: dhoskins
    CC: hphp-diffs@lists, hzhao, dhoskins, myang
    Tasks:
    #263869: add InitDocument to xbox/rpc servers
    
    Revert Plan:
    OK
Commits on Feb 3, 2010
  1. speed up bind function for Variant

    myang committed
    Summary: The bind function for Variant is frequently called. For instance,
             every rvalAt returns a Variant and therefore involves a call to
             bind(). I did some manual inline to speed up bind especially when
             the type is primitive. For the following test case, the speed up is
             about 12.6%.
             <?php
             function foo($a) {
               for ($i = 0; $i < 10000; $i++) {
                 for ($j = 0; $j < 10000; $j++) {
                   $b = $a[0];
                 }
               }
             }
             $a = array(1, 2, 3);
             foo($a);
             
             time test.old
             
             real    0m3.990s
             user    0m3.948s
             sys     0m0.009s
             time test.new
             
             real    0m3.487s
             user    0m3.447s
             sys     0m0.008s
    
    Reviewed By: hzhao
    
    Test Plan: This change passed fast_tests and slow_tests
               Also made www and browsed the site
    
    Revert: OK
    
    DiffCamp Revision: 87941
    
    git-svn-id: http://svn.facebook.net/hiphop/fbomb/branches/hphp-dev/fbcode/hphp@21199 2248de34-8caa-4a3c-bc55-5e52d9d7b73a
Something went wrong with that request. Please try again.