JavaScriptCore:
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Oct 2007 01:30:22 +0000 (01:30 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 16 Oct 2007 01:30:22 +0000 (01:30 +0000)
commit066c4ef0043c973d822410da898b932be4944134
tree29cff3255cc0749a17c1ee280b956790dd615adf
parent5ffa5ddeb7b99d8a08cbff3b588831cc95600c13
JavaScriptCore:

        Reviewed by Darin.

        - fixes for "New JavaScript benchmark"
        http://bugs.webkit.org/show_bug.cgi?id=15515

        * kjs/testkjs.cpp:
        (TestFunctionImp::callAsFunction): Implement "load" for compatibility
        with SpiderMonkey.
        (TestFunctionImp::): ditto
        (doIt): ditto
        (kjsmain): Drop useless --> from output.

SunSpider:

        Reviewed by Darin.

        - New JavaScript benchmark
        http://bugs.webkit.org/show_bug.cgi?id=15515

        A start on a new JavaScript benchmark, with standalone and
        browser-hosted drivers.

        The test content is still incomplete and the drivers could use
        some more features but there is enough here to make a good start.

        The drivers compute a 95% confidence interval on the mean for the
        whole test, each category, and each individual test to make it
        easier to tell whether differences are statistically
        significant. The confidence interval can be narrowed by running
        the test more times.

        * TODO: Added. Remaining things that need to be done.
        * sunspider: Added. Perl script that acts as the standalone test driver.
        * resources/sunspider-standalone-driver.js: Added. JavaScript part
        of standalone test driver.
        * resources/sunspider-analyze-results.js: Added. JavaScript statistical
        analysis code.
        * resources/TEMPLATE.html: Added. Template for browser-hosted tests.
        * make-hosted: Added. Script to generate browser-hosted tests.
        * hosted/sunspider.html: Added. Start page for browser-hosted test.
        * hosted/sunspider-driver.html: Added. Driver for browser-hosted tests.
        * hosted/sunspider-results.html: Added. Results page for browser-hosted
        tests.
        * hosted/sunspider-record-result.js: Added. Helper file for browser-hosted
        tests.
        * tests/LIST: Added. List of tests to use.
        * tests/bitops-3bit-bits-in-byte.js: Added. Some initial test content.
        * tests/bitops-bits-in-byte.js: Added. Ditto.
        * tests/bitops-bitwise-and.js: Added. Ditto.
        * tests/math-cordic.js: Added. Ditto.

WebKitTools:

        Reviewed by Darin.

        - New JavaScript benchmark
        http://bugs.webkit.org/show_bug.cgi?id=15515

        * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
        current development or release build of JavaScriptCore.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
20 files changed:
JavaScriptCore/ChangeLog
JavaScriptCore/kjs/testkjs.cpp
SunSpider/ChangeLog [new file with mode: 0644]
SunSpider/TODO [new file with mode: 0644]
SunSpider/hosted/sunspider-driver.html [new file with mode: 0644]
SunSpider/hosted/sunspider-record-result.js [new file with mode: 0644]
SunSpider/hosted/sunspider-results.html [new file with mode: 0644]
SunSpider/hosted/sunspider.html [new file with mode: 0644]
SunSpider/make-hosted [new file with mode: 0755]
SunSpider/resources/TEMPLATE.html [new file with mode: 0644]
SunSpider/resources/sunspider-analyze-results.js [new file with mode: 0644]
SunSpider/resources/sunspider-standalone-driver.js [new file with mode: 0644]
SunSpider/sunspider [new file with mode: 0755]
SunSpider/tests/LIST [new file with mode: 0644]
SunSpider/tests/bitops-3bit-bits-in-byte.js [new file with mode: 0644]
SunSpider/tests/bitops-bits-in-byte.js [new file with mode: 0644]
SunSpider/tests/bitops-bitwise-and.js [new file with mode: 0644]
SunSpider/tests/math-cordic.js [new file with mode: 0644]
WebKitTools/ChangeLog
WebKitTools/Scripts/run-sunspider [new file with mode: 0755]