From 13a35dac582cf44ce8e2b6f3e9448b4b6c6f3874 Mon Sep 17 00:00:00 2001 From: Ori Livneh Date: Wed, 28 Oct 2015 15:31:47 -0700 Subject: [PATCH] =?utf8?q?wikimedia/running-stat=201.0.0=20=E2=86=92=201.1?= =?utf8?q?.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * 9d7170d3ee: Rename RunningStat::push() to RunningStat::addObservation() * 09b6e53be9: Add PSquare class for online percentile estimation mediawiki/vendor change: I48dd51c9068 Change-Id: Ie6b19833c282e0f493c4d306807366a6671455a8 --- composer.json | 2 +- includes/libs/Xhprof.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'] ); } -- 2.20.1