node/benchmark/napi
Gabriel Schulhof 3c35cd4a74 node-api: provide napi_define_properties fast path
Implement defining properties via V8's
`v8::Object::CreateDataProperty()`, which is faster for data-valued,
writable, configurable, and enumerable properties.

Re: https://github.com/nodejs/node/issues/45905
Signed-off-by: Gabriel Schulhof <gabrielschulhof@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/48440
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2023-06-15 18:07:30 -07:00
..
define_properties node-api: provide napi_define_properties fast path 2023-06-15 18:07:30 -07:00
function_args benchmark: fix build warnings 2020-11-19 19:01:38 -08:00
function_call benchmark: add trailing commas 2023-01-29 19:13:35 +01:00
ref n-api: run all finalizers via SetImmediate() 2020-07-23 23:28:09 -07:00
string node-api: implement external strings 2023-06-13 21:54:03 -07:00
type-tag benchmark: ignore build artifacts for napi addons 2020-11-07 02:57:54 +00:00
type-tag-check benchmark: ignore build artifacts for napi addons 2020-11-07 02:57:54 +00:00