Skip to content

Instantly share code, notes, and snippets.

@mcuadros
Created March 19, 2014 01:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcuadros/9633632 to your computer and use it in GitHub Desktop.
Save mcuadros/9633632 to your computer and use it in GitHub Desktop.
Doctrine Benchmarks @ HHVM + Mongofill

Doctrine @ MongoDB native driver 1.4.5 - PHP 5.5.9-1+sury.org~precise+1

Doctrine\Benchmarks\InsertingEvent
    Method Name             Iterations    Average Time      Ops/second
    ---------------------  ------------  --------------    -------------
    simpleDocument       : [400       ] [0.0039921021461] [250.49459]
    complexDocument      : [400       ] [0.0344979619980] [28.98722]
    complexNestedDocument: [400       ] [0.5473231738806] [1.82707]


Doctrine\Benchmarks\UpdatingEvent
    Method Name      Iterations    Average Time      Ops/second
    --------------  ------------  --------------    -------------
    simpleDocument: [400       ] [0.0197568762302] [50.61529]

Doctrine @ Mongofill 1dc49f0 - HipHop VM 2.5.0-dev+2014.03.18

Doctrine\Benchmarks\InsertingEvent
    Method Name             Iterations    Average Time      Ops/second
    ---------------------  ------------  --------------    -------------
    simpleDocument       : [400       ] [0.0026895928846] [371.80349]
    complexDocument      : [400       ] [0.0114059187944] [87.67378]
    complexNestedDocument: [400       ] [0.1173586335106] [8.52089]


Doctrine\Benchmarks\UpdatingEvent
    Method Name      Iterations    Average Time      Ops/second
    --------------  ------------  --------------    -------------
    simpleDocument: [400       ] [0.0068092633465] [146.85877]

Server info:

Dell R210 II

  • CPU: 1x Intel® Xeon® E3 1230 v2
  • Memory: 16 GB DDR3 ECC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment