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.

[1]:
http://searchfox.org/mozilla-central/source/layout/style/test/gtest/StyloParsingBench.cpp

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to