Re: Why does free() take 1,100 microseconds?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Jul 26, 2005, at 10:42 , neal olander wrote: Thanks for the suggestion. I suppose my question could be re-worded as: Cheers, Justin -- Justin C. Walker, Curmudgeon-At-Large Institute for General Semantics -------- "Weaseling out of things is what separates us from the animals. Well, except the weasel." - Homer J Simpson -------- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I've already run the Shark profiler on the application. I've pinpointed the slowness down to the free() function ... but I cant get details inside that. I'm posting to Darwin-dev rather than optimization because I figured that Darwin-dev peopole might have more insight into the internal operations of free(). What could free() be doing that could possibly take 1,100 microseconds, and is there any thing I can do to reduce that time? Or, is there a way for me to get access to the free() source code? It's free :-} Check <http://developer.apple.com/darwin> and follow the signs to the darwin source. malloc/free code is in the Libc project. This email sent to site_archiver@lists.apple.com
participants (1)
-
Justin C. Walker