What is being measured?

Emerge's performance testing allows customization of both the scenario (what UI test is ran) and the measure (what critical section within that scenario is being measured).

This table summarizes what is measured in common situations.

Test annotationMeasure nameDescription
[No test]Time to initial displayBy default if no specific test class is known the scenario is app startup and the measure is time to initial display.
@EmergeStartupTestTime to initial displayYou can override the default startup UI test with a custom startup scenario. This allows testing multiple entry points for example. See more .
@EmergeTest()Duration of the test methodWhen defining a custom perf test, the default measure is the duration of the test.
@EmergeTest(spans = ["my_custom_span"])Duration of the my_custom_span spanBy explicitly setting a span to measure we can measure some smaller critical section in the app within the test duration. See more .