On Thu, Jan 17, 2013 at 10:01 AM, Michael Wittig
<[email protected]> wrote:
> As far as I can see (I searched for pthread_rwlock_unlock in node_modules/)
> I can't find a module using pthread stuff.
They might be using libuv wrappers. Maybe grep for just 'rwlock', 'mutex', etc.
> 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?
Probably. I'll bet good money that the Linux NPTL pthreads library
and the kernel's synchronization primitives are a lot more optimized
than Apple's.
--
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