PHP - Manual: LuaSandbox::getPeakMemoryUsage
2024-11-15
(PECL luasandbox >= 1.0.0)
LuaSandbox::getPeakMemoryUsage — Fetch the peak memory usage of the Lua environment
Fetches the peak memory usage of the Lua environment.
此函数没有参数。
Returns the peak memory usage in bytes.
官方地址:https://www.php.net/manual/en/luasandbox.getpeakmemoryusage.php