On Thu, Jan 17, 2013 at 7:19 PM, Chris Scribner <[email protected]> wrote: > I was doing some profiling to look into performance issues and got the > following output. > > [Shared libraries]: > ticks total nonlib name > 222878 60.6% 0.0% /usr/lib/system/libsystem_kernel.dylib > 102818 27.9% 0.0% /usr/local/bin/node > 10643 2.9% 0.0% /usr/lib/system/libsystem_c.dylib > 164 0.0% 0.0% /usr/lib/libstdc++.6.dylib > 130 0.0% 0.0% /usr/lib/libSystem.B.dylib > 7 0.0% 0.0% > /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore > 5 0.0% 0.0% /usr/lib/system/libsystem_info.dylib > > In the bottom up profile, it contains no information at all about what is > going on in libsystem_kernel. Does anyone have any idas of things I could > check to get more information? > > Thanks, > > Chris
libsystem_kernel is a wrapper around system calls. `dtruss -c node script.js` will give you a tally. Note that the profiler uses wall clock time. If your application spends a disproportional amount of time in libsystem_kernel.dylib, there's a good chance it's idling in the kevent() syscall, waiting for new events. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
