SHARE
TWEET

AMPQ PHP Connection benchmark between Stream and Socket

canhnm Feb 21st, 2019 17 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. AMPQ PHP Connection benchmark between Stream and Socket
  2.  
  3. SOCKET RESULT
  4. Array
  5. (
  6.     [Clock time in seconds] => 0.0050151348114014
  7.     [Time taken in User Mode in seconds] => 0.0029990000000026
  8.     [Time taken in System Mode in seconds] => 0
  9.     [Total time taken in Kernel in seconds] => 0.0029990000000026
  10.     [Memory limit in MB] => 128
  11.     [Memory usage in MB] => 0.14071655273438
  12.     [Peak memory usage in MB] => 0.6275634765625
  13.     [Average server load in last minute] => 0.08
  14.     [Maximum resident shared size in KB] => 0
  15.     [Integral shared memory size] => 0
  16.     [Integral unshared data size] => 0
  17.     [Integral unshared stack size] =>
  18.     [Number of page reclaims] => 165
  19.     [Number of page faults] => 2
  20.     [Number of block input operations] => 24
  21.     [Number of block output operations] =>
  22.     [Number of messages sent] => 0
  23.     [Number of messages received] => 0
  24.     [Number of signals received] => 0
  25.     [Number of voluntary context switches] => 8
  26.     [Number of involuntary context switches] => 0
  27. )
  28. Array
  29. (
  30.     [Clock time in seconds] => 0.0035719871520996
  31.     [Time taken in User Mode in seconds] => 0.00099999999999767
  32.     [Time taken in System Mode in seconds] => 0.00099900000000019
  33.     [Total time taken in Kernel in seconds] => 0.0019989999999979
  34.     [Memory limit in MB] => 128
  35.     [Memory usage in MB] => 0.13986206054688
  36.     [Peak memory usage in MB] => 0.47874450683594
  37.     [Average server load in last minute] => 0.05
  38.     [Maximum resident shared size in KB] => 0
  39.     [Integral shared memory size] => 0
  40.     [Integral unshared data size] => 0
  41.     [Integral unshared stack size] =>
  42.     [Number of page reclaims] => 157
  43.     [Number of page faults] => 0
  44.     [Number of block input operations] => 0
  45.     [Number of block output operations] =>
  46.     [Number of messages sent] => 0
  47.     [Number of messages received] => 0
  48.     [Number of signals received] => 0
  49.     [Number of voluntary context switches] => 6
  50.     [Number of involuntary context switches] => 0
  51. )
  52.  
  53. Array
  54. (
  55.     [Clock time in seconds] => 0.0039360523223877
  56.     [Time taken in User Mode in seconds] => 0.0010000000000048
  57.     [Time taken in System Mode in seconds] => 0.00099999999999989
  58.     [Total time taken in Kernel in seconds] => 0.0020000000000047
  59.     [Memory limit in MB] => 128
  60.     [Memory usage in MB] => 0.14016723632812
  61.     [Peak memory usage in MB] => 0.47838592529297
  62.     [Average server load in last minute] => 0.05
  63.     [Maximum resident shared size in KB] => 0
  64.     [Integral shared memory size] => 0
  65.     [Integral unshared data size] => 0
  66.     [Integral unshared stack size] =>
  67.     [Number of page reclaims] => 170
  68.     [Number of page faults] => 0
  69.     [Number of block input operations] => 0
  70.     [Number of block output operations] =>
  71.     [Number of messages sent] => 0
  72.     [Number of messages received] => 0
  73.     [Number of signals received] => 0
  74.     [Number of voluntary context switches] => 6
  75.     [Number of involuntary context switches] => 0
  76. )
  77.  
  78. Array
  79. (
  80.     [Clock time in seconds] => 0.0035059452056885
  81.     [Time taken in User Mode in seconds] => 0.0020000000000024
  82.     [Time taken in System Mode in seconds] => 0
  83.     [Total time taken in Kernel in seconds] => 0.0020000000000024
  84.     [Memory limit in MB] => 128
  85.     [Memory usage in MB] => 0.14016723632812
  86.     [Peak memory usage in MB] => 0.47838592529297
  87.     [Average server load in last minute] => 0.04
  88.     [Maximum resident shared size in KB] => 0
  89.     [Integral shared memory size] => 0
  90.     [Integral unshared data size] => 0
  91.     [Integral unshared stack size] =>
  92.     [Number of page reclaims] => 49
  93.     [Number of page faults] => 0
  94.     [Number of block input operations] => 0
  95.     [Number of block output operations] =>
  96.     [Number of messages sent] => 0
  97.     [Number of messages received] => 0
  98.     [Number of signals received] => 0
  99.     [Number of voluntary context switches] => 6
  100.     [Number of involuntary context switches] => 1
  101. )
  102.  
  103. Array
  104. (
  105.     [Clock time in seconds] => 0.0037698745727539
  106.     [Time taken in User Mode in seconds] => 0.0020000000000024
  107.     [Time taken in System Mode in seconds] => 0
  108.     [Total time taken in Kernel in seconds] => 0.0020000000000024
  109.     [Memory limit in MB] => 128
  110.     [Memory usage in MB] => 0.14016723632812
  111.     [Peak memory usage in MB] => 0.47838592529297
  112.     [Average server load in last minute] => 0.04
  113.     [Maximum resident shared size in KB] => 0
  114.     [Integral shared memory size] => 0
  115.     [Integral unshared data size] => 0
  116.     [Integral unshared stack size] =>
  117.     [Number of page reclaims] => 170
  118.     [Number of page faults] => 0
  119.     [Number of block input operations] => 0
  120.     [Number of block output operations] =>
  121.     [Number of messages sent] => 0
  122.     [Number of messages received] => 0
  123.     [Number of signals received] => 0
  124.     [Number of voluntary context switches] => 6
  125.     [Number of involuntary context switches] => 1
  126. )
  127.  
  128. Array
  129. (
  130.     [Clock time in seconds] => 0.0041670799255371
  131.     [Time taken in User Mode in seconds] => 0.00099900000000019
  132.     [Time taken in System Mode in seconds] => 0.00099999999999989
  133.     [Total time taken in Kernel in seconds] => 0.0019990000000001
  134.     [Memory limit in MB] => 128
  135.     [Memory usage in MB] => 0.14016723632812
  136.     [Peak memory usage in MB] => 0.47838592529297
  137.     [Average server load in last minute] => 0.04
  138.     [Maximum resident shared size in KB] => 0
  139.     [Integral shared memory size] => 0
  140.     [Integral unshared data size] => 0
  141.     [Integral unshared stack size] =>
  142.     [Number of page reclaims] => 170
  143.     [Number of page faults] => 0
  144.     [Number of block input operations] => 0
  145.     [Number of block output operations] =>
  146.     [Number of messages sent] => 0
  147.     [Number of messages received] => 0
  148.     [Number of signals received] => 0
  149.     [Number of voluntary context switches] => 6
  150.     [Number of involuntary context switches] => 0
  151. )
  152.  
  153. Array
  154. (
  155.     [Clock time in seconds] => 0.0032870769500732
  156.     [Time taken in User Mode in seconds] => 0
  157.     [Time taken in System Mode in seconds] => 0.0010000000000003
  158.     [Total time taken in Kernel in seconds] => 0.0010000000000003
  159.     [Memory limit in MB] => 128
  160.     [Memory usage in MB] => 0.14016723632812
  161.     [Peak memory usage in MB] => 0.47838592529297
  162.     [Average server load in last minute] => 0.03
  163.     [Maximum resident shared size in KB] => 0
  164.     [Integral shared memory size] => 0
  165.     [Integral unshared data size] => 0
  166.     [Integral unshared stack size] =>
  167.     [Number of page reclaims] => 1
  168.     [Number of page faults] => 0
  169.     [Number of block input operations] => 0
  170.     [Number of block output operations] =>
  171.     [Number of messages sent] => 0
  172.     [Number of messages received] => 0
  173.     [Number of signals received] => 0
  174.     [Number of voluntary context switches] => 6
  175.     [Number of involuntary context switches] => 0
  176. )
  177.  
  178.  
  179.  
  180. STREAM RESULT
  181. Array
  182. (
  183.     [Clock time in seconds] => 0.043558120727539
  184.     [Time taken in User Mode in seconds] => 0.00099999999999767
  185.     [Time taken in System Mode in seconds] => 0.00099999999999945
  186.     [Total time taken in Kernel in seconds] => 0.0019999999999971
  187.     [Memory limit in MB] => 128
  188.     [Memory usage in MB] => 0.1483154296875
  189.     [Peak memory usage in MB] => 0.48719787597656
  190.     [Average server load in last minute] => 0.33
  191.     [Maximum resident shared size in KB] => 0
  192.     [Integral shared memory size] => 0
  193.     [Integral unshared data size] => 0
  194.     [Integral unshared stack size] =>
  195.     [Number of page reclaims] => 166
  196.     [Number of page faults] => 0
  197.     [Number of block input operations] => 0
  198.     [Number of block output operations] =>
  199.     [Number of messages sent] => 0
  200.     [Number of messages received] => 0
  201.     [Number of signals received] => 0
  202.     [Number of voluntary context switches] => 5
  203.     [Number of involuntary context switches] => 1
  204. )
  205.  
  206. Array
  207. (
  208.     [Clock time in seconds] => 0.043127059936523
  209.     [Time taken in User Mode in seconds] => 0
  210.     [Time taken in System Mode in seconds] => 0.0020000000000002
  211.     [Total time taken in Kernel in seconds] => 0.0020000000000002
  212.     [Memory limit in MB] => 128
  213.     [Memory usage in MB] => 0.14862060546875
  214.     [Peak memory usage in MB] => 0.48683929443359
  215.     [Average server load in last minute] => 0.12
  216.     [Maximum resident shared size in KB] => 0
  217.     [Integral shared memory size] => 0
  218.     [Integral unshared data size] => 0
  219.     [Integral unshared stack size] =>
  220.     [Number of page reclaims] => 32
  221.     [Number of page faults] => 0
  222.     [Number of block input operations] => 0
  223.     [Number of block output operations] =>
  224.     [Number of messages sent] => 0
  225.     [Number of messages received] => 0
  226.     [Number of signals received] => 0
  227.     [Number of voluntary context switches] => 5
  228.     [Number of involuntary context switches] => 0
  229. )
  230.  
  231. Array
  232. (
  233.     [Clock time in seconds] => 0.043152093887329
  234.     [Time taken in User Mode in seconds] => 0.0019999999999953
  235.     [Time taken in System Mode in seconds] => 0
  236.     [Total time taken in Kernel in seconds] => 0.0019999999999953
  237.     [Memory limit in MB] => 128
  238.     [Memory usage in MB] => 0.14862060546875
  239.     [Peak memory usage in MB] => 0.48683929443359
  240.     [Average server load in last minute] => 0.11
  241.     [Maximum resident shared size in KB] => 0
  242.     [Integral shared memory size] => 0
  243.     [Integral unshared data size] => 0
  244.     [Integral unshared stack size] =>
  245.     [Number of page reclaims] => 170
  246.     [Number of page faults] => 0
  247.     [Number of block input operations] => 0
  248.     [Number of block output operations] =>
  249.     [Number of messages sent] => 0
  250.     [Number of messages received] => 0
  251.     [Number of signals received] => 0
  252.     [Number of voluntary context switches] => 5
  253.     [Number of involuntary context switches] => 2
  254. )
  255.  
  256. Array
  257. (
  258.     [Clock time in seconds] => 0.042022943496704
  259.     [Time taken in User Mode in seconds] => 0.0010000000000048
  260.     [Time taken in System Mode in seconds] => 0
  261.     [Total time taken in Kernel in seconds] => 0.0010000000000048
  262.     [Memory limit in MB] => 128
  263.     [Memory usage in MB] => 0.14862060546875
  264.     [Peak memory usage in MB] => 0.48683929443359
  265.     [Average server load in last minute] => 0.1
  266.     [Maximum resident shared size in KB] => 0
  267.     [Integral shared memory size] => 0
  268.     [Integral unshared data size] => 0
  269.     [Integral unshared stack size] =>
  270.     [Number of page reclaims] => 156
  271.     [Number of page faults] => 0
  272.     [Number of block input operations] => 0
  273.     [Number of block output operations] =>
  274.     [Number of messages sent] => 0
  275.     [Number of messages received] => 0
  276.     [Number of signals received] => 0
  277.     [Number of voluntary context switches] => 5
  278.     [Number of involuntary context switches] => 0
  279. )
  280.  
  281. Array
  282. (
  283.     [Clock time in seconds] => 0.043434143066406
  284.     [Time taken in User Mode in seconds] => 0.0020000000000024
  285.     [Time taken in System Mode in seconds] => 0
  286.     [Total time taken in Kernel in seconds] => 0.0020000000000024
  287.     [Memory limit in MB] => 128
  288.     [Memory usage in MB] => 0.14862060546875
  289.     [Peak memory usage in MB] => 0.48683929443359
  290.     [Average server load in last minute] => 0.1
  291.     [Maximum resident shared size in KB] => 0
  292.     [Integral shared memory size] => 0
  293.     [Integral unshared data size] => 0
  294.     [Integral unshared stack size] =>
  295.     [Number of page reclaims] => 32
  296.     [Number of page faults] => 0
  297.     [Number of block input operations] => 0
  298.     [Number of block output operations] =>
  299.     [Number of messages sent] => 0
  300.     [Number of messages received] => 0
  301.     [Number of signals received] => 0
  302.     [Number of voluntary context switches] => 5
  303.     [Number of involuntary context switches] => 0
  304. )
  305.  
  306. Array
  307. (
  308.     [Clock time in seconds] => 0.043497085571289
  309.     [Time taken in User Mode in seconds] => 0.0020000000000024
  310.     [Time taken in System Mode in seconds] => 0.00099999999999989
  311.     [Total time taken in Kernel in seconds] => 0.0030000000000023
  312.     [Memory limit in MB] => 128
  313.     [Memory usage in MB] => 0.14862060546875
  314.     [Peak memory usage in MB] => 0.48683929443359
  315.     [Average server load in last minute] => 0.09
  316.     [Maximum resident shared size in KB] => 0
  317.     [Integral shared memory size] => 0
  318.     [Integral unshared data size] => 0
  319.     [Integral unshared stack size] =>
  320.     [Number of page reclaims] => 170
  321.     [Number of page faults] => 0
  322.     [Number of block input operations] => 0
  323.     [Number of block output operations] =>
  324.     [Number of messages sent] => 0
  325.     [Number of messages received] => 0
  326.     [Number of signals received] => 0
  327.     [Number of voluntary context switches] => 5
  328.     [Number of involuntary context switches] => 0
  329. )
  330.  
  331. Array
  332. (
  333.     [Clock time in seconds] => 0.042523145675659
  334.     [Time taken in User Mode in seconds] => 0
  335.     [Time taken in System Mode in seconds] => 0.0019989999999996
  336.     [Total time taken in Kernel in seconds] => 0.0019989999999996
  337.     [Memory limit in MB] => 128
  338.     [Memory usage in MB] => 0.14862060546875
  339.     [Peak memory usage in MB] => 0.48683929443359
  340.     [Average server load in last minute] => 0.08
  341.     [Maximum resident shared size in KB] => 0
  342.     [Integral shared memory size] => 0
  343.     [Integral unshared data size] => 0
  344.     [Integral unshared stack size] =>
  345.     [Number of page reclaims] => 170
  346.     [Number of page faults] => 0
  347.     [Number of block input operations] => 0
  348.     [Number of block output operations] =>
  349.     [Number of messages sent] => 0
  350.     [Number of messages received] => 0
  351.     [Number of signals received] => 0
  352.     [Number of voluntary context switches] => 5
  353.     [Number of involuntary context switches] => 2
  354. )
  355.  
  356. Array
  357. (
  358.     [Clock time in seconds] => 0.042700052261353
  359.     [Time taken in User Mode in seconds] => 0.0019989999999979
  360.     [Time taken in System Mode in seconds] => 0
  361.     [Total time taken in Kernel in seconds] => 0.0019989999999979
  362.     [Memory limit in MB] => 128
  363.     [Memory usage in MB] => 0.14862060546875
  364.     [Peak memory usage in MB] => 0.48683929443359
  365.     [Average server load in last minute] => 0.08
  366.     [Maximum resident shared size in KB] => 0
  367.     [Integral shared memory size] => 0
  368.     [Integral unshared data size] => 0
  369.     [Integral unshared stack size] =>
  370.     [Number of page reclaims] => 157
  371.     [Number of page faults] => 0
  372.     [Number of block input operations] => 0
  373.     [Number of block output operations] =>
  374.     [Number of messages sent] => 0
  375.     [Number of messages received] => 0
  376.     [Number of signals received] => 0
  377.     [Number of voluntary context switches] => 5
  378.     [Number of involuntary context switches] => 1
  379. )
  380.  
  381. Array
  382. (
  383.     [Clock time in seconds] => 0.044164180755615
  384.     [Time taken in User Mode in seconds] => 0.0019989999999979
  385.     [Time taken in System Mode in seconds] => 0
  386.     [Total time taken in Kernel in seconds] => 0.0019989999999979
  387.     [Memory limit in MB] => 128
  388.     [Memory usage in MB] => 0.14862060546875
  389.     [Peak memory usage in MB] => 0.48683929443359
  390.     [Average server load in last minute] => 0.08
  391.     [Maximum resident shared size in KB] => 0
  392.     [Integral shared memory size] => 0
  393.     [Integral unshared data size] => 0
  394.     [Integral unshared stack size] =>
  395.     [Number of page reclaims] => 170
  396.     [Number of page faults] => 0
  397.     [Number of block input operations] => 0
  398.     [Number of block output operations] =>
  399.     [Number of messages sent] => 0
  400.     [Number of messages received] => 0
  401.     [Number of signals received] => 0
  402.     [Number of voluntary context switches] => 5
  403.     [Number of involuntary context switches] => 1
  404. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top