Skip to content
VJ

V8 JavaScript Engine

بررسی عمیق موتور جاوااسکریپت کروم.

۱۰ مقاله۰ دنبال‌کننده#توسعه وب#زبان‌های برنامه‌نویسی
VJV8 JavaScript Engine

How we made JSON.stringify more than twice as fast

JSON.stringify is a core JavaScript function for serializing data. Its performance directly affects common operations across the web, from serializing data for a network request to saving data to localStorage . A faster JSON.stringify translates to quicker page interactions and more responsive applications. That’s…

توسعه وب۷ دقیقه مطالعه
VJV8 JavaScript Engine

Land ahoy: leaving the Sea of Nodes

V8’s end tier optimizing compiler, Turbofan, is famously one of the few large scale production compilers to use Sea of Nodes (SoN). However, since almost 3 years ago, we’ve started to get rid of Sea of Nodes and fall back to a more traditional Control Flow Graph (CFG) Intermediate Representation (IR), which we named…

توسعه وب۲۴ دقیقه مطالعه
VJV8 JavaScript Engine

Turbocharging V8 with mutable heap numbers

At V8, we're constantly striving to improve JavaScript performance. As part of this effort, we recently revisited the JetStream2 benchmark suite to eliminate performance cliffs. This post details a specific optimization we made that yielded a significant 2.5x improvement in the async fs benchmark, contributing to a…

توسعه وب۵ دقیقه مطالعه
VJV8 JavaScript Engine

WebAssembly JSPI has a new API

WebAssembly’s JavaScript Promise Integration (JSPI) API has a new API, available in Chrome release M126. We talk about what has changed, how to use it with Emscripten, and what is the roadmap for JSPI. JSPI is an API that allows WebAssembly applications that use sequential APIs to access Web APIs that are…

توسعه وب۶ دقیقه مطالعه
VJV8 JavaScript Engine

The V8 Sandbox

After almost three years since the initial design document and hundreds of CLs in the meantime, the V8 Sandbox — a lightweight, in process sandbox for V8 — has now progressed to the point where it is no longer considered an experimental security feature. Starting today, the V8 Sandbox is included in Chrome's…

توسعه وب۱۱ دقیقه مطالعه
VJV8 JavaScript Engine

WebAssembly JSPI is going to origin trial

WebAssembly’s JavaScript Promise Integration (JSPI) API is entering an origin trial, with Chrome release M123. What that means is that you can test whether you and your users can benefit from this new API. JSPI is an API that allows so called sequential code – that has been compiled to WebAssembly – to access Web…

توسعه وب۳ دقیقه مطالعه
همه را دیدید ✓