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