Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Google App Engine Mini Profiler (bjk5.com)
108 points by timf on June 26, 2011 | hide | past | favorite | 20 comments


Just put it in a GAE project I've been working on for the past couple weeks. Looks great so far!


Thanks Tyler, thrilled to hear it might help. Always comforting to know it didn't explode the first early adopter's project ;)


Yup, it's working as advertised (a.k.a. awesomely!) Had to modify how the template tag was being imported for Jinja2, but that was dead simple.


Makes sense


Can anyone recommend a rails utility with similar functionality / UI ?


You don't mind paying, http://NewRelic.com is excellent.


We'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.


We 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.


It 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


I'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.


Just 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

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 :-)


I'd like to know this one too. I actually started writing one cause I could not find another option :)


In 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+web...)

New Relic (http://newrelic.com/) provides somewhat-similar tracking for Rails as a paid service.


Great demo! One of the most interesting ones I've seen. I liked seeing the AJAX requests appear as I was playing chess.


Can you provide some info on how this relates to AppStats?

The American Psycho copy on the page gave me a lol, btw :)


Appstats 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.


care to share about on how it works? i'm thinking of porting it to gae/java.


Thank you, this looks great.


It looks great!

Could it also work for regular WSGI webapps outside of GAE?


While 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: