Visio Guy

Visio Discussions => General Visio => Topic started by: markshultz on August 14, 2012, 02:43:36 AM

Title: code speed
Post by: markshultz on August 14, 2012, 02:43:36 AM
Before launching into a coding endeavour, can someome comment on visio's rendering speed of the following 2 approaches, both of which should render a single square.
option A) a simple shape (e.g. square - single geometry) vs.
option B) a more complex shape (e.g. shape with 10+ geometries, 9 of which are NoShow and 1 of which is a square). 

i have an organization with ~1000 shapes to be drawn.  option B would be most convenient for various reasons but if it is going to bog down i would like to know about it sooner rather than later.
Title: Re: code speed
Post by: Paul Herber on August 14, 2012, 08:50:53 AM
Put the shape on a page, duplicate, select all, duplicate, repeat 9 more times, that will give you your 1000 shapes.
I also created this articles some time ago:
http://www.sandrila.co.uk/articles/visio-articles/visio-slowdown/ (http://www.sandrila.co.uk/articles/visio-articles/visio-slowdown/)
Title: Re: code speed
Post by: markshultz on August 14, 2012, 12:18:40 PM
that is helpful.  I think your test is analagous to rendering A) one or more 'simple shapes'. 
do you happen to know if rendering B would be more time consuming (given it has many more geometry sections) or roughly similar (given that most geometry sections are NoShow and hence not needing to be rendered)?
Title: Re: code speed
Post by: Paul Herber on August 14, 2012, 11:41:06 PM
Try it, just add some geometry sections to a shape and then duplicate the shape.