broccoli-viz icon indicating copy to clipboard operation
broccoli-viz copied to clipboard

README directions/examples

Open camatangelo opened this issue 9 years ago • 7 comments

Wanted to request some directions/examples on how to use broccoli-viz in the README.

Also thanks for all the awesome work @stefanpenner !

camatangelo avatar Mar 30 '16 20:03 camatangelo

@rgbchris You can do BROCCOLI_VIZ=true ember serve and it will produce a dot file. You can then take that dot file and run it through graphviz. When you are running ember serve it will create a new dot file for the initial and subsequent builds.

chadhietala avatar Mar 30 '16 22:03 chadhietala

@chadhietala awesome - I appreciate it.

camatangelo avatar Mar 31 '16 01:03 camatangelo

we should still add the readme (As time permits)

stefanpenner avatar Mar 31 '16 13:03 stefanpenner

BROCCOLI_VIZ=true ember serve doesn't work on Windows

Reinmar-De-Grasse avatar Jul 18 '17 08:07 Reinmar-De-Grasse

@notgifted if you're on a newer ember-cli you'll need BROCCOLI_VIZ=1.

see the perf guide

hjdivad avatar Jul 18 '17 15:07 hjdivad

@notgifted

The syntax for windows is the following.

setx BROCCOLI_VIZ 1
ember serve
REG delete HKCU\Environment /F /V BROCCOLI_VIZ 

Alternatively, (and untested)

set BROCCOLI_VIZ=1
ember serve
set BROCCOLI_VIZ=

Doing this will then generate the instrumentation.build.0.json and instrumentation.init.json files.

Kilowhisky avatar May 08 '20 15:05 Kilowhisky

@Kilowhisky thanks for the comment!

Do you have some time to PR updates to the README for windows users? It would be much appreciated.

hjdivad avatar May 11 '20 15:05 hjdivad