https://github.com/mortennobel/glmatrix-vs-glm-benchmark
A benchmark between glMatrix (JavaScript) vs. GLM (C++)
https://github.com/mortennobel/glmatrix-vs-glm-benchmark
cpp cpp11
Last synced: 12 days ago
JSON representation
A benchmark between glMatrix (JavaScript) vs. GLM (C++)
- Host: GitHub
- URL: https://github.com/mortennobel/glmatrix-vs-glm-benchmark
- Owner: mortennobel
- Created: 2012-02-23T09:40:40.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2014-05-04T11:51:42.000Z (about 12 years ago)
- Last Synced: 2025-11-12T11:03:59.367Z (8 months ago)
- Topics: cpp, cpp11
- Language: C++
- Homepage:
- Size: 656 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
=== Performance of glMatrix (JavaScript) vs GLM (C++)
This benchmark is a stripped down version of the WebGL Matrix Benchmark (http://glmatrix.googlecode.com/hg/benchmark/matrix_benchmark.html).
This benchmark only tests glMatrix to compare the results with the GLM (C++) runtime. A few test cases has been removed since they don't exists in GLM.
To run the benchmark, start the glMatrixBenchmark.html in a webbrowser to get the performance metrics for glMatrix / JavaScript
To run the GLM matrix run make
The math libraries this benchmark uses are:
GLM http://glm.g-truc.net/
OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specification.
glMatrix https://github.com/toji/gl-matrix
Javascript Matrix and Vector library for High Performance WebGL apps
Besides it uses a high resolution timer class from:
http://www.songho.ca/misc/timer/timer.html