On 2014-04-08, 12:40 PM, William Lachance wrote:
So I know there was an effort to add performance counters to marionette
last year, which sounds similar to what you are talking about. I think
we eventually abandoned that effort, for what reason I don't know.
CC'ing mdas, who IIRC was working on it -- hopefully she can clarify.

The "performance counters" in marionette was really just a data store, and doesn't sound like it's what you're looking for. It worked by asking marionette to store data by calling addPerfData(testsuite, testname, someNumericValue), and it'd accumulate all relevant data and would export them when you call getPerfData. The marionette server didn't do anything smart other than adding and the storing data the user submitted.

Support for this was removed in https://bugzilla.mozilla.org/show_bug.cgi?id=865867 since there was no real use for them (it was originally a temporary measure) and it wasn't the appropriate place for metrics gathering. If you need to store data across webpages, marionette shouldn't be the tool for gathering that data since it's merely an automation driver.

--
Malini Das
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to