jxjj / matrix-mult-gpujs-v-mathjs

Just testing GPU.js v MathJS with some data.

Home Page:https://jxjj.github.io/matrix-mult-gpujs-v-mathjs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPU.js v MathJS Matrix Multiplication

Testing GPU.js v MathJS

  • Creates a matrix M of size n^2 using random data, and its transpose M'.
  • Times how long M · M' takes.

Example output

Data Set Size Mathjs Time (ms) GPU.js Time (ms)
50 16.80 17.90
100 41.90 6.90
150 67.80 9.80
200 121.70 12.30
250 222.70 16.00
300 383.60 20.30
350 606.90 25.30
400 920.40 28.30
450 1323.40 35.80
500 1847.80 42.20

About

Just testing GPU.js v MathJS with some data.

https://jxjj.github.io/matrix-mult-gpujs-v-mathjs/


Languages

Language:TypeScript 88.5%Language:JavaScript 6.8%Language:HTML 4.7%