For our uses and a lot of other non-PC uses, memory is more important than speed. The memory budget we are targeting is <= 10 MB for code+data to display a small blank visual page that executes a 'hello world' type JavaScript function. So 8MB is a lot.
I'm wondering if there is a way to control the memory/speed tradeoff. The tcmalloc memory allocator makes a similar tradeoff whereby it uses more memory to gain speed, whereas a non-PC application would usually want to use a more traditional allocator + small block allocator. > Hi all, > > I'd like to ask you whether the memory consumption of the JS engine is > of importance for you or does performance have higher priority? I'm > asking this since we are keeping non-PC use of WebKit in mind as well, > but we found in the newest version of the RegisterFile that it's memory > consumption is quite high by default: ~8megs in a 32bit system and > ~16megs in a 64bit system. (Since DefaultCapacity = 2 * 1024 * 1024, and > DefaultMaxGlobals = 8 * 1024.) Hitherto (in older revisions), it grew > incrementally, as needed. > > Did I miss something? > > Cheers, > Akos > _______________________________________________ > webkit-dev mailing list > [email protected] > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev > > _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

