On Thu, Mar 20, 2025 at 10:03 PM Ben Noordhuis <i...@bnoordhuis.nl> wrote:
> On Thu, Mar 20, 2025 at 12:36 PM Omer Katz (chromium.org) > <omerk...@chromium.org> wrote: > > > > My personal opinion is that your proposal doesn't make things worse (as > you've also mentioned in the node discussion) but, since percentages can be > converted to MB before reaching V8, I don't see the motivation for adding > this to V8. > > I personally disagree with bnoordhuis that V8 is the better place for it > and I think it makes more sense to have it as a wrapper downstream (i.e. in > this case in node). > > The downside of doing things downstream is that only node benefits, > not other embedders like Chrome or Deno.... > There is no demand for this feature on the Chrome side, so it's fine that Chrome won't benefit from it. > > ...but the counterargument to that is that node will likely do a > better job than V8, unless V8 is willing to go all in on cgroups > parsing, like OpenJDK. Node gets that for free from libuv. > "Going all in on cgroups" is not enough since cgroups is Linux specific and V8 supports other platforms as well. I don't anticipate V8 making an investment in that area any time soon. > -- > -- > v8-dev mailing list > v8-dev@googlegroups.com > http://groups.google.com/group/v8-dev > --- > You received this message because you are subscribed to the Google Groups > "v8-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-dev+unsubscr...@googlegroups.com. > To view this discussion visit > https://groups.google.com/d/msgid/v8-dev/CAHQurc-ejataSugnX2O%3D3jjtrtjhEg-7ta34ARApfMh4SEf76w%40mail.gmail.com > . > -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/v8-dev/CAJFGqfMhvLjQr-Tutvpr5kbZAB17kvm83bB7Hg9p%3D0FkYiz-mA%40mail.gmail.com.