TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ruby 2.1: Profiling Ruby

102 pointsby tmm1over 11 years ago

5 comments

VeejayRampayover 11 years ago
I wonder if this API allow will foster a big movement to track down all the performance-hungry calls in say, Rails, and help the framework move forward in terms of efficiency. This is really a welcome addition anyway.
akxover 11 years ago
I think TRWTF here is that checking for (query string?) parameter existence runs a regexp...
评论 #6962942 未加载
wrlover 11 years ago
So, I'm a Ruby neophyte. Why did adding parenthesis speed that line up so much?
评论 #6962007 未加载
评论 #6961998 未加载
评论 #6961997 未加载
评论 #6962011 未加载
评论 #6962001 未加载
评论 #6961992 未加载
gazarsgoover 11 years ago
Why is line level profiling so non-existent for dynamic languages? Function level just doesn't cut it, esp. w/ the zillions of monkey patches in Ruby.
评论 #6962934 未加载
评论 #6962935 未加载
评论 #6962667 未加载
评论 #6962911 未加载
kbar13over 11 years ago
At first I didn&#x27;t realize OP was a GitHub employee and thought he was munging his company&#x27;s GHE appliance :o<p>Cool read!