https://github.com/devongovett/bench-napi
https://github.com/devongovett/bench-napi
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/devongovett/bench-napi
- Owner: devongovett
- Created: 2022-12-19T16:23:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-19T16:23:52.000Z (over 3 years ago)
- Last Synced: 2025-02-28T07:02:04.996Z (over 1 year ago)
- Language: C++
- Size: 13.7 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A benchmark of various node object creation methods in C++ vs JS.
```
napi: 48.992ms
v8 tmpl: 16.973ms
js: 2.663ms
```
To run:
```sh
yarn
yarn build
node bench.js
```