mraleph/irhydra

Tool for displaying IR used by V8 and Dart VM optimizing compilers

JavaScript

441

254 commits

updated Oct 2, 2025

See the code

README

IRHydra is an in-browser tool that can display V8 and Dart VM compilation artifacts (namely intermediate representations and native code) dumped during optimization.

Features

See this and this posts for description of the most important features.

Hosted versions

IRHydra

IRHydra2, requires V8 ≥ 3.24.39.

Running Locally

IRHydra is written in Dart the easiest way to run it is to download full Dart bundle and use Dart Editor.

Detailed information about Dart development can be found in the Dart: Up and Running.

Prerequisites

Dart Editor Workflow

Launch Editor, open IRHydra folder via File > Open Existing Folder, right click web/index.html and select Run in Dartium.

Dartium Workflow

Requires Dart SDK and Dartium.

$ cd irhydra
# Get all dependencies
$ pub get
# Serve root
$ pub serve
$ DART_FLAGS="--checked" dart/chromium/chrome --enable-experimental-webkit-features --enable-devtools-experiments http://localhost:8000/web/index.html

JavaScript Workflow

Requires Dart SDK.

$ cd irhydra
# Get all dependencies
$ pub get
# Serve dart2js compiled IRHydra at http://localhost:8080/
# It will be recompiled when needed.
$ pub serve

or

# Build IRHydra for deployment. Result is in build/
$ pub build

Contributors

mraleph

247 commits

brendankenny

2 commits

twokul

2 commits

paulfryzel

1 commits

mraleph/irhydra

Tool for displaying IR used by V8 and Dart VM optimizing compilers

JavaScript

441

254 commits

updated Oct 2, 2025

See the code

README

IRHydra is an in-browser tool that can display V8 and Dart VM compilation artifacts (namely intermediate representations and native code) dumped during optimization.

Features

See this and this posts for description of the most important features.

Hosted versions

IRHydra

IRHydra2, requires V8 ≥ 3.24.39.

Running Locally

IRHydra is written in Dart the easiest way to run it is to download full Dart bundle and use Dart Editor.

Detailed information about Dart development can be found in the Dart: Up and Running.

Prerequisites

Dart Editor Workflow

Launch Editor, open IRHydra folder via File > Open Existing Folder, right click web/index.html and select Run in Dartium.

Dartium Workflow

Requires Dart SDK and Dartium.

$ cd irhydra
# Get all dependencies
$ pub get
# Serve root
$ pub serve
$ DART_FLAGS="--checked" dart/chromium/chrome --enable-experimental-webkit-features --enable-devtools-experiments http://localhost:8000/web/index.html

JavaScript Workflow

Requires Dart SDK.

$ cd irhydra
# Get all dependencies
$ pub get
# Serve dart2js compiled IRHydra at http://localhost:8080/
# It will be recompiled when needed.
$ pub serve

or

# Build IRHydra for deployment. Result is in build/
$ pub build

Contributors

mraleph

247 commits

brendankenny

2 commits

twokul

2 commits

paulfryzel

1 commits

Languages

JavaScript

47.4%

Dart

30.4%

Assembly

18.2%

HTML

2.5%

CSS

1.6%