jeresig / dromaeo Goto Github PK
View Code? Open in Web Editor NEWJavaScript Performance Test Suite
Home Page: https://wiki.mozilla.org/Dromaeo
License: Other
JavaScript Performance Test Suite
Home Page: https://wiki.mozilla.org/Dromaeo
License: Other
In the LICENSE file, the reference to the Shootout's license should be more precise; "a BSD license" isn't specific enough.
The best would be to change that line to read:
- Tests coming from the Computer Language Shootout are under the Revised BSD license http://shootout.alioth.debian.org/license.php.
This is a place holder issue so I can remember to get off my butt and do this pull request :D
Opera 11 caches querySelectorAll
results and can skew the entire test in it's favor (see example). Before each DOM query the cache should be invalidated.
Here is what I do:
muelli@muelli-VirtualBox:/tmp$ git clone https://github.com/jeresig/dromaeo
Cloning into 'dromaeo'...
remote: Reusing existing pack: 784, done.
remote: Total 784 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (784/784), 3.14 MiB | 266 KiB/s, done.
Resolving deltas: 100% (427/427), done.
muelli@muelli-VirtualBox:/tmp$ cd dromaeo
muelli@muelli-VirtualBox:/tmp/dromaeo$ make web
Converting tests/dromaeo-3d-cube.js to web test...
Converting tests/dromaeo-core-eval.js to web test...
Converting tests/dromaeo-object-array.js to web test...
Converting tests/dromaeo-object-regexp.js to web test...
Converting tests/dromaeo-object-string.js to web test...
Converting tests/dromaeo-string-base64.js to web test...
Converting tests/sunspider-3d-morph.js to web test...
Converting tests/sunspider-3d-raytrace.js to web test...
Converting tests/sunspider-access-binary-trees.js to web test...
Converting tests/sunspider-access-fannkuch.js to web test...
Converting tests/sunspider-access-nbody.js to web test...
Converting tests/sunspider-access-nsieve.js to web test...
Converting tests/sunspider-bitops-3bit-bits-in-byte.js to web test...
Converting tests/sunspider-bitops-bits-in-byte.js to web test...
Converting tests/sunspider-bitops-bitwise-and.js to web test...
Converting tests/sunspider-bitops-nsieve-bits.js to web test...
Converting tests/sunspider-controlflow-recursive.js to web test...
Converting tests/sunspider-crypto-aes.js to web test...
Converting tests/sunspider-crypto-md5.js to web test...
Converting tests/sunspider-crypto-sha1.js to web test...
Converting tests/sunspider-date-format-tofte.js to web test...
Converting tests/sunspider-date-format-xparb.js to web test...
Converting tests/sunspider-math-cordic.js to web test...
Converting tests/sunspider-math-partial-sums.js to web test...
Converting tests/sunspider-math-spectral-norm.js to web test...
Converting tests/sunspider-regexp-dna.js to web test...
Converting tests/sunspider-string-fasta.js to web test...
Converting tests/sunspider-string-unpack-code.js to web test...
Converting tests/sunspider-string-validate-input.js to web test...
Converting tests/v8-crypto.js to web test...
Converting tests/v8-deltablue.js to web test...
Converting tests/v8-earley-boyer.js to web test...
Converting tests/v8-richards.js to web test...
Converting tests/cssquery-dojo.html to web test...
Converting tests/cssquery-ext.html to web test...
Converting tests/cssquery-jquery-2.x.html to web test...
Converting tests/cssquery-jquery.html to web test...
Converting tests/cssquery-mootools.html to web test...
Converting tests/cssquery-prototype.html to web test...
Converting tests/cssquery-yui.html to web test...
Converting tests/dom-attr.html to web test...
Converting tests/dom-modify.html to web test...
Converting tests/dom-query.html to web test...
Converting tests/dom-traverse.html to web test...
Converting tests/jslib-attr-jquery-2.x.html to web test...
Converting tests/jslib-attr-jquery.html to web test...
Converting tests/jslib-attr-prototype.html to web test...
Converting tests/jslib-event-jquery-2.x.html to web test...
Converting tests/jslib-event-jquery.html to web test...
Converting tests/jslib-event-prototype.html to web test...
Converting tests/jslib-modify-jquery-2.x.html to web test...
Converting tests/jslib-modify-jquery.html to web test...
Converting tests/jslib-modify-prototype.html to web test...
Converting tests/jslib-style-jquery-2.x.html to web test...
Converting tests/jslib-style-jquery.html to web test...
Converting tests/jslib-style-prototype.html to web test...
Converting tests/jslib-traverse-jquery-2.x.html to web test...
Converting tests/jslib-traverse-jquery.html to web test...
Converting tests/jslib-traverse-prototype.html to web test...
Converting tests/sunspider-string-tagcloud.html to web test...
Converting tests/v8-raytrace.html to web test...
muelli@muelli-VirtualBox:/tmp/dromaeo$ cd web/
muelli@muelli-VirtualBox:/tmp/dromaeo/web$ python -m SimpleHTTPServer 8887&
[4] 3297
muelli@muelli-VirtualBox:/tmp/dromaeo/web$ Serving HTTP on 0.0.0.0 port 8887 ...
muelli@muelli-VirtualBox:/tmp/dromaeo/web$ firefox http://127.1:8887/?recommended
(process:3356): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
muelli@muelli-VirtualBox:/tmp/dromaeo/web$ 127.0.0.1 - - [07/Feb/2014 19:39:40] "GET /?recommended HTTP/1.1" 301 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /?recommended/ HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /reset.css HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /application.css HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /jquery.js HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /json.js HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /webrunner.js HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/bg.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/logo3.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/dino1.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/left.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/dino2.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/dino3.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/dino4.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/dino5.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/dino7.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/dino8.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/dino6.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/clouds2.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/clouds.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/comets.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /images/top.png HTTP/1.1" 200 -
127.0.0.1 - - [07/Feb/2014 19:39:41] "GET /tests/MANIFEST.json HTTP/1.1" 200 -
Then it shows "Loading" and "Est. Time: 0:00" forever.
That's with Mozilla Firefox 26.0.
I expected it to load the tests and run them.
This has been completed for jQuery & Dojo in #4. Need to update Mootools, YUI, Prototype, ExtJS
I was looking in to a reported performance issue with Chrome and the dojo css test but noticed it's using an old version of dojo so defaults to old Safari behavior. Might be worth updating to a newer version.
Example: http://dromaeo.com/?id=157146,157147,157148,157149,157150,157151,157152,157153,157163,157171
Uncaught exception: TypeError: Cannot convert 'results[result].total[run]' to object
Error thrown at line 577, column 6 in resultsLoaded(id, datas) in http://dromaeo.com/webrunner.js:
var mean = results[result].total[run].mean - 0;
called from line 316, column 6 in (data) in http://dromaeo.com/webrunner.js:
resultsLoaded(id[1], data);
called from line 2780, column 4 in success() in http://dromaeo.com/jquery.js:
s.success( data, status );
called from line 2735, column 6 in (isTimeout) in http://dromaeo.com/jquery.js:
success();
Please see the JSGameBench issue for more details
So, I would really would like to run this tests in nodejs but it seems that they are very dependent on the browser. Any tip is most appreciated. Good job! but it would be great being JavaScript implementation agnostic for some of them.
Replace gender specific terms from comments.
This replaces words such as 'he' and 'his' with non-gendered words e.g. 'they'.
This is part of a large effort to remove gender specific comments from Chrome source.
Chrome pulls code from this repository, so I'm making the necessary changes here before updating the code at: https://cs.chromium.org/chromium/src/chrome/test/data/dromaeo/tests/
See https://bugs.chromium.org/p/chromium/issues/detail?id=542537 for more information.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.