Code Monkey home page Code Monkey logo

Comments (3)

versilov avatar versilov commented on May 12, 2024 2

@crertel , here is the bench for matrix multiplication.
GraphMath goes second to Matrex, but deviation from the average is huge.

Surely, if you use dedicated SIMD operations for 3 & 4 element vectors you can beat up everyone!

##### With input 3x3 #####
Name                ips        average  deviation         median         99th %
Matrex        3624.36 K        0.28 μs    ±35.11%        0.26 μs        0.51 μs
GraphMath     1310.16 K        0.76 μs   ±247.15%        0.70 μs        1.70 μs
Matrix         372.58 K        2.68 μs    ±47.31%        2.40 μs        6.20 μs
Numexy          89.72 K       11.15 μs   ±128.04%           9 μs          30 μs
ExMatrix        35.76 K       27.96 μs    ±47.28%          24 μs          67 μs

Comparison:
Matrex        3624.36 K
GraphMath     1310.16 K - 2.77x slower
Matrix         372.58 K - 9.73x slower
Numexy          89.72 K - 40.40x slower
ExMatrix        35.76 K - 101.35x slower

from matrex.

versilov avatar versilov commented on May 12, 2024

Hi!
Thank you.

Surely will do, I am curious also.

from matrex.

crertel avatar crertel commented on May 12, 2024

Woohoo!

Yeah, the next step in this was opaque blobs + SIMD.

I wish the BEAM folks actually acknowledged packed doubles/floats as a datatype :(

from matrex.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.