Hi, the performance you'll see is for Ruby code execution. You can try running the Rails tests or the Ruby spec tests. Also, you can try using Apache Bench with concurrency greater than 4 targeting pages which require more Ruby code execution paths.
Good luck, -Conrad Sent from my iPhone On Jul 10, 2009, at 9:04 PM, Sijo Kg <rails-mailing-l...@andreas- s.net> wrote: > > Hi > Thanks for your it worked Now to test the performance difference > between Ruby1.9.1 and ruby 1.8.6 with rails 2.3.2 what I did is > Created a rails projects using 1.9.1 and 1.8.6 Then created a model > and > migrated it to the db using 1.8.6 Ruby+rails Now from the project > created using the 1.9.1 I just make the model only > Now connected this too to the same db For example my model is > School with only one attribute name Then I open console for both the > versions and gave > > School.find :all #This has 8 records > > And the result I got is > > School Load (0.6ms) SELECT * FROM "schools" #from project > 1.9.1 > School Load (0.6ms) SELECT * FROM "schools" /3from project > 1.8.6 > > Could you please tell where is the performance difference I cant > understand since it both takes same time How can I measure the actual > performance difference using ruby 1.9.1 with rails 2.3.2 and ruby1.8.6 > with rails 2.3.2 > > > Thanks > Sijo > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

