All Projects → fhinkel → Type Profile

fhinkel / Type Profile

Licence: mit
Collect runtime type information 😻 of your JavaScript code.

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Type Profile

object-shape
Get a description of a JS object's shape.
Stars: ✭ 24 (-95.37%)
Mutual labels:  v8
Web Tooling Benchmark
JavaScript benchmark for common web developer workloads
Stars: ✭ 290 (-44.02%)
Mutual labels:  v8
V8eval
Multi-language bindings to JavaScript engine V8
Stars: ✭ 332 (-35.91%)
Mutual labels:  v8
JustDraw
A Test for Android Canvas Painting with JavaScript Engine
Stars: ✭ 42 (-91.89%)
Mutual labels:  v8
Fibjs
JavaScript on Fiber (built on Chrome's V8 JavaScript engine)
Stars: ✭ 2,880 (+455.98%)
Mutual labels:  v8
Webrtc Tutorial
📚 WebRTC 中文教程
Stars: ✭ 305 (-41.12%)
Mutual labels:  v8
V8Android
A demo APP for embedding V8 engine in Android APP
Stars: ✭ 45 (-91.31%)
Mutual labels:  v8
V8py
Write Python APIs, then call them from JavaScript using the V8 engine.
Stars: ✭ 399 (-22.97%)
Mutual labels:  v8
Dvm
Deno Version Manager - Easy way to manage multiple active deno versions.
Stars: ✭ 271 (-47.68%)
Mutual labels:  v8
Memeye
👀 The eye of memory. A lightweight memory monitor and dashboard for Node.js application on development.
Stars: ✭ 332 (-35.91%)
Mutual labels:  v8
v8go-polyfills
Add polyfills to rogchap/v8go
Stars: ✭ 25 (-95.17%)
Mutual labels:  v8
Javascriptengineswitcher
JavaScript Engine Switcher determines unified interface for access to the basic features of popular JavaScript engines (ChakraCore, Jering.Javascript.NodeJS, Jint, Jurassic, MSIE JavaScript Engine for .NET, NiL.JS, Microsoft ClearScript.V8 and VroomJs). This library allows you to quickly and easily switch to using of another JavaScript engine.
Stars: ✭ 265 (-48.84%)
Mutual labels:  v8
V8.js.cn
V8 官方网站中文翻译
Stars: ✭ 308 (-40.54%)
Mutual labels:  v8
rust rewrite
A programming environment that aims to help people learn how to program in JavaScript, while giving them a tour on how old computers and their limitations used to be.
Stars: ✭ 26 (-94.98%)
Mutual labels:  v8
Javascript Idiosyncrasies
A bunch of Javascript idiosyncrasies to beginners.
Stars: ✭ 353 (-31.85%)
Mutual labels:  v8
pdjs
JavaScript External for Pure Data based on V8
Stars: ✭ 45 (-91.31%)
Mutual labels:  v8
Little Javascript Book
Early draft for The Little JavaScript Book
Stars: ✭ 305 (-41.12%)
Mutual labels:  v8
React Native V8
Opt-in V8 runtime for React Native Android
Stars: ✭ 514 (-0.77%)
Mutual labels:  v8
Deep Into Node
深入理解Node.js:核心思想与源码分析
Stars: ✭ 4,005 (+673.17%)
Mutual labels:  v8
Jk
Configuration as Code with ECMAScript
Stars: ✭ 322 (-37.84%)
Mutual labels:  v8

Runtime Type Information

Collect runtime type information 😻 of your JavaScript code.

This is a demo how you could use V8's new type information feature.

V8 can now collect type information at runtime. V8 is Google’s open source JavaScript engine. Chrome, Node.js, and many other applications use V8. This type profiler is built into the engine, the information is not statically inferred.

The V8 inspector protocol provides access to the type information. Since the inspector is available in Node (see Node Documentation), it's easy to write modules that utilize type information. This repo is a very simple demo of this.

Image of Demo

Compare the runtime type information with your TypeScript or Flow annotations. Or use them to find bugs and performance issues.

For technical details on type profile implementation in V8, see https://chromium-review.googlesource.com/c/v8/v8/+/508588 and the Design Doc.

Demo based on @hashseed's demo for code coverage.

Installation

Run npm start, then open localhost:8080.

Note: currently needs Node master, TypeProfile is not in 9.4. You can build from source or download a nightly build.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].