From: Ori Livneh Date: Wed, 28 Oct 2015 22:31:47 +0000 (-0700) Subject: wikimedia/running-stat 1.0.0 → 1.1.0 X-Git-Tag: 1.31.0-rc.0~9188 X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=commitdiff_plain;h=13a35dac582cf44ce8e2b6f3e9448b4b6c6f3874;p=lhc%2Fweb%2Fwiklou.git wikimedia/running-stat 1.0.0 → 1.1.0 * 9d7170d3ee: Rename RunningStat::push() to RunningStat::addObservation() * 09b6e53be9: Add PSquare class for online percentile estimation mediawiki/vendor change: I48dd51c9068 Change-Id: Ie6b19833c282e0f493c4d306807366a6671455a8 --- diff --git a/composer.json b/composer.json index cfff697447..4aa9b92c5c 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ "wikimedia/composer-merge-plugin": "1.2.1", "wikimedia/ip-set": "1.0.1", "wikimedia/relpath": "1.0.3", - "wikimedia/running-stat": "1.0.0", + "wikimedia/running-stat": "1.1.0", "wikimedia/utfnormal": "1.0.3", "wikimedia/wrappedstring": "2.0.0", "zordius/lightncandy": "0.21" diff --git a/includes/libs/Xhprof.php b/includes/libs/Xhprof.php index eaf15df6b5..d2cd0e4ea8 100644 --- a/includes/libs/Xhprof.php +++ b/includes/libs/Xhprof.php @@ -256,7 +256,7 @@ class Xhprof { } for ( $i = 0; $i < $stats['ct']; $i++ ) { - $this->inclusive[$child][$stat]->push( + $this->inclusive[$child][$stat]->addObservation( $value / $stats['ct'] ); }