Author Topic: code speed  (Read 2981 times)

0 Members and 1 Guest are viewing this topic.

markshultz

  • Newbie
  • *
  • Posts: 7
code speed
« on: August 13, 2012, 09:43:36 PM »
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.

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3050
    • Paul Herber's website
Re: code speed
« Reply #1 on: August 14, 2012, 03: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/
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

markshultz

  • Newbie
  • *
  • Posts: 7
Re: code speed
« Reply #2 on: August 14, 2012, 07:18:40 AM »
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)?

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3050
    • Paul Herber's website
Re: code speed
« Reply #3 on: August 14, 2012, 06:41:06 PM »
Try it, just add some geometry sections to a shape and then duplicate the shape.
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/