Commit graph

8 commits

Author SHA1 Message Date
Alexandre Emsenhuber
c293d90acb Remove usage of wfTime() in benchmarks and backupTextPassTest.php
Left the usage in GlobalTest.php since these are tests for
that function.

This function is only a wrapper to microtime( true ),
so it can easily be replaced and deprecated at some point.

Change-Id: I4f7c1f6705e10e2664f8e9be51d86ed5c8ff1e1c
2012-09-06 19:47:17 +02:00
Alexandre Emsenhuber
dd6613b6bd Added missing GPLv2 headers in maintenance scripts.
- made file/class documentation more consistent
- contains a fix for Id7a04ff8 (2a7478b)

Change-Id: I5264105ce1b6ad86a9840e05be1af99f5d6e252a
2012-09-04 18:48:17 +02:00
jeroendedauw
38c7f444e1 Use __DIR__ instead of dirname( __FILE__ )
We can now do this since we finally switched to PHP 5.3 for MW 1.20 and get rid of the silly dirname(__FILE__) stuff :)

Change-Id: Id9b2c9cd2e678197aa81c78adced5d1d31ff57b1
2012-08-27 21:45:00 +02:00
Antoine Musso
4e9e4dd912 Fix doc for maintenance/benchmarks 2012-02-08 16:49:53 +00:00
Alexandre Emsenhuber
9f5d06527c Part of bug 26280: added license headers to PHP files in maintenance 2010-12-16 19:15:12 +00:00
Alexandre Emsenhuber
e1d44a2f69 Doxygen fix: @defgroup require group name *and* a title 2010-11-12 17:41:40 +00:00
Antoine Musso
996771f475 Follow up r75446 : use a default for --count
This also fix a division per zero error since $count was 0 and used to calculate average time.
2010-10-26 20:16:19 +00:00
Antoine Musso
8341b018c8 Follow up r75429 : benchmark for wfIsWindows();
Also implements a basic class to build new benchmarks.
2010-10-26 17:21:35 +00:00