MarathonLabs / marathon

Cross-platform test runner

Home Page:https://docs.marathonlabs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ios] Slow transfer speed for large bundles when device init

QAutomatron opened this issue · comments

Describe the bug
With a large number of devices and workers in Marathondevices, there is a strong degradation in the transfer speed of bundle files (both .app and .xctest). Especially if the bundle itself is big enough.
Because of this, it takes 5 to 10 minutes to initialize a device before running tests.

To Reproduce
Use .app and .xctest with combined size (uncompressed) ~1Gb and more
Use at least 3 simulators per machine and 5+ machines in Marathondevices

Expected behavior
It seems that files are transferred to each device (not considering the shared host). I would like to speed up this process, for example, to transfer bundle to the machine, and then distribute it from the machine to the simulators.

Logs and reports
In our configuration: 5 to 10 machines, each with 3 simulators. The size of .app is up to 1Gb. .xctest is up to 500Mb.

Machines connected by ethernet with 1Gb network.

File transfer from Marathon logs (per machine)

3302.52 KB/s (1103705280 bytes in 334.2010)
2519.56 KB/s (1103705280 bytes in 438.0540)
2662.37 KB/s (1103705280 bytes in 414.5570)

Devices (please complete the following information):
MacOS Ventura (13.2 - 13.4), 1Gb network

  • Device: iPhone-14
  • OS: 16-1

Additional context
Screenshot 2023-07-10 at 13 57 39