| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Install jsvu. I use V8 for debug but you can use whatever engine you need. Check documentation for more info.
If you on Mac then install gnu-time utility: brew install gnu-time. If you on Linux then go to v8.sh and replace gtime with /usr/bin/time
Run sh v8/bc.sh file.js to execute file.js with V8 engine using flags listed in v8/bc.sh. This will generate a bytecode for each function that prefixed with bc__*. Natives syntax allowed. check bc.sh for more exec modes.
Run sh v8/mc.sh file.js to execute file.js with V8 engine using flags listed in v8/mc.sh. This will generate an optimized machine code for each function that prefixed with bc__* and if they were optimized either manually or my optimization compiler. Natives syntax allowed.
| Back | FazBrowse Home | New Git URL |