base.js |
|
12998 |
box2d.js |
Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
|
228894 |
code-load.js |
|
115891 |
crypto.js |
|
48052 |
deltablue.js |
A JavaScript implementation of the DeltaBlue constraint-solving
algorithm, as described in:
"The DeltaBlue Algorithm: An Incremental Constraint Hierarchy Solver"
Bjorn N. Freeman-Benson and John Maloney
January 1990 Communications of the ACM,
also available as University of Washington TR 89-08-06.
Beware: this benchmark is written in a grotesque style where
the constraint model is built by side-effects from constructors.
I've kept it this way to avoid deviating too much from the original
implementation.
|
25726 |
earley-boyer.js |
GENERATED FILE - DO NOT EDIT ************ |
195234 |
gbemu-part1.js |
|
51364 |
gbemu-part2.js |
|
464771 |
index.html |
Octane 2.0 JavaScript Benchmark |
18946 |
mandreel.js |
|
5000408 |
navier-stokes.js |
|
13431 |
pdfjs.js |
|
1466204 |
raytrace.js |
Fake a Flog.* namespace |
28016 |
regexp.js |
|
126705 |
richards.js |
The Richards benchmark simulates the task dispatcher of an
operating system.
|
15797 |
run-box2d.js |
|
2256 |
run-code-load.js |
|
2260 |
run-crypto.js |
|
2257 |
run-deltablue.js |
|
2260 |
run-earley-boyer.js |
|
2263 |
run-gbemu.js |
|
2297 |
run-mandreel.js |
|
2259 |
run-navier-stokes.js |
|
2264 |
run-pdfjs.js |
|
2256 |
run-raytrace.js |
|
2259 |
run-regexp.js |
|
2257 |
run-richards.js |
|
2259 |
run-splay.js |
|
2256 |
run-typescript.js |
|
2344 |
run-zlib.js |
|
2288 |
run.js |
|
2857 |
splay.js |
|
11557 |
typescript-compiler.js |
|
1232383 |
typescript-input.js |
|
1275283 |
typescript.js |
|
6441 |
zlib-data.js |
# ---------------------- BEGIN GENERATOR SCRIPT --------------------
#!/usr/bin/env python
import urllib2
url = "https://github.com/dvander/arewefastyet/raw/master/benchmarks/asmjs-apps/zlib.js"
def do_replacements(data):
# Update the *_original patterns if generated identifier names change:
printf_original = "_printf:function(a,b){return Cb(L[W>> 2],a,b)}"
printf_neutered = "_printf:function(a,b){}"
puts_original = ("_puts:function(a){var b=L[W>>2],a=Gb(a,b);" +
"return 0>a?a:0>Hb(10,b)?-1:a+1}")
puts_neutered = "_puts:function(a){}"
runner_original = "Ya([].concat(Module.arguments));"
runner_neutered = ""
assert printf_original in data
assert puts_original in data
assert runner_original in data
data = data.replace("\\", "\\\\").replace("\'", "\\\'")
data = data.replace(printf_original, printf_neutered)
data = data.replace(puts_original, puts_neutered)
data = data.replace(runner_original, runner_neutered)
def format_80col(data):
while len(data) > 0:
cutoff = min(79, len(data))
while data[cutoff-1] == '\\':
cutoff -= 1
line = data[0:cutoff]
data = data[cutoff:]
if len(data) > 0:
line += '\\'
print line
download = urllib2.urlopen(url)
data = ""
for line in download:
line = line.strip()
if line.startswith("//"): continue
data += line + " "
data = do_replacements(data)
format_80col("function InitializeZlibBenchmark() {" +
"zlibEval('" +
data +
"');" +
"}")
# ----------------------- END GENERATOR SCRIPT ---------------------
|
192056 |
zlib.js |
|
3693 |