Skip to content

Fix super slow iOS Tests#555

Merged
phatblat merged 7 commits intomasterfrom
piet/update-nimble-quick
Feb 26, 2016
Merged

Fix super slow iOS Tests#555
phatblat merged 7 commits intomasterfrom
piet/update-nimble-quick

Conversation

@pietbrauer
Copy link
Copy Markdown
Member

Updates dependencies to Nimble, Quick and SSZipArchive.

iOS Tests were running super slow (30 minutes total) this was because after every single test case the unzipped fixture repository would be deleted from disk and unzipped again from the 28MB big zip file. This was not an issue on Mac as unzip super fast (apparently) but SSZipArchive cannot quite keep up and so every single iOS test case would take 5-7 seconds to unzip + the time the test needs to run.

What I did is just unzip it once and store it in a directory called clean_repository, the directory is still removed after each test but instead of unzipping again I just copy the desired repository into its place not touching the clean_repository.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants