Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS fix slow contact access due to photos temp file generation #2

Closed
wants to merge 1 commit into from
Closed

Conversation

etabard
Copy link
Contributor

@etabard etabard commented Dec 12, 2012

"Do-while test if tmp file exists" costs a lot. Use mktemp instead to generate photo tmp file.

Before (300 contacts with pictures):
5minutes

After:
10 seconds

NB: I made also a pull-request on phonegap central repository : phonegap/phonegap#19
I figured out after that this repo would be the right place.

"Do-while test if tmp file exists" costs a lot. Use mktemp instead to generate photo tmp file.

Before (300 contacts with pictures):
5minutes

After:
10 seconds
khawkins referenced this pull request in forcedotcom/cordova-ios Dec 12, 2012
@shazron
Copy link
Member

shazron commented Jan 7, 2013

Thanks! Merged in: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/c6a1dbe3
You can close this pull request now :)

@etabard
Copy link
Contributor Author

etabard commented Jan 8, 2013

Nice ! Thanks :)

@etabard etabard closed this Jan 8, 2013
khawkins referenced this pull request in khawkins/cordova-ios Feb 11, 2013
Updating to Cordova 2.3 final
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