Replies: 1 comment 1 reply
-
Apologies, the development documentation is out-of-date. You have the correct However, you don't need to build Perspective from source to use it or benchmark it. Just follow the installation instructions on the installation section of the docs for JavaScript (or Python). You may also want to check out the existing benchmark suite in I would love to start publishing Perspective benchmarks, at least relative to its own previous releases if not to other similar DBs, so very interested to see what you come up with! |
Beta Was this translation helpful? Give feedback.
-
Hi, I wanted to check out the perspective benchmark because I am interested in seeing the benefit wasm brings. I'd not heard of perspective before now but it looks to be some library and apis to help visualize streaming data in javascript and python. From the readme didn't see build instructions so I went to the developer guide and tried to follow those instructions. I've gotten to the point to where I am running to an error:
`$ node build.js
internal/modules/cjs/loader.js:1023
throw err;
^
Error: Cannot find module '@finos/perspective-build/wasm'
Require stack: ....`
This is after running 'yarn build' at the root and fixing a bunch of other build stoppages before now. Here the error seems straight forward and it looks like I am just missing a dependency and need to run npm install in some folder. However both "npm install wasm-pack" and "npm install wasm" are failing at the root. The installs are failing for different reasons. Also, I don't understand the significance of the directory structure in the cannot find module message. Note, wasm-pack was already installed on my system under ~/.cargo/bin/ and I went to the wasm-pack website to re-install it, but I take it that is not what is wanted here and that it should be installed via npm? Not knowing the purpose of wasm-pack here it is not clear to me the significance of picking either install method. Any suggestions would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions