I am using both GD and Curl(one or other) for downloading remote jpeg images to my server. I just want a quick suggestion on which method to use? Which method takes less system resources?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To get load time try to create complex image with both of them (GD and CURL), set microtime at the start of each operation and calculate time-difference at the end. Just do a test at your own.
About memory usage (system resources), I’m not so sure, but I think there’s no such big difference.
For me personally, GD and Curl are equal.