[v8-users] Trying to beat V8's regex engine with just JS

2020-12-15 Thread Peter Martischka
Hello v8-users! In the past I often had a regex as bottleneck in my projects, rewriting them manually to JS often helped. So I recently thought, could I write something that generates the fitting JS for a given regex? Out of that came RECO - https://github.com/Pita/reco . Unfortunately the gene

Re: [v8-users] GC stack trace

2020-12-15 Thread Alex Kodat
You can use SetFlagsFromString: V8::SetFlagsFromString("--max_heap_size=4096"); // Pick your value I didn't look but I would assume you need to do this before you create the Isolate. There's also the Isolate AddNearHeapLimitCallback method but that's a bit more work to use. On Tuesday, Decem

Re: [v8-users] GC stack trace

2020-12-15 Thread Vinayaka Kamath
Thanks a lot Ben, that was really helpful. The project is using v8 engine embedded in the C++ code, is a build config or can I pass that setting as a parameter in the C++ code? On Tuesday, December 15, 2020 at 5:10:32 PM UTC+5:30 Ben Noordhuis wrote: > On Tue, Dec 15, 2020 at 9:56 AM Vinayaka

Re: [v8-users] GC stack trace

2020-12-15 Thread Ben Noordhuis
On Tue, Dec 15, 2020 at 9:56 AM Vinayaka Kamath wrote: > > Hello All, > > The project that I am working on embeds v8 in it. One of the users reported > seeing the following trace in the log files. > > > 2020-12-01T04:48:31.912-08:00 [INFO] "Starting Function for:" > "config::sfdc::accounts" > 20

[v8-users] GC stack trace

2020-12-15 Thread Vinayaka Kamath
Hello All, The project that I am working on embeds v8 in it. One of the users reported seeing the following trace in the log files. 2020-12-01T04:48:31.912-08:00 [INFO] "Starting Function for:" "config::sfdc::accounts" 2020-12-01T04:48:31.912-08:00 [INFO] "Fetching list of:" "SFDC::accounts"