public
Last active

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
Each test run on 5000 total instances.
 
**1 classes:**
 
spl_object_hash() time: 0.0025229454040527
spl_object_hash_var_dump() time: 0.042062997817993
spl_object_hash_references() time: 1.8909840583801
 
**2 classes:**
 
spl_object_hash() time: 0.0025219917297363
spl_object_hash_var_dump() time: 0.042673826217651
spl_object_hash_references() time: 0.96944999694824
 
**5 classes:**
 
spl_object_hash() time: 0.002547025680542
spl_object_hash_var_dump() time: 0.04230809211731
spl_object_hash_references() time: 0.42495894432068
 
**10 classes:**
 
spl_object_hash() time: 0.0025100708007812
spl_object_hash_var_dump() time: 0.042142152786255
spl_object_hash_references() time: 0.23865604400635
 
**100 classes:**
 
spl_object_hash() time: 0.0028560161590576
spl_object_hash_var_dump() time: 0.035429000854492
spl_object_hash_references() time: 0.090394973754883
 
**500 classes:**
 
spl_object_hash() time: 0.002586841583252
spl_object_hash_var_dump() time: 0.034965038299561
spl_object_hash_references() time: 0.15115904808044
 
**1000 classes:**
 
spl_object_hash() time: 0.0024881362915039
spl_object_hash_var_dump() time: 0.035768032073975
spl_object_hash_references() time: 0.33815884590149

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.