https://github.com/vhf/monomorphist
monomorphist - a JavaScript performance companion
https://github.com/vhf/monomorphist
chrome javascript node performance v8
Last synced: about 2 months ago
JSON representation
monomorphist - a JavaScript performance companion
- Host: GitHub
- URL: https://github.com/vhf/monomorphist
- Owner: vhf
- License: mit
- Created: 2016-09-18T21:17:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-27T22:06:49.000Z (about 8 years ago)
- Last Synced: 2025-02-28T07:51:52.154Z (2 months ago)
- Topics: chrome, javascript, node, performance, v8
- Language: JavaScript
- Homepage: https://mono.morph.ist
- Size: 1.03 MB
- Stars: 32
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# monomorphist
## a JavaScript performance companionThis repo contains the code running at [mono.morph.ist](https://mono.morph.ist). It's still early stage / beta software. It's a quick hack I built in airports and airplanes between New York, Hamburg, and Switzerland.
The goal is to provide a few online tools giving V8 JavaScript performance insights.
### Node/V8 bailouts
What's available right now is a tool to trace [V8 bailouts / deopts](http://draft.li/blog/2016/01/22/chromium-chrome-v8-crankshaft-bailout-reasons/) by running snippets on various Node versions. If you're not familiar with these things, take a look at [bluebird/Optimization killers](https://github.com/petkaantonov/bluebird/wiki/Optimization-killers) and [v8 bailout reasons](https://github.com/vhf/v8-bailout-reasons).
Each job instance has the following NPM packages pre-installed:
- `lodash`
- `bluebird`
- `moment`
- `underscore`
- `q`
- `jquery`### [IRHydra](https://github.com/mraleph/irhydra)
monomorphist also provides a hosted IRHydra instance and everything needed to generate the artefacts IRHydra needs.
We have more than 100 V8 versions compiled, choose the one for which you'd like to inspect the generated internal representation and assembly.
## Architecture of the project
* The main part is a Meteor application
* It orchestrates docker containers running user code
* It schedules building docker images for every node and every v8 version## What you can do to help
* Open issues to discuss features, suggest improvements or notify me of a bug
* Via PRs, fix bugs, improve the design, the docs or anything else
* Contribute explanations about [bailout/deopt reasons](https://github.com/vhf/v8-bailout-reasons)