Skip to content

Instantly share code, notes, and snippets.

View steveroush's full-sized avatar

steveroush

  • nope
  • colorado, usa
View GitHub Profile
@steveroush
steveroush / !illustrateDot.md
Created March 10, 2026 20:30
illustrateDot - showing how dot (a Graphviz program) works

illustrateDot - showing how dot (a Graphviz program) works

This shell script and gvpr program show the phases (steps) that dot performs,

The dot document https://www.graphviz.org/documentation/TSE93.pdf) (refers to passes. The dot program refers to Phases. (e.g. dot -Gphase=1 myfile.gv will terminate after completing phase 1)

@steveroush
steveroush / dot_performance_world.gv
Last active February 9, 2026 21:36
Graphviz / dot performance test case: dot_performance_world.gv
This file has been truncated, but you can view the full file.
/***********************************************************************
this command:
f=dot_performance_world.gv
F=${f%.*};
time -p dot $f -Tsvg -v -Gnslimit=2 -Gmclimit=.22 -Gremincross=false -Gsearchsize=20 -Gsplines=false -o$F.svg
Produced these timings:
real 3415.88
user 3414.92
@steveroush
steveroush / dot_performance_view.gv
Last active February 9, 2026 21:36
Graphviz / dot performance test case: dot_performance_view.gv
This file has been truncated, but you can view the full file.
/***********************************************************************
this command:
f=dot_performance_view.gv
F=${f%.*};
time -p dot $f -Tsvg -v -Gnslimit=2 -Gmclimit=.22 -Gremincross=false -Gsearchsize=20 -Gsplines=false -o$F.svg
Produced these timings:
real 94.91
user 94.73
@steveroush
steveroush / dot_performance_veryWide0.gv
Last active February 9, 2026 21:36
Graphviz / dot performance test case: dot_performance_veryWide0.gv
/***********************************************************************
this command:
f=dot_performance_veryWide0.gv
F=${f%.*};
time -p dot $f -Tsvg -v -Gnslimit=2 -Gmclimit=.22 -Gremincross=false -Gsearchsize=20 -Gsplines=false -o$F.svg
Produced these timings:
real 26.27
user 25.79
@steveroush
steveroush / dot_performance_usefulexample.gv
Last active February 9, 2026 21:36
Graphviz / dot performance test case: dot_performance_usefulexample.gv
/***********************************************************************
this command:
f=dot_performance_usefulexample.gv
F=${f%.*};
time -p dot $f -Tsvg -v -Gnslimit=2 -Gmclimit=.22 -Gremincross=false -Gsearchsize=20 -Gsplines=false -o$F.svg
Produced these timings:
real 0.08
user 0.07
@steveroush
steveroush / dot_performance_universe.gv
Last active February 9, 2026 21:35
Graphviz / dot performance test case: dot_performance_universe.gv
This file has been truncated, but you can view the full file.
/***********************************************************************
this command:
f=dot_performance_universe.gv
F=${f%.*};
time -p dot $f -Tsvg -v -Gnslimit=2 -Gmclimit=.22 -Gremincross=false -Gsearchsize=20 -Gsplines=false -o$F.svg
Produced these timings:
real 107.48
user 107.68
@steveroush
steveroush / dot_performance_tests1172_1.gv
Last active February 9, 2026 21:35
Graphviz / dot performance test case: dot_performance_tests1172_1.gv
/***********************************************************************
this command:
f=dot_performance_tests1172_1.gv
F=${f%.*};
time -p dot $f -Tsvg -v -Gnslimit=2 -Gmclimit=.22 -Gremincross=false -Gsearchsize=20 -Gsplines=false -o$F.svg
Produced these timings:
real 45.93
user 46.91
@steveroush
steveroush / dot_performance_shorterGraph1.gv
Last active February 9, 2026 21:35
Graphviz / dot performance test case: dot_performance_shorterGraph1.gv
/***********************************************************************
this command:
f=dot_performance_shorterGraph1.gv
F=${f%.*};
time -p dot $f -Tsvg -v -Gnslimit=2 -Gmclimit=.22 -Gremincross=false -Gsearchsize=20 -Gsplines=false -o$F.svg
Produced these timings:
real 3.87
user 4.00
@steveroush
steveroush / dot_performance_root.gv
Last active February 9, 2026 21:35
Graphviz / dot performance test case: dot_performance_root.gv
/***********************************************************************
this command:
f=dot_performance_root.gv
F=${f%.*};
time -p dot $f -Tsvg -v -Gnslimit=2 -Gmclimit=.22 -Gremincross=false -Gsearchsize=20 -Gsplines=false -o$F.svg
Produced these timings:
real 0.20
user 0.20
@steveroush
steveroush / dot_performance_repro0.gv
Last active February 9, 2026 21:35
Graphviz / dot performance test case: dot_performance_repro0.gv
/***********************************************************************
this command:
f=dot_performance_repro0.gv
F=${f%.*};
time -p dot $f -Tsvg -v -Gnslimit=2 -Gmclimit=.22 -Gremincross=false -Gsearchsize=20 -Gsplines=false -o$F.svg
Produced these timings:
real 0.76
user 0.75