napi-rs/bench
forehalo 2467b7139b
Introduce #[napi] procedural macro to automation development boilerplate (#696)
* napi procedural macro for basic rust/JavaScript types
* introduce the `compat-mode` for `napi` and `napi-derive` crates for backward compatible
* remove #[inline] and let compiler to decide the inline behavior
* cli now can produce the `.d.ts` file for native binding
* many tests and example for the new procedural macro

Co-authored-by: LongYinan <lynweklm@gmail.com>
2021-09-23 01:29:09 +08:00
..
src Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
async.ts perf(napi): make FuturePromise static dispatch 2021-06-21 23:36:54 +08:00
bench.ts perf(napi): reducer tokio future execution overhead 2021-06-02 23:17:53 +08:00
buffer.ts perf(napi): make FuturePromise static dispatch 2021-06-21 23:36:54 +08:00
build.rs feat: add benchmark crate and frameworks 2020-09-30 15:31:17 +08:00
Cargo.toml Introduce #[napi] procedural macro to automation development boilerplate (#696) 2021-09-23 01:29:09 +08:00
create-array.ts bench: add array suite 2021-05-17 11:42:57 +08:00
get-array-from-js.ts bench: add array suite 2021-05-17 11:42:57 +08:00
get-set-property.ts chore: add bench suite for object getter setter 2020-12-29 18:03:10 +08:00
noop.ts feat: add benchmark crate and frameworks 2020-09-30 15:31:17 +08:00
package.json refactor(cli): init yarn workspace, move napi-rs package => @napi-rs/cli 2020-12-02 22:34:39 +08:00
plus.ts feat: add benchmark crate and frameworks 2020-09-30 15:31:17 +08:00
query.ts perf(napi): make FuturePromise static dispatch 2021-06-21 23:36:54 +08:00
tsconfig.json fix(napi): memory issues in create_external_buffer 2020-12-21 16:10:30 +08:00