Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 269df2d3bf
Fetching contributors…

Cannot retrieve contributors at this time

184 lines (122 sloc) 6.531 kB
<!DOCTYPE html>
<!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]-->
<!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]-->
<!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<title>Metrics-Driven Rails Performance - Jumpstart Lab Curriculum</title>
<meta name="author" content="Jumpstart Lab">
<meta name="description" content=" Metrics-Driven Rails Performance Here are the slides:http://speakerdeck.com/u/j3/p/metrics-driven-rails-performanceThe sample ...">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="http://yoursite.com/paths/performance_metrics.html">
<link href="/favicon.png" rel="icon">
<link href="/stylesheets/screen.css" media="screen, projection, print" rel="stylesheet" type="text/css">
<script src="/javascripts/modernizr-2.0.js"></script>
<script src="http://s3.amazonaws.com/ender-js/jeesh.min.js"></script>
<script src="/javascripts/octopress.js" type="text/javascript"></script>
<link href="/atom.xml" rel="alternate" title="Jumpstart Lab Curriculum" type="application/atom+xml">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
<script src="http://tab-slide-out.googlecode.com/files/jquery.tabSlideOut.v1.3.js"></script>
<script type="text/javascript">
$(function(){
$('.slide-out-div').tabSlideOut({
tabHandle: '.handle', //class of the element that will become your tab
pathToTabImage: '/images/feedback_tab.png', //path to the image for the tab //Optionally can be set using css
imageHeight: '150px', //height of tab image //Optionally can be set using css
imageWidth: '50px', //width of tab image //Optionally can be set using css
tabLocation: 'left', //side of screen where tab lives, top, right, bottom, or left
speed: 300, //speed of animation
action: 'click', //options: 'click' or 'hover', action to trigger animation
topPos: '200px', //position from the top/ use if tabLocation is left or right
leftPos: '20px', //position from left/ use if tabLocation is bottom or top
fixedPosition: true //options: true makes it stick(fixed position) on scroll
});
});
</script>
<!--Fonts from Google"s Web font directory at http://google.com/webfonts -->
<link href="http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css">
</head>
<body >
<header role="banner"><hgroup>
<h1><a href="/">Jumpstart Lab Curriculum</a></h1>
</hgroup>
</header>
<nav role="navigation"><ul class="subscription" data-subscription="rss">
<li><a href="/atom.xml" rel="subscribe-rss" title="subscribe via RSS">RSS</a></li>
</ul>
<form action="http://google.com/search" method="get">
<fieldset role="search">
<input type="hidden" name="q" value="site:yoursite.com" />
<input class="search" type="text" name="q" results="0" placeholder="Search"/>
</fieldset>
</form>
<ul class="main-navigation">
<li><a href="/">Curriculum Index</a></li>
</ul>
</nav>
<div id="main">
<div id="content">
<div>
<article role="article">
<header>
<h1 class="entry-title">Metrics-Driven Rails Performance</h1>
</header>
<p>Here are the slides:</p>
<p><a href="http://speakerdeck.com/u/j3/p/metrics-driven-rails-performance">http://speakerdeck.com/u/j3/p/metrics-driven-rails-performance</a></p>
<p>The sample project is available here:</p>
<p><a href="https://github.com/jumpstartlab/jsblogger_advanced">https://github.com/jumpstartlab/jsblogger_advanced</a></p>
<p>To get it ready after cloning:</p>
<ul>
<li><code>bundle</code></li>
<li><code>rake db:setup</code></li>
<li><code>rake samples:generate_many</code></li>
<li>You may optionally want to implement pagination on the <code>Articles#index</code> page. Try the Kaminari tutorial: <a href="http://tutorials.jumpstartlab.com/topics/better_views/pagination.html">http://tutorials.jumpstartlab.com/topics/better_views/pagination.html</a></li>
</ul>
<p>Enjoy!</p>
<h3>Other Resources</h3>
<p>Aman Gupta has an interesting presentation about Debugging Ruby up here:</p>
<p><a href="http://speakerdeck.com/u/tmm1/p/debugging-ruby-performance">http://speakerdeck.com/u/tmm1/p/debugging-ruby-performance</a></p>
<p>It&#8217;s a great jumping-off point if you want to dive into the depths of deep debugging/performance.</p>
<footer>
<div class="sharing">
</div>
</footer>
</article>
</div>
<aside class="sidebar">
<section>
<h1>Recent Posts</h1>
<ul id="recent_posts">
</ul>
</section>
</aside>
</div>
</div>
<footer role="contentinfo"><p>
All materials licensed <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0</a>&nbsp;
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-sa/3.0/80x15.png" /></a>
<br/>
<span class="credit">Powered by <a href="http://octopress.org">Octopress</a></span>
</p>
</footer>
<div class="slide-out-div">
<a class="handle" href="#">Feedback</a>
<h3>Have Feedback?</h3>
<p>Did you find an error? Something confusing? We'd love your help:</p>
<ul>
<li><a href="#" id="edit_source">Edit the source code of this page directly on Github</a></li>
<li><a href="https://github.com/JumpstartLab/curriculum/issues">Create a new issue on the project's Github page</a></li>
</ul>
<p>Thanks!</p>
</div>
<script>
var pathname = window.location.pathname.replace( ".html", ".markdown" );
var github_url = "https://github.com/JumpstartLab/curriculum/blob/master/source" + pathname;
$("a#edit_source").attr('href', github_url);
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.