Skip to content

Install v8-profiler-next on demand instead of being a dependency#854

Merged
TwitchBronBron merged 1 commit intomasterfrom
profiler-dependency-fix
Jul 24, 2023
Merged

Install v8-profiler-next on demand instead of being a dependency#854
TwitchBronBron merged 1 commit intomasterfrom
profiler-dependency-fix

Conversation

@TwitchBronBron
Copy link
Member

#833 added the ability to run a profiling session with a single cli flag. However, it also brought with it a dependency on v8-profiler-next, which requires node-gyp to compile. That's a pain.

Since most bsc users won't be profiling the project, this PR moves that behind an on-demand install instead. That should help with nodejs compatibility and reduce npm install issues related to node-gyp.

@TwitchBronBron TwitchBronBron merged commit 54caecf into master Jul 24, 2023
@TwitchBronBron TwitchBronBron deleted the profiler-dependency-fix branch July 24, 2023 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant