Detox: Detox 21.0.1-rc.0 is very slow

What happened?

I tested out the XCUITest based runner built into detox 21 today and the tests operate incredibly slowly compared to detox 20.

Is this expected to be the new norm with using XCUITest or do we suspect there are some performance issues with the new implementation that will be resolved?

What was the expected behaviour?

No response

Was it tested on latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version: React Native version: Has Fabric (React Native’s new rendering system) enabled: (yes/no) Node version: Device model: iOS version: macOS version: Xcode version: Test-runner (select one): jest / other

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste your device.log here!

More data, please!

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

Sounds like we can close this issue as the “slow” nature of the issue has been resolved. I’ll raise a new one later if I find the initial startup to keep crashing as more RC’s come out

@bkasten-rbi thanks for this valuable information! This is very weird(!), I will try to reproduce & investigate that on a clean RN app. There isn’t any caching operation by Detox (shouldn’t be, at least), might be something of Xcode that we are not aware of… 🤔 Anyway, I’m glad to hear that the typing speed is healthy with rc.3! 🙏🏼