elefher / glmatrix

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

implemented possible feature: graphs for the benchmarks #35

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Brandon,

I was working with the JavaScript graphing library flotr and needed to pick a 
matrix library for some webgl work so I first played with and then adapted the 
benchmarks you created in your glmatrix library: 
https://glmatrix.googlecode.com/hg/.

My changes include:
- I'm only including the benchmarks.
- I've updated to the latest mjs as of Dec 15: 16:8e5b0944ef1e and included it 
in several more tests.
- I've also added a graph display of the results using flotr, see: 
http://solutoire.com/flotr/

My fork of these benchmarks are available here: 
https://github.com/stepheneb/webgl-matrix-benchmarks

And you can run them in a browser with webgl at this url: 
http://stepheneb.github.com/webgl-matrix-benchmarks/matrix_benchmark.html

The somewhat lame reason this is a fork is that it was taking me longer thanI 
wanted using mercurial (don't use hg much) to follow the typical workflow I use 
on github, fork a repo, push my changes into a branch and send a pull request 
to the original developer ...

I've made a branch in my hg checkout of your code with these changes but ... it 
wasn't clear to me the simplest way to share these with you.

I was quite interested in sharing my results because I found that glmatrix and 
mjs are about 5x faster in Minefield than Chrome ... and about twice as fast in 
Chrome than in a WebKit nightly -- I posted a message to 
public_webgl@khronos.org asking people there if they thought these results were 
reasonable. 

They surprised me ...

Original issue reported on code.google.com by Stephen....@gmail.com on 14 Feb 2011 at 5:05

GoogleCodeExporter commented 8 years ago
Thanks for setting this up! I'll look into it more when I have some free time.

Original comment by Tojiro@gmail.com on 27 Feb 2011 at 5:03