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?