Skip to content Skip to sidebar Skip to footer
Showing posts with the label V8

How Is Adding A New Class With Prototype Methods A Form Of V8 Optimization In Js?

I'm reading through Winston's code base and there was a comment in their DerivedLogger clas… Read more How Is Adding A New Class With Prototype Methods A Form Of V8 Optimization In Js?

Hidden Classes And Equivalence Between {} Object Vs. Custom Constructor (v8)

Given this article: http://richardartoul.github.io/jekyll/update/2015/04/26/hidden-classes.html If … Read more Hidden Classes And Equivalence Between {} Object Vs. Custom Constructor (v8)

Does Javascript Have The Equivalent Of Python's __getattribute__?

Does JavaScript have the equivalent of Python's __getattribute__? In the sense that I'd lik… Read more Does Javascript Have The Equivalent Of Python's __getattribute__?

Filtering Unwanted Strings In V8 Heap Snapshot Programmatically (without Dev-tool Gui)

I have a Node app that sends JavaScript source code as string to a worker thread that executes it i… Read more Filtering Unwanted Strings In V8 Heap Snapshot Programmatically (without Dev-tool Gui)

Why The Prototype Can Be Retrieved But The __proto__ Is Undefined In Javascript?

Now I am learning JavaScript prototype and __proto__, and find several useful links __proto__ VS. p… Read more Why The Prototype Can Be Retrieved But The __proto__ Is Undefined In Javascript?

Why Does V8 Uses Pointer Tagging And Not Nan Boxing?

I'm learning V8 internals now. I learned that V8 uses pointer tagging for value storing, but wo… Read more Why Does V8 Uses Pointer Tagging And Not Nan Boxing?

Profiling Javascript Code On Nodejs - Possible Approaches

My aim is to develop a java script profiler for nodejs . The requirements are as under : Should be… Read more Profiling Javascript Code On Nodejs - Possible Approaches

Javascript Internals: At What Interval Does The Event Loop Run?

This is a question about JavaScript internals. Lets say I have 10 async tasks that all take x numbe… Read more Javascript Internals: At What Interval Does The Event Loop Run?

How Does V8 Handle Objects In "large Object Space"

I've read in V8 wiki that there's large object space in heap which is not moved by GC. Lar… Read more How Does V8 Handle Objects In "large Object Space"

V8 Will Not Print Out Disassembly

I compiled v8 with the disassembler option: tools/dev/v8gen.py x64.debug -- v8_enable_disassembler… Read more V8 Will Not Print Out Disassembly

Node Js / V8 Destructuring Bug?

Using node 8.4.0: $ node > {x, y} = {x: 1, y: 2} { x: 1, y: 2 } > However, the following err… Read more Node Js / V8 Destructuring Bug?

Performance Guidelines For Async/Await In Node Version 8

async/await is available with node version 8. The code is linear for the first time in nodejs, nat… Read more Performance Guidelines For Async/Await In Node Version 8

Could Someone Help Describe The Two Types Of Array Storage In Javascript?

I'm reading this article about V8 on HTML5Rocks. The article is old but I understand almost no… Read more Could Someone Help Describe The Two Types Of Array Storage In Javascript?

Hidden Classes And Equivalence Between {} Object Vs. Custom Constructor (v8)

Given this article: http://richardartoul.github.io/jekyll/update/2015/04/26/hidden-classes.html If … Read more Hidden Classes And Equivalence Between {} Object Vs. Custom Constructor (v8)

Profiling JavaScript Code On Nodejs - Possible Approaches

My aim is to develop a java script profiler for nodejs . The requirements are as under : Should be… Read more Profiling JavaScript Code On Nodejs - Possible Approaches