napi-rs/bench
LongYinan 4719caa643
feat(napi): support Return generic of ThreadsafeFunction (#1997)
* feat(napi): support to use tuple with either (#1993)

`Either` uses `ValidateNapiValue` + `TypeName` to validate and report error on value not being matched. So there's no way to remove these super traits from it. So I implemented these types to `Tuple` types.

* feat(napi): support `Return` generic of ThreadsafeFunction

* depracate JsFunction

* CalleeHandled tsfn should handle Result in callback

* Pass env to call_with_return_value callback

* Fix compile

* clippy fix

* Fix electron test

* Function args

---------

Co-authored-by: Hana <andywangsy@gmail.com>
2024-03-20 21:37:08 +08:00
..
src feat(napi): support Return generic of ThreadsafeFunction (#1997) 2024-03-20 21:37:08 +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 style: format toml files 2022-02-11 10:46:17 +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 feat(cli): brand new cli tool with both cli and programmatical usage (#1492) 2023-04-06 11:04:53 +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