addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1linklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Message from Luke Cowell about Previous Presentation

From: Sunny H.
Sent on: Monday, November 14, 2011 1:11 PM

Hi all, I'm sending this email on behalf of Luke Cowell, the last presenter at the Ruby meetup. If you wish to email him, please send the email to the address at the bottom:

A big thank you to everyone who was able to come out Thursday night to the talk on benchmarking and profiling ruby. I really enjoyed presenting and I hope that you have a better understanding of how to benchmark and profile your ruby code.

Here are the benchmarking examples:
https://gist.github.com/1343845

Here are the profiling examples for our dictionary application:
https://github.com/lcowell/benchmarking_meetup

I implemented the hash search function we'd talked about. I also added some benchmarks, so you can see which search algorithm is fastest depending on the number of search terms used. You will need ruby-prof installed to run this code, but it should work under 1.8.x or 1.9.x. Fork and experiment!

Lastly, this is a great presentation by Piotr Szotkowski on the performance of ruby.
"Ruby is ‘known to be slow’ – but what does that exactly mean, does it really matter, and – more importantly – what can we do about this?"
http://confreaks.net/videos/547-scotlandruby2011-from-profiling-ruby-to-frankenstein-programming

Luke Cowell
t: @lukecowell
e:[address removed]

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy