On 2017-07-05 8:36 AM, Emilio Cobos Álvarez wrote:
On 07/05/2017 10:19 AM, Henri Sivonen wrote:
Do we have a gtest analog for local performance testing? That is,
something that makes it easy to microbenchmark libxul methods?

For CSS parsing there is a benchmark using MOZ_GTEST_BENCH[1].

 From grepping a bit seems like we also use it for testing stuff like
stripping whitespace on a string and such, is something like that what
you're looking for?

I'm not sure how easy it is (if possible at all) to test it on automation.

We do run these tests in automation, you can track the results in perfherder under the platform_microbench framework:

https://treeherder.mozilla.org/perf.html#/graphs?series=%5Bautoland,2aa20d42dc00d0a953f871f76056d8d217dc569e,1,6%5D&series=%5Bmozilla-inbound,2aa20d42dc00d0a953f871f76056d8d217dc569e,1,6%5D&selected=%5Bmozilla-inbound,2aa20d42dc00d0a953f871f76056d8d217dc569e,220714,290981367,6%5D

Last I heard product integrity was still figuring out how to sheriff these, you can follow some of the discussion here:

https://bugzilla.mozilla.org/show_bug.cgi?id=1369807

Will
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to