Kraken: Difference between revisions
Jump to navigation
Jump to search
(link to Kraken Info) |
(update directions to run the kraken benchmark) |
||
| Line 1: | Line 1: | ||
'''Kraken''' is a JavaScript performance benchmark [https://blog.mozilla.org/blog/2010/09/14/release-the-kraken-2/ created by Mozilla] that measures the speed of several different test cases extracted from real-world applications and libraries. | '''Kraken''' is a JavaScript performance benchmark [https://blog.mozilla.org/blog/2010/09/14/release-the-kraken-2/ created by Mozilla] that measures the speed of several different test cases extracted from real-world applications and libraries. | ||
* Run the benchmark: | * Run the benchmark: "git clone https://github.com/mozilla-it/krakenbenchmark.mozilla.org.git" then "cd krakenbenchmark.mozilla.org/hosted && python -m http.server" | ||
* Source code: http://hg.mozilla.org/projects/kraken/ | * Source code: http://hg.mozilla.org/projects/kraken/ | ||
Revision as of 17:51, 19 February 2021
Kraken is a JavaScript performance benchmark created by Mozilla that measures the speed of several different test cases extracted from real-world applications and libraries.
- Run the benchmark: "git clone https://github.com/mozilla-it/krakenbenchmark.mozilla.org.git" then "cd krakenbenchmark.mozilla.org/hosted && python -m http.server"
- Source code: http://hg.mozilla.org/projects/kraken/
Kraken uses a test harness based on the SunSpider benchmark. Results are reported in milliseconds (lower is better).
The test cases include:
- an implementation of the A* search algorithm
- audio processing using Corban Brook's DSP.js library
- image filtering routines, including code from Jacob Seidelin's Pixastic library.
- JSON parsing, including data from Tinderboxpushlog
- cryptographic routines from the Stanford JavaScript Crypto Library
For more details on the individual tests, see Kraken Info.