Coder Social home page Coder Social logo

hanks10100 / webassembly-perf-test Goto Github PK

View Code? Open in Web Editor NEW

This project forked from krausest/webassembly-perf-test

1.0 1.0 0.0 20 KB

A simple numeric performance comparison between WebAssembly and Javascript

License: Other

HTML 9.30% JavaScript 56.00% C 25.18% Java 9.52%

webassembly-perf-test's People

Contributors

krausest avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

webassembly-perf-test's Issues

My Test Report

My Test Report

Reference: A first look at WebAssembly performance

Environment

  • MacBook Pro (Retina, 15-inch, Mid 2015)
  • OS: Sierra 10.12.3
  • Processer: 2.2 GHz Intel Core i7
  • Memory: 16 GB 1600 MHz DDR3

Test Result

The unit of those numbers is milliseconds (ms).

Chrome Canary 58.0.3012.0 (64-bit)

Type 1 2 3 4 5 Average
arrayPerObject 10549 10420 10643 10394 10412 10483.6
floatArrayPerObject 12618 12363 11946 12394 12339 12332
object 8074 7993 8092 8044 7855 8011.6
objectPerArray 9849 9792 9545 9814 9975 9795
oneTypedArray 7606 7511 7550 7526 7472 7533
WebAssembly 9297 8991 8570 8823 8570 8850.2

Firefox Nightly 54.0a1 (64-bit)

Type 1 2 3 4 5 Average
arrayPerObject 9686 9408 9542 9467 9568 9534.2
floatArrayPerObject 11424 11289 11503 11408 11478 11420.4
object 7132 7213 6940 7117 7055 7091.4
objectPerArray 7471 7685 7498 7697 7551 7580.4
oneTypedArray 8784 8858 8803 8766 8750 8792.2
WebAssembly 6791 6738 6739 6604 6625 6699.4

Safari Technology Preview Release 23 (Safari 10.2, WebKit 12604.1.5)

Type 1 2 3 4 5 Average
arrayPerObject 11773 12276 11629 11456 11426 11712
floatArrayPerObject 9247 9010 9424 9312 9228 9244.2
object 12750 12815 13332 14062 12819 13155.6
objectPerArray 9599 9661 9966 9644 9745 9723
oneTypedArray 7254 7156 7112 7058 7096 7135.2
WebAssembly 9359 9064 9141 9151 9115 9166

Chart

test-report

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.