Last modified: 2010-05-15 16:03:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19485, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17485 - Usage of wgProfileLimit not implemented
Usage of wgProfileLimit not implemented
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
1.13.x
All Linux
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-13 19:54 UTC by Manfred Krüger
Modified: 2010-05-15 16:03 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Manfred Krüger 2009-02-13 19:54:06 UTC
While the documentation claims this parameter to be still in use, it is in fact not used by the software. It's fairly simple to implement it.

Example for Profiler.php:
global $wgProfileLimit;
if (((float) ($elapsed * 1000)) >= $wgProfileLimit) {
  $prof .= sprintf($format, substr($fname, 0, $nameWidth), $calls, (float) ($elapsed * 1000), (float) ($elapsed * 1000) / $calls, $percent, $memory, ($this->mMin[$fname] * 1000.0), ($this->mMax[$fname] * 1000.0), $this->mOverhead[$fname]);
}
Comment 1 Aaron Schulz 2009-02-24 09:50:35 UTC
Implemented in r47739

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links