GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - danielrpgj31/v8-perf: ⏱️ Notes and resources related to v8 and thus Node.js performance

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

22 Commits
22 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
crankshaft
crankshaft
 
 
examples
examples
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.jshintrc
.jshintrc
 
 
README.md
README.md
 
 
compiler.md
compiler.md
 
 
data-types.md
data-types.md
 
 
gc.md
gc.md
 
 
inspection.md
inspection.md
 
 
language-features.md
language-features.md
 
 
memory-profiling.md
memory-profiling.md
 
 
package.json
package.json
 
 
runtime-functions.md
runtime-functions.md
 
 
snapshots+code-caching.md
snapshots+code-caching.md
 
 

Repository files navigation

v8-perf

Notes and resources related to V8 and thus Node.js performance.

Table of Contents generated with DocToc

  • Topics
    • Data Types
    • Compiler
    • Language Features
    • Garbage Collector
    • Memory Profiling
    • Inspection and Performance Profiling
    • Snapshots and Code Caching
    • Runtime Functions
  • V8 source and documentation
    • source
    • source documentation
  • LICENSE

Topics

Data Types

The data types document explains what data types V8 uses under the hood to store JavaScript data and how it relates to the performance of your code.

Compiler

The V8 compiler document outlines the V8 compiler pipeline including the Ignition Interpreter and TurboFan optimizing compiler. It explains how information about your code is executed to allow optimizations, how and when deoptimizations occur and how features like the CodeStubAssembler allowed reducing performance bottlenecks found in the older pipeline.

Language Features

The language features document lists JavaScript language features and provides info with regard to their performance mainly to provide assurance that performance of most features is no longer an issue as it was with the previous compiler pipeline.

Garbage Collector

The V8 garbage collector document talks about how memory is organized on the V8 heap, how garbage collection is performed and how it was parallelized as much as possible to avoid pausing the main thread more than necessary.

Memory Profiling

The memory profiling document explains how JavaScript objects are referenced to form a tree of nodes which the garbage collector uses to determine collectable objects. It also outlines numerous techniques to profile memory leaks and allocations.

Inspection and Performance Profiling

Inside the inspection document you will find techniques that allow you to profile your Node.js or web app, how to produce flamegraphs and what flags and tools are available to gain an insight into operations of V8 itself.

Snapshots and Code Caching

This document includes information as to how V8 uses caching techniques in order to avoid recompiling scripts during initialization and thus achieve faster startup times.

Runtime Functions

The runtime functions document gives a quick intro into C++ functions accessible from JavaScript that can be used to provide information of the V8 engine as well as direct it to take a specific action like optimize a function on next call.

V8 source and documentation

It's best to dig into the source to confirm assumptions about V8 performance first hand.

source

  • home of V8 source code
  • V8 code search
  • V8 source code mirror on github

source documentation

Documented V8 source code for specific versions of Node.js can be found on the v8docs page.

LICENSE

MIT

About

⏱️ Notes and resources related to v8 and thus Node.js performance

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.