Corey, Please perform _two_ operations in the transacton, see what is going on then
On Sun, Nov 1, 2009 at 7:10 PM, Corey Kaylor <[email protected]> wrote: > A run of the code below, similar to what Ayende posted for his performance > test with rhino queues. 10,000 separate transactions runs in about 8.2 > seconds on my machine. I'm not sure the size of the data he was using in his > tests though. > > [Fact] > public void PerfTest() > { > var sp = Stopwatch.StartNew(); > > for (int i = 0; i < 10000; i++) > { > using (var tx = new TransactionScope()) > { > queueManager.Send(queueUri, queueUri, > new MessageEnvelope > { > Data = > Encoding.Unicode.GetBytes("hello"), > }); > > > if (i % 10 == 0) > Console.WriteLine(i); > tx.Complete(); > } > } > > Console.WriteLine("{0:#,#}", sp.ElapsedMilliseconds); > > > > } > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" 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/rhino-tools-dev?hl=en -~----------~----~----~----~------~----~------~--~---
