Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 807 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 807 Bytes

cdylib-nodejs

This project was bootstrapped by create-neon.

Test results

Average time of calculations for Matrix:

Rust cdylib: 1ms ⚡

JS vanilla: 92.92ms

Average time of calculations for Fibonacci:

Rust cdylib: 26ms ⚡

JS vanilla: 140.12ms

Installing cdylib-nodejs

Installing cdylib-nodejs requires a supported version of Node and Rust.

You can install the project with npm. In the project directory, run:

$ npm install

This fully installs the project, including installing any dependencies and running the build.

Building cdylib-nodejs

If you have already installed the project and only want to run the build, run:

$ npm start