Comparison Matrix and Vector library

JavaScript performance comparison

Test case created and last updated

Preparation code

<script src="https://raw.github.com/mrdoob/three.js/master/build/three.js"></script>
<script src="https://raw.github.com/1Pupik1989/N3D/master/source/N3D.js"></script>

Preparation code output

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
N3D
var v = new N3D.Vector4(1,2,3,1);
var m = new N3D.Matrix4();
m.inverse();
m.multiply(m);
v.add(v);
m.multiplyVector4(v);
pending…
Three.js
var m = new THREE.Matrix4();
var v = new THREE.Vector4(1,2,3,1);
m.getInverse(m);
m.multiply(m,m);
v.add(v);
m.multiplyVector4(v);
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:

0 comments

Add a comment