PFrames - Node.js Native Addon
npm install @milaboratories/pframes-rs-nodepnpm install @milaboratories/pframes-rs-node command.``sh`
pnpm run build
NodeJS Native Addon is places in dist folder.pnpm run pack
Use to prepare an archive (last output line is its path) and upload it to AWS S3.
Export wrapper is placed in export_dist folder.pnpm publish
Use to publish NodeJS package.
Debugging is only supported using VSCode with the following extencions installed (check @recommended section in VScode for more suggestions):
- C/C++
- CodeLLDB
- rust-analyzer
1. Clone and build the latest platforma-desktop-v2 (git clean -dffx && npm i && npm run build)platforma-desktop-v2
2. Set the correct RELATIVE path to in .vscode/settings.json variable platformaDesktopPath (default is ../platforma-desktop-v2)pnpm run build
3. Build this package by following the build steps from above (for faster build use )
4. Use VSCode launch configuration for your platform to start debug session (VSCode debugging guide)
1. Clone and build the latest platforma-desktop-v2platforma-desktop-v2
2. Set the correct RELATIVE path to in .vscode/settings.json variable platformaDesktopPath
3. Build this package by following the build steps from above
4. Launch VSCode task (Cmd+Shift+P -> Tasks: Run Task -> Perf-profile platforma-desktop) for profiling
5. Execute the test scenario and quite platforma-desktop
6. Firefox profiler with recorded performance profile would automatically open in you browser of choice
(Warning! Firefox profiler does not work in Safari and with AdBlock enabled)
1. Run platforma-desktop-v2 with MI_DUMP_PFRAMES_RS=/absolute/path/to/dump/requests npm run dev/absolute/path/to/dump/requests` folder and pass to the developer
2. Archive the