« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 9 of about 9 for profiler (0.001 sec.)
LuaSandbox::enableProfiler — Enable the profiler. | PHP 8.3 12582
LuaSandbox::enableProfiler (PECL luasandbox >= 1.1.0) LuaSandbox::enableProfiler — Enable the profiler. 説明 public function LuaSandbox::enableProfiler ( float $period = 0.02 ): bool Enables the profiler. Profiling will begin when Lua code ... is entered. The profiler periodically samples the Lua environment to record the running function. Testing indicates that at least on Linux, setting ... but no performance problems. パラメータ period Sampling period in seconds. 戻り値 Returns a boolean indicating whether the profiler is enabled. 参考 LuaSandbox::disableProfiler() - Disable the profiler LuaSandbox::getProfilerFunctionReport() - Fetch prof ...
https://man.mtool.work/php/8.3/luasandbox.enableprofiler.html
LuaSandbox::disableProfiler — Disable the profiler | PHP 8.3 11018
LuaSandbox::disableProfiler (PECL luasandbox >= 1.1.0) LuaSandbox::disableProfiler — Disable the profiler 説明 public function LuaSandbox::disableProfiler (): void Disables the profiler. パラメータ この関数にはパラメータはありません。 戻り値 ... 値を返しません。 参考 LuaSandbox::enableProfiler() - Enable the profiler. LuaSandbox::getProfilerFunctionReport() - Fetch profiler data 他のマニュアルの関連ページ Python p ...
https://man.mtool.work/php/8.3/luasandbox.disableprofiler.html
LuaSandbox::getProfilerFunctionReport — Fetch profiler data | PHP 8.3 10030
LuaSandbox::getProfilerFunctionReport (PECL luasandbox >= 1.1.0) LuaSandbox::getProfilerFunctionReport — Fetch profiler data 説明 public function LuaSandbox::getProfilerFunctionReport ( int $units = LuaSandbox::SECONDS ): array For a profil ... ing instance previously started by LuaSandbox::enableProfiler() , get a report of the cost of each function. The measurement unit used for the cost is determined by the $units paramete ... f CPU time. LuaSandbox::PERCENT Measure percentage of CPU time. パラメータ units Measurement unit constant. 戻り値 Returns profiler measurements, sorted in descending order, as an associative array . Keys are the Lua function names (with source file and ... time, not CPU time. 例 例1 Profiling Lua code <?php // create a new LuaSandbox $sandbox = new LuaSandbox (); // Start the profiler $sandbox -> enableProfiler ( 0.01 ); // ... Execute some Lua code here ... // Fetch the profiler data $data = $sandbox -> ...
https://man.mtool.work/php/8.3/luasandbox.getprofilerfunctionreport.html
LuaSandbox | PHP 8.3 8897
LuaSandbox はじめに LuaSandbox is an extension for PHP 7 and PHP 8 to allow safely running untrusted Lua 5.1 code from within PHP. Differences compared to the Lua extension: LuaSandbox has support for time and memory limits. LuaSandbox prov ... x LuaSandbox — The LuaSandbox class LuaSandbox::callFunction — Call a function in a Lua global variable LuaSandbox::disableProfiler — Disable the profiler LuaSandbox::enableProfiler — Enable the profiler. LuaSandbox::getCPUUsage — Fetch the current CPU t ... of the Lua environment LuaSandbox::getPeakMemoryUsage — Fetch the peak memory usage of the Lua environment LuaSandbox::getProfilerFunctionReport — Fetch profiler data LuaSandbox::getVersionInfo — Return the versions of LuaSandbox and Lua LuaSandbox::loa ...
https://man.mtool.work/php/8.3/book.luasandbox.html
The LuaSandbox class | PHP 8.3 8897
The LuaSandbox class (PECL luasandbox >= 1.0.0) はじめに The LuaSandbox class creates a Lua environment and allows for execution of Lua code. クラス概要 class LuaSandbox { /* 定数 */ const int SAMPLES = 0 ; const int SECONDS = 1 ; const int ... T = 2 ; /* メソッド */ public function callFunction ( string $name , mixed ...$args ): array | bool public function disableProfiler (): void public function enableProfiler ( float $period = 0.02 ): bool public function getCPUUsage (): float public functi ... on getMemoryUsage (): int public function getPeakMemoryUsage (): int public function getProfilerFunctionReport ( int $units = LuaSandbox::SECONDS ): array public static function getVersionInfo (): array public function ... ion wrapPhpFunction ( callable $function ): LuaSandboxFunction } 定義済み定数 LuaSandbox::SAMPLES Used with LuaSandbox::getProfilerFunctionReport() to return timings in samples. LuaSandbox::SECONDS Used with LuaSandbox::getProfilerFunctionReport() to ret ...
https://man.mtool.work/php/8.3/class.luasandbox.html
MongoDB\Driver\BulkWriteCommand::__construct — Create a new BulkWriteCommand | ... 7531
MongoDB\Driver\BulkWriteCommand::__construct (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommand::__construct — Create a new BulkWriteCommand 説明 public function MongoDB\Driver\BulkWriteCommand::__construct ( ? array $options = null ) Constr ... mvent document level validation. false comment mixed An arbitrary comment to help trace the operation through the database profiler, currentOp output, and logs. let array | object Map of parameter names and values. Values must be constant or closed expre ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.construct.html
MongoDB\Driver\BulkWrite::__construct — Create a new BulkWrite | PHP 8.3 7405
MongoDB\Driver\BulkWrite::__construct (mongodb >=1.0.0) MongoDB\Driver\BulkWrite::__construct — Create a new BulkWrite 説明 public function MongoDB\Driver\BulkWrite::__construct ( ? array $options = null ) Constructs a new MongoDB\Driver\Bu ... pport document level validation. false comment mixed An arbitrary comment to help trace the operation through the database profiler, currentOp output, and logs. This option is available in MongoDB 4.4+ and will result in an exception at execution time if ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwrite.construct.html
MongoDB\Driver\Query::__construct — Create a new Query | PHP 8.3 7279
MongoDB\Driver\Query::__construct (mongodb >=1.0.0) MongoDB\Driver\Query::__construct — Create a new Query 説明 final public function MongoDB\Driver\Query::__construct ( array | object $filter , ? array $queryOptions = null ) Constructs a n ... specified for an older server version. comment mixed An arbitrary comment to help trace the operation through the database profiler, currentOp output, and logs. The comment can be any valid BSON type for MongoDB 4.4+. Earlier server versions only support ...
https://man.mtool.work/php/8.3/mongodb-driver-query.construct.html
コマンドラインオプション | PHP 8.3 7154
コマンドラインオプション PHP バイナリにより提供されるコマンドラインオプションの一覧は、 -h スイッチを指定して PHP を実行することにより いつでも調べることができます。 Usage: php [options] [-f] <file> [--] [args...] php [options] -r <code> [- ... php.ini file will be used -d foo[=bar] Define INI entry foo with value 'bar' -e Generate extended information for debugger/profiler -f <file> Parse and execute <file>. -h This help -i PHP information -l Syntax check only (lint) -m Show compiled in module ...
https://man.mtool.work/php/8.3/features.commandline.options.html
PREV 1 NEXT