Instrumented tests run on real or virtual Android devices. They do not affect your app's runtime performance for users because they run separately from the app's production code.
However, running many or complex instrumented tests can consume significant CPU and memory on the test device or emulator, which may slow down test execution and drain battery faster during testing.
Instrumented tests do not impact your app's frame rate or memory usage in production.