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.

Show HN: Get Rails performance metrics into Chrome Dev Tools

136 pointsby itsderek23about 7 years ago

10 comments

umaarabout 7 years ago
Here&#x27;s a gif I made showcasing Server Timing with Node.js + Chrome DevTools: <a href="https:&#x2F;&#x2F;umaar.com&#x2F;dev-tips&#x2F;136-server-timing&#x2F;" rel="nofollow">https:&#x2F;&#x2F;umaar.com&#x2F;dev-tips&#x2F;136-server-timing&#x2F;</a>
andrewingramabout 7 years ago
I was excited when I first heard about Server Timing, until I realised it was limited to a single duration value. Being able to model an actual timeline would make it significantly more useful.
评论 #16510957 未加载
评论 #16510882 未加载
mooredsabout 7 years ago
This gem seems like a good way to get a full app view while remaining in the browser. The only thing I might add would be to have an example turning on these metrics on a per request basis (via a parameter) so that you could check performance for users other than admin users.<p>Aside: I&#x27;ve used scout on a production application and it is similar in quality to new relic but far simpler to understand.
cagmzabout 7 years ago
Hi Derek! You&#x27;ve helped me with my employer&#x27;s Scout configuration in Slack :)<p>Is there an automated way of getting the average of a performance metric (eg Time spent in AR) over N requests?
评论 #16513241 未加载
amatixabout 7 years ago
Seems to be using the `Server-Timing` header — are there docs somewhere on what this expects &amp; what features it supports? Are other browsers likely to follow it?
评论 #16510633 未加载
评论 #16511109 未加载
thirdsunabout 7 years ago
There&#x27;s also RailsPanel which I found quite useful when I was still using Chrome: <a href="https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;railspanel&#x2F;gjpfobpafnhjhbajcjgccbbdofdckggg" rel="nofollow">https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;railspanel&#x2F;gjpfobp...</a>
jacobevelynabout 7 years ago
Neat! Seems similar to this project which I&#x27;ve been keeping an eye on: <a href="https:&#x2F;&#x2F;github.com&#x2F;geoffreylitt&#x2F;ladybug" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;geoffreylitt&#x2F;ladybug</a>
iampimsabout 7 years ago
Similar library for go: <a href="https:&#x2F;&#x2F;github.com&#x2F;mitchellh&#x2F;go-server-timing" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mitchellh&#x2F;go-server-timing</a>
hultnerabout 7 years ago
Neat!<p>Anyone know of a similar tool for Python3&#x2F;flask (or wsgi probably)?
Thaxllabout 7 years ago
What&#x27;s the point of using that vs proper tracing?
评论 #16512256 未加载