Skip to main content
0 votes
1 answer
61 views

In a high-performance Node.js service, I noticed that structuredClone() introduces unexpected latency spikes when cloning large nested objects (30–50 KB each). Even switching to manual cloning ...
Chand jr's user avatar
1 vote
1 answer
84 views

I have Node.js (v22 - I am bound to this version) embedded into my application and exposing a C++ object to its environment. My JS environment setup (based on the docs) runs in a separate thread, like ...
user31836277's user avatar
2 votes
1 answer
90 views

In Speculative Optimizations for WebAssembly using Deopts and Inlining the following statement is made: The difference is in the code for the slow path. Without deopts, we don’t have the option of ...
Jonas Wilms's user avatar
0 votes
1 answer
138 views

Google Sheets App Script v8: oauthScopes and ScriptApp.getProjectTriggers Update: See reproducible example. App script trigger.gs contains a custom function that is called from the spreadsheet. ...
Kittyfish's user avatar
0 votes
0 answers
38 views

is there any performance or optimisation in v8 lvl difference between these two blocks of code? // ArrayAssignmentPattern const [firts, second] = await Promise.all([ fetch('https://api.example.com/...
gromozeqa's user avatar
0 votes
1 answer
68 views

I am using puppeteer to run a bunch of JS to process HTML files in headless chromium. I noticed that when I use the Chromium binary downloaded from https://storage.googleapis.com/chromium-browser-...
vijayvenkatesans's user avatar
2 votes
1 answer
84 views

I’m experimenting with the ECMAScript proposal for ShadowRealm and ran into some deeply unintuitive behavior around object identity, function bindings, and prototype inheritance across realms. ...
dailker's user avatar
  • 56
6 votes
1 answer
187 views

I’m learning about string concatenation in JavaScript and how it compares to Java. In Java, if you write: final String LET = "a"; final String OOO = "aaaaa"; final String LET_OOO = ...
Altynay Muratkyzy's user avatar
0 votes
1 answer
187 views

I'm intresed how and in what cases V8 perform inlining. I know that V8 can inline functions to eliminate call cost, but i dont konw the rules for it to happen. I got how it works in obvious cases, ...
vanilla's user avatar
  • 145
2 votes
2 answers
224 views

For example: function makeFunc(a,b,c,d,e) { return () => { if (a) { /* do something expensive not referencing b,c,d,e */ } if (b) { /* do something expensive not referencing a,c,...
Ed Staub's user avatar
  • 15.8k
1 vote
1 answer
109 views

as far as my understanding go, in v8 if property access occurs on object with persistent shape jit optimize it to prety much struct acces that is just offsetting a pointer but is the same rules ...
vanilla's user avatar
  • 145
1 vote
1 answer
216 views

I have an unexpected issue installing v8 package in a new version of R 4.5under Ubuntu 22.04. This the output of running an install.packages() command in R: I think I tried all possible options of ...
dkolkin's user avatar
  • 103
0 votes
1 answer
110 views

I have following problem with C++/v8 interoperability. When I resolve the promise outside the constructor, the then callback never gets called. Here is the javascript v8 code: 'use strict'; v8log (&...
armagedescu's user avatar
  • 2,417
-2 votes
2 answers
194 views

I have a large monolithic application that, when run with --trace-gc, I see a lot of Scavange ... allocation failure, and the memory size increasing incrementally from ~20MB to ~300MB. I know malloc()...
Ivan Rubinson's user avatar
1 vote
1 answer
128 views

Out of an academic interest I am trying to understand the order of microtasks in case of multiple Promise chains. I. Two Promise chains These execute in a predictable "zipped" way: Promise....
Serge's user avatar
  • 1,613

15 30 50 per page
1
2 3 4 5
205