Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

octane/run.js #34

Open
wants to merge 10 commits into
base: gh-pages
Choose a base branch
from
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#History

##11/6/2013 - Octane 2.0

This update adds latency and asm.js-like tests to the Octane benchmark suite.

Octane 2.0 brings focus on new aspects of JS performance: latency and asm.js-like code. By instrumenting Splay and Mandreel, it is now possible to calculate scores for compiler and garbage collection latencies. the [zlib](https://github.com/kripken/emscripten/tree/master/tests/zlib) benchmark from the [Emscripten](https://github.com/kripken/emscripten) test suite is also included to keep track of this new technology. Finally, the [Typescript](http://www.typescriptlang.org/) compiler from Microsoft, which is run exactly once, measures startup and execution of a very complex javascript application.

##8/21/2012 - Octane v.1

Welcome to the first release of Octane!

Octane builds upon the V8 Benchmark Suite and adds five new tests, taken without modification (beside glue / boilerplate logic) from well known, existing Web and JS applications: Mozilla's pdf.js, Mandreel, GB Emulator, CodeLoad, Box2DWeb.

Have a look at the official Chromium [blog post](http://blog.chromium.org/2012/08/octane-javascript-benchmark-suite-for.html) for more details or check the [benchmark page](https://developers.google.com/octane/benchmark) for a detailed explanation of each test. If you are still looking for answers, the [FAQ page](https://developers.google.com/octane/faq) might help you.
31 changes: 31 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Want to contribute? Great! First, read this page (including the small print at the end).

### Intro
If you care about the performance of real-world JavaScript and you'd like to help us make Octane even more representative of what needs to be fast on the web, we'd love your help!

If you think Octane's performance test coverage doesn't cover something important and you identified an open source JavaScript application that could cover the gap, then send it our way by [filing an issue](https://github.com/chromium/octane/issues) and we might consider it for a future update of Octane.

As a rule of thumb, the application should be decomposed in an initialization phase, a function that performs a "step" of calculation and that will be called in a tight loop, and a cleanup function. The "step" function shall not be too long , ideally in the tens/hundred ms range. The code from initialization to cleanup is then called a minimum of up to 32 times and the time spent averaged. Ideally we try to keep each test reasonably fast, in the order of few seconds.

### Before you contribute
Before we can use your code, you must sign the
[Google Individual Contributor License Agreement](https://developers.google.com/open-source/cla/individual?csw=1)
(CLA), which you can do online. The CLA is necessary mainly because you own the
copyright to your changes, even after your contribution becomes part of our
codebase, so we need your permission to use and distribute your code. We also
need to be sure of various other things—for instance that you'll tell us if you
know that your code infringes on other people's patents. You don't have to sign
the CLA until after you've submitted your code for review and a member has
approved it, but you must do it before we can put your code into our codebase.
Before you start working on a larger contribution, you should get in touch with
us first through the issue tracker with your idea so that we can help out and
possibly guide you. Coordinating up front makes it much easier to avoid
frustration later on.

### Code reviews
All submissions, including submissions by project members, require review. We
use Github pull requests for this purpose.

### The small print
Contributions made by corporations are covered by a different agreement than
the one above, the Software Grant and Corporate Contributor License Agreement.
27 changes: 27 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (c) 2013, the V8 project authors (http://code.google.com/p/v8/)
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* Neither the name of Google, Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Octane

Octane 2.0 is a benchmark that measures a JavaScript engine’s performance by running a suite of tests representative of certain use cases in JavaScript applications.

Please note that [Octane is retired](https://v8project.blogspot.com/2017/04/retiring-octane.html) and no longer maintained.

[Run Octane 2 now!](http://chromium.github.io/octane/)

For more information, check out the [homepage](https://developers.google.com/octane/), [benchmark reference](https://developers.google.com/octane/benchmark), or [FAQ](https://developers.google.com/octane/faq).
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ <h1 align="center" id="main-banner">Start Octane 2.0</h1>
</div>

<div id="startup-text" style="color:white;" align="center">
Welcome to Octane 2.0, a JavaScript benchmark for the modern web. For more accurate results, <a href="http://developers.google.com/octane/benchmark">start the browser anew</a> before running the test.
Please note that <a href="https://v8project.blogspot.com/2017/04/retiring-octane.html">Octane is retired</a> and no longer maintained. For more accurate results, <a href="http://developers.google.com/octane/benchmark">start the browser anew</a> before running the test.
<br/><br/>
<a href="http://developers.google.com/octane/benchmark#whatsnew" target="_blank">What's new in Octane 2.0</a> - <a href="http://developers.google.com/octane/">Documentation</a> - <a href="http://octane-benchmark.googlecode.com/svn/tags/v1/index.html">Run Octane v1</a>
<a href="http://developers.google.com/octane/">Documentation</a> - <a href="http://octane-benchmark.googlecode.com/svn/tags/v1/index.html">Run Octane v1</a>
</div>


Expand All @@ -203,7 +203,7 @@ <h1 align="center" id="main-banner">Start Octane 2.0</h1>
<a href="http://developers.google.com/octane/benchmark#richards"
target="_blank" style="float:left; color:#994520">Richards</a>

<span class="p-result" id="Result-Richards" style="float:right">...</span>
<p class="p-result" id="Result-Richards" style="float:right">...</p>
<span class="label-simple"
style="position: absolute; bottom: 3px; left: 3px;">Core
language features</span>
Expand Down