Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Cache napi_env per runtime #353

@kfarnung

Description

@kfarnung

Currently the JSRT implementation for N-API uses a new instance of napi_env per module load. Recently a change went into the upstream implementation to cache the pointer inside of the isolate as a private global property (nodejs/node#14217) and introduced a new test which fails on node-chakracore. We should investigate whether we can do the same optimization and re-enable the test.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions