| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
It might be worth designing a policy for the compilation cache. For now, just skip the cache when policy is enabled.
Sorry, something went wrong.
|
huh there isn't a team for policy, it seems, so cc @nodejs/startup @nodejs/loaders @nodejs/security |
Sorry, something went wrong.
| return; | ||
| } | ||
| if (!options()->experimental_policy.empty()) { | ||
| Debug(this, |
There was a problem hiding this comment.
Could this be a warning instead?
Sorry, something went wrong.
There was a problem hiding this comment.
The environment variable is designed to be as silent as possible. I don't think there's anything to warn - you don't get a speed up and that is all, your code will still work as intended. If you are using policy it's likely that you are already aware this is already leading to a slowdown for every module loaded due to all the checks required.
Sorry, something went wrong.
There was a problem hiding this comment.
thanks for following up with this!
Sorry, something went wrong.
Sorry, something went wrong.
|
Updated the test to skip in no crypto builds because policy requires crypto to work. |
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
It might be worth designing a policy for the compilation cache. For now, just skip the cache when policy is enabled. PR-URL: #52577 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
It might be worth designing a policy for the compilation cache. For now, just skip the cache when policy is enabled. PR-URL: nodejs#52577 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
| Back | FazBrowse Home | New Git URL |
It might be worth designing a policy for the compilation cache. For now, just skip the cache when policy is enabled.