getThroughputRate() public static method

获取当前访问的吞吐率情况
public static getThroughputRate ( ) : string
return string
Example #1
0
 /**
  * @covers think\Debug::getThroughputRate
  * @todo Implement testGetThroughputRate().
  */
 public function testGetThroughputRate()
 {
     usleep(100000);
     $throughputRate = \think\Debug::getThroughputRate();
     $this->assertLessThan(10, $throughputRate);
 }