7 ms·
Google App Engine Mini Profiler
- pakeha 15y agoCan anyone recommend a rails utility with similar functionality / UI ?
- riffraff 15y agoI'd like to know this one too. I actually started writing one cause I could not find another option :)
- spicyj 15y agoIn his announcement of the MVC Mini Profiler that this is based on, Sam Saffron writes unencouragingly: > Our open-source profiler is perhaps the best and most comprehensive production web page profiler out there for any web platform. (http://samsaffron.com/archive/2011/06/09/+Profiling+your+website+like+a+true+Ninja http://samsaffron.com/archive/2011/06/09/+Profiling+your+web...) New Relic (http://newrelic.com/ http://newrelic.com/) provides somewhat-similar tracking for Rails as a paid service.
- acangiano 15y agoYou don't mind paying, http://NewRelic.com http://NewRelic.com is excellent.
- spicyj 15y agoIt actually appears that their tracking can be used free in development mode without their server; it could probably be adapted to be used on a live site without their service as well. https://github.com/newrelic/rpm https://github.com/newrelic/rpm
- pakeha 15y agoI've used NewRelic quite a bit in the past, but only in production. I never really though of using it in dev. It would be good if there was a browser plugin or something to give immediate feedback about the most request that loaded the current page, as shown in the article.
- philfreo 15y agoWe've been using New Relic (also supports PHP) for a couple months and are extremely impressed. Definitely check it out. They also have a partnership with a lot of the cloud providers for their middle tiered package to be free.
- bluesnowmonkey 15y agoWe use New Relic but I've found it less useful than expected for performance tuning. The UI can show you the slowest requests over the past hour or so, but those tend to be outliers involving some kind of cache miss. I want to be able to see typical requests. If you drill down into one of those slow requests, it will show all the SQL statements executed and how long each took. We use ActiveRecord though, so going from an SQL statement to a line of source code is painful. I wish it showed the stack trace for each SQL statement. Finally, it does not seem to have the kind of embeddable performance panel linked in the article. That would be super handy.
- bittersweet 15y agoJust like the author of this blog post I was inspired by the MVC mini profiler and started a Ruby gem that has some very very basic functionality at the moment, you can find it here: http://github.com/bittersweet/stopwatch http://github.com/bittersweet/stopwatch It just shows the page load duration and amount of queries so far but I plan to have the same functionality as the original and GAE one :-)
- mcotton 15y agoThank you, this looks great.
- tghw 15y agoJust put it in a GAE project I've been working on for the past couple weeks. Looks great so far!
- kamens 15y agoThanks Tyler, thrilled to hear it might help. Always comforting to know it didn't explode the first early adopter's project ;)
- jmitcheson 15y agoCan you provide some info on how this relates to AppStats? The American Psycho copy on the page gave me a lol, btw :)
- kamens 15y agoAppstats is used to capture all the RPC timing and call stacks, but unlike ordinary setups you don't have to configure AppStats or unleash on a minority of real users to avoid perf overhead.
- benatkin 15y agoGreat demo! One of the most interesting ones I've seen. I liked seeing the AJAX requests appear as I was playing chess.
- kermitthehermit 15y agoIt looks great! Could it also work for regular WSGI webapps outside of GAE?
- kamens 15y agoWhile this specific project relies on a lot of GAE's batteries-included stuff like memcache and Appstats, please feel free to fork and support new environments.
- wiradikusuma 15y agocare to share about on how it works? i'm thinking of porting it to gae/java.