Manual:$wgResourceLoaderEnableJSProfiler/ja

From Linux Web Expert

Revision as of 05:55, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> ResourceLoader</translate>: $wgResourceLoaderEnableJSProfiler
When enabled, execution of JavaScript modules is profiled client-side.
<translate> Introduced in version:</translate>1.32.0 (Gerrit change 444773; git #7f3c102a)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(真偽値)
<translate> Default value:</translate>false

詳細

Instrumentation happens in mw.loader.profiler. Use mw.inspect('time') from the browser console to display the data.