Permalink
Browse files

Regenerate docs.

  • Loading branch information...
1 parent bf6c3cf commit 0f984dae6c5fbdd7e4ff2191525230870d035beb @burningTyger burningTyger committed Mar 15, 2011
View
6 web/_site/doc/en/how-to/fix-a-failing-spec/index.html
@@ -9,7 +9,7 @@
<link href='/' rel='home'>
<link href='/' rel='start'>
<link href='/doc/en/how-to/write-a-ruby-spec' rel='prev' title='Write a Ruby Spec'>
- <link href='/doc/en/how-to/write-a-blog-post' rel='next' title='Write a Blog Post'>
+ <link href='/doc/en/how-to/write-benchmarks' rel='next' title='Write Benchmarks'>
<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script><![endif]-->
<script src="/javascripts/jquery-1.3.2.js" type="text/javascript"></script>
@@ -99,7 +99,7 @@
<span class="label">Next:</span>
- <a href="/doc/en/how-to/write-a-blog-post">Write a Blog Post</a>
+ <a href="/doc/en/how-to/write-benchmarks">Write Benchmarks</a>
</div>
@@ -161,7 +161,7 @@
<span class="label">Next:</span>
- <a href="/doc/en/how-to/write-a-blog-post">Write a Blog Post</a>
+ <a href="/doc/en/how-to/write-benchmarks">Write Benchmarks</a>
</div>
View
1 web/_site/doc/en/how-to/index.html
@@ -125,6 +125,7 @@
<li><a href="/doc/en/how-to/write-a-ticket/">Write a Ticket</a></li>
<li><a href="/doc/en/how-to/write-a-ruby-spec/">Write a Ruby Spec</a></li>
<li><a href="/doc/en/how-to/fix-a-failing-spec/">Fix a Failing Spec</a></li>
+ <li><a href="/doc/en/how-to/write-benchmarks/">Write Benchmarks</a></li>
<li><a href="/doc/en/how-to/write-a-blog-post/">Write a Blog Post</a></li>
<li><a href="/doc/en/how-to/write-documentation/">Write Documentation</a></li>
<li><a href="/doc/en/how-to/translate-documentation/">Translate Documentation</a></li>
View
6 web/_site/doc/en/how-to/write-a-blog-post/index.html
@@ -8,7 +8,7 @@
<meta content='Less Than Three. &lt;3. http://less.thanthree.com' name='author'>
<link href='/' rel='home'>
<link href='/' rel='start'>
- <link href='/doc/en/how-to/fix-a-failing-spec' rel='prev' title='Fix a Failing Spec'>
+ <link href='/doc/en/how-to/write-benchmarks' rel='prev' title='Write Benchmarks'>
<link href='/doc/en/how-to/write-documentation' rel='next' title='Write Documentation'>
<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script><![endif]-->
@@ -91,7 +91,7 @@
<span class="label">Previous:</span>
- <a href="/doc/en/how-to/fix-a-failing-spec">Fix a Failing Spec</a>
+ <a href="/doc/en/how-to/write-benchmarks">Write Benchmarks</a>
<span class="label">Up:</span>
@@ -170,7 +170,7 @@
<span class="label">Previous:</span>
- <a href="/doc/en/how-to/fix-a-failing-spec">Fix a Failing Spec</a>
+ <a href="/doc/en/how-to/write-benchmarks">Write Benchmarks</a>
<span class="label">Up:</span>
View
207 web/_site/doc/en/how-to/write-benchmarks/index.html
@@ -0,0 +1,207 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>How-To - Write Benchmarks - Rubinius</title>
+ <meta content='text/html;charset=utf-8' http-equiv='content-type'>
+ <meta content='en' http-equiv='content-language'>
+ <meta content='Rubinius is an implementation of the Ruby programming language. The Rubinius bytecode virtual machine is written in C++. The bytecode compiler is written in pure Ruby. The vast majority of the core library is also written in Ruby, with some supporting primitives that interact with the VM directly.' name='description'>
+ <meta content='Less Than Three. &lt;3. http://less.thanthree.com' name='author'>
+ <link href='/' rel='home'>
+ <link href='/' rel='start'>
+ <link href='/doc/en/how-to/fix-a-failing-spec' rel='prev' title='Fix a Failing Spec'>
+ <link href='/doc/en/how-to/write-a-blog-post' rel='next' title='Write a Blog Post'>
+
+ <!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script><![endif]-->
+ <script src="/javascripts/jquery-1.3.2.js" type="text/javascript"></script>
+ <script src="/javascripts/paging_keys.js" type="text/javascript"></script>
+
+ <script src="/javascripts/application.js" type="text/javascript"></script>
+ <style>article, aside, dialog, figure, footer, header, hgroup, menu, nav, section { display: block; }</style>
+
+ <link href="/stylesheets/blueprint/screen.css" media="screen" rel="stylesheet" type="text/css" />
+ <link href="/stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
+ <link href="/stylesheets/blueprint/print.css" media="print" rel="stylesheet" type="text/css" />
+ <!--[if IE]><link href="/stylesheets/blueprint/ie.css" media="screen" rel="stylesheet" type="text/css" /><![endif]-->
+ <!--[if IE]><link href="/stylesheets/ie.css" media="screen" rel="stylesheet" type="text/css" /><![endif]-->
+ <link href="/stylesheets/pygments.css" media="screen" rel="stylesheet" type="text/css" />
+ </head>
+ <body>
+ <div class='container'>
+ <div class='span-21 doc_menu'>
+ <header>
+ <nav>
+ <ul>
+ <li><a href="/">Home</a></li>
+ <li><a id="blog" href="/blog/">Blog</a></li>
+ <li><a id="documentation" href="/doc/en/">Documentation</a></li>
+ <li><a href="/projects/">Projects</a></li>
+ <li><a href="/roadmap/">Roadmap</a></li>
+ <li><a href="/releases/">Releases</a></li>
+ </ul>
+ </nav>
+
+ </header>
+ </div>
+ <div class='span-3 last'>
+ <div id='version'>
+ <a href="/releases/1.2.2">1.2.2</a>
+ </div>
+ </div>
+
+ </div>
+
+
+ <div class="container languages">
+ <nav>
+ <span class="label">Languages:</span>
+ <ul>
+
+ <li><a href="/doc/de/"
+
+ >de</a></li>
+
+ <li><a href="/doc/en/"
+
+ class="current"
+
+ >en</a></li>
+
+ <li><a href="/doc/es/"
+
+ >es</a></li>
+
+ <li><a href="/doc/ja/"
+
+ >ja</a></li>
+
+ <li><a href="/doc/pl/"
+
+ >pl</a></li>
+
+ <li><a href="/doc/ru/"
+
+ >ru</a></li>
+
+ </ul>
+ </nav>
+ </div>
+
+
+ <div class="container doc_page_nav">
+
+
+ <span class="label">Previous:</span>
+ <a href="/doc/en/how-to/fix-a-failing-spec">Fix a Failing Spec</a>
+
+
+ <span class="label">Up:</span>
+ <a href="/doc/en/">Table of Contents</a>
+
+
+ <span class="label">Next:</span>
+ <a href="/doc/en/how-to/write-a-blog-post">Write a Blog Post</a>
+
+
+ </div>
+
+
+ <div class="container documentation">
+ <h2>How-To - Write Benchmarks</h2>
+
+
+
+
+
+ <p>Why benchmarks?</p>
+
+<p>Benchmarks are a great tool for comparing Rubinius with the rest of the Ruby
+runtimes, i.e. MRI, JRuby, IronRuby and other implementations. It is not so
+much intended to measure Rubinius itself so if you want to contribute writing
+benchmarks make sure to follow these steps:</p>
+
+<ol>
+ <li>Find existing benchmarks in rubinius/benchmarks and study their layout.</li>
+ <li>Each benchmark file should measure one specific aspect of Ruby. For
+example different ways of deleting keys/values from a Hash.</li>
+ <li>Use the benchmark framework.</li>
+ <li>Keep the benchmarks short and simple.</li>
+ <li>The benchmarks are not meant to measure Rubinius. So if you&rsquo;re writing a
+benchmark for a class with bang and no-bang methods you will want to use
+a duplicate of a variable in the bang method but you don&rsquo;t need to dup
+in the no-bang method. </li>
+</ol>
+
+<p>If you want to test a benchmark you can run it file or even directory wise:</p>
+
+<pre><code>bin/benchmark benchmark/core/string/bench_case.rb
+bin/benchmark benchmark/core
+</code></pre>
+
+
+ </div>
+
+ <div class="container doc_page_nav">
+
+
+ <span class="label">Previous:</span>
+ <a href="/doc/en/how-to/fix-a-failing-spec">Fix a Failing Spec</a>
+
+
+ <span class="label">Up:</span>
+ <a href="/doc/en/">Table of Contents</a>
+
+
+ <span class="label">Next:</span>
+ <a href="/doc/en/how-to/write-a-blog-post">Write a Blog Post</a>
+
+
+ </div>
+
+
+ <div class="container">
+ <div id="disqus_thread"></div>
+<script type="text/javascript">
+ var disqus_shortname = 'rubinius';
+ var disqus_identifier = '/doc/en/how-to/write-benchmarks/';
+ var disqus_url = 'http://rubini.us/doc/en/how-to/write-benchmarks/';
+
+ (function() {
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
+ dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+ })();
+</script>
+<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
+
+ </div>
+
+ <footer>
+ <div class='container'>
+ <nav>
+ <ul>
+ <li><a href="http://twitter.com/rubinius">Follow Rubinius on Twitter</a></li>
+ <li><a href="http://github.com/evanphx/rubinius">Fork Rubinius on github</a></li>
+ <li><a href="http://engineyard.com">An Engine Yard project</a></li>
+
+ <li id='credit'>
+ Site design by
+ <a href="http://less.thanthree.com">Less Than Three</a>
+ </li>
+ </ul>
+ </nav>
+ </div>
+ </footer>
+ <script type="text/javascript">
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+ </script>
+
+ <script type="text/javascript">
+ try {
+ var pageTracker = _gat._getTracker("UA-12328521-1");
+ pageTracker._trackPageview();
+ } catch(err) {}</script>
+
+ </body>
+
+</html>
View
1 web/_site/doc/en/index.html
@@ -185,6 +185,7 @@
<li><a href="/doc/en/how-to/write-a-ticket/">Write a Ticket</a></li>
<li><a href="/doc/en/how-to/write-a-ruby-spec/">Write a Ruby Spec</a></li>
<li><a href="/doc/en/how-to/fix-a-failing-spec/">Fix a Failing Spec</a></li>
+ <li><a href="/doc/en/how-to/write-benchmarks/">Write Benchmarks</a></li>
<li><a href="/doc/en/how-to/write-a-blog-post/">Write a Blog Post</a></li>
<li><a href="/doc/en/how-to/write-documentation/">Write Documentation</a></li>
<li><a href="/doc/en/how-to/translate-documentation/">Translate Documentation</a></li>

0 comments on commit 0f984da

Please sign in to comment.