Ben Murdoch | 61f157c | 2016-09-16 13:49:30 +0100 | [diff] [blame] | 1 | Turbolizer is a HTML-based tool that visualizes optimized code along the various |
| 2 | phases of Turbofan's optimization pipeline, allowing easy navigation between |
| 3 | source code, Turbofan IR graphs, scheduled IR nodes and generated assembly code. |
| 4 | |
| 5 | Turbolizer consumes .json files that are generated per-function by d8 by passing |
| 6 | the '--trace-turbo' command-line flag. |
| 7 | |
| 8 | Host the turbolizer locally by starting a web server that serves the contents of |
| 9 | the turbolizer directory, e.g.: |
| 10 | |
| 11 | cd src/tools/turbolizer |
| 12 | python -m SimpleHTTPServer 8000 |
| 13 | |
| 14 | Graph visualization and manipulation based on Mike Bostock's sample code for an |
| 15 | interactive tool for creating directed graphs. Original source is at |
| 16 | https://github.com/metacademy/directed-graph-creator and released under the |
| 17 | MIT/X license. |
| 18 | |
| 19 | Icons dervied from the "White Olive Collection" created by Breezi released under |
| 20 | the Creative Commons BY license. |