lkang2 / glmatrix

Automatically exported from code.google.com/p/glmatrix
0 stars 0 forks source link

More benchmarks #38

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Could You, please, include Sylvester lib in the benchmark?
A few pages uses it for WebGL and I'm interested in the results.

Original issue reported on code.google.com by arturczajka@gmail.com on 1 Mar 2011 at 1:17

GoogleCodeExporter commented 8 years ago
*pages use (argh... sorry)

Original comment by arturczajka@gmail.com on 1 Mar 2011 at 1:19

GoogleCodeExporter commented 8 years ago
@arturczajka 

That library is too slow. 
It would completely lag the benchmark. 

Original comment by jeroom832@gmail.com on 1 Mar 2011 at 8:49

GoogleCodeExporter commented 8 years ago
Yes, that's what You say, that's what I heard. But I wanted to know _how much_ 
(and _why_, if possible). It it's too much effort maybe You could lead me to 
some documentation that helps understanding this state.

Original comment by arturczajka@gmail.com on 1 Mar 2011 at 6:12

GoogleCodeExporter commented 8 years ago
TestCase:

this is a test case from my own library (which btw is slower then glmatrix, 
just look it up in the benchmarks)

http://ewgl-matrices.googlecode.com/svn/trunk/ewgl-matrices/html/testMatrixInRea
lApplication.html

Here you see that sylvester is 3 times slower. 

Explanation:

sylvester is written in a generic way. This means that it makes use of loops, 
which takes time (altough less then before where the testcase was 10 times 
slower,browsers are getting better). Also glmatrix is better at minimizes 
lookups of properties.

Original comment by jeroom832@gmail.com on 2 Mar 2011 at 8:42