From 266603c3a1c6b070b82bb9d6eb717c706f88efb1 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Wed, 16 Oct 2013 15:02:26 -0700 Subject: [PATCH] Rename performance.parsoid.domLoad to performance.domLoad See https://gerrit.wikimedia.org/r/#/c/89347/2/modules/ve-mw/init/ve.init.mw.Target.js for the reasoning. Ori offered to adjust the consumers for this. Change-Id: I835f0752ab3a4c8ad56eec437668423ba8b81c24 --- modules/ve-mw/init/ve.init.mw.Target.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ve-mw/init/ve.init.mw.Target.js b/modules/ve-mw/init/ve.init.mw.Target.js index 04e4037c18..bd5b27898c 100644 --- a/modules/ve-mw/init/ve.init.mw.Target.js +++ b/modules/ve-mw/init/ve.init.mw.Target.js @@ -543,7 +543,7 @@ ve.init.mw.Target.prototype.load = function () { } ); this.loading.done( function ( data, status, jqxhr ) { - ve.track( 'performance.parsoid.domLoad', { + ve.track( 'performance.domLoad', { 'bytes': $.byteLength( jqxhr.responseText ), 'duration': ve.now() - start, 'cacheHit': /hit/i.test( jqxhr.getResponseHeader( 'X-Cache' ) ), @@ -602,7 +602,7 @@ ve.init.mw.Target.prototype.save = function ( doc, options ) { } ); this.saving.done( function ( data, status, jqxhr ) { - ve.track( 'performance.parsoid.domSave', { + ve.track( 'performance.domSave', { 'bytes': $.byteLength( jqxhr.responseText ), 'duration': ve.now() - start, 'parsoid': jqxhr.getResponseHeader( 'X-Parsoid-Performance' )