As far as I can see (I searched for pthread_rwlock_unlock in node_modules/)
I can't find a module using pthread stuff.
I also do no use the crypto module, but the modules do a lot, mostly:
- crypto.createHash('sha1')
- crypto.createHash('md5')
- crypto.randomBytes(...)
I also profiled on a Cent OS 6.3 and the result looks quiet different...
http://www.file-upload.net/download-7069773/v8.res.html
Seems to be a OS X thing?2013/1/16 Ben Noordhuis <[email protected]> > > On Wed, Jan 16, 2013 at 2:52 PM, Michael <[email protected]> wrote: > > I profiled my application a bit and found out, that a lot of time is spent > > in ___psynch_rw_unlock. I attached my processed v8.log. Any ideas what > > causes this? > > > > I am using v0.8.17 (Mac OS X Installer) on a OS X 10.8.2. > > Something is calling pthread_rwlock_unlock() a lot. Node.js core uses > rwlocks in only place, in the crypto module. > > It's also possible that some of the libc functions on OS X use them > internally, or that one or more of your native add-ons do (if you have > those.) > > -- > 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 -- Michael Wittig Cinovo AG Calwer Strasse 11 D - 70173 Stuttgart Phone: +49 711 25 25 553-209 Email: [email protected] www.cinovo.de Sitz: Stuttgart Registergericht: Stuttgart HRB: 727107 Aufsichtsratsvorsitzender: Harry Fix Vorstand: Stephan Urbanski -- 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
