After John Bressnik from SDRuby asked questions about Merb mutex, I
run some benchmarks.

I was hitting a controller making 1 simple DB request and I couldn't
see a difference between the mutex lock being on or off.

I then added a sleep of 0.1 in the controller are here are the dramatic results:

http://gist.github.com/11201

Requests per second:    9.81 [#/sec] (mean) with mutex on VS Requests
per second:    83.26 [#/sec] (mean) mutex off

The benchmark app was using DM.

-Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to