Visio Guy

Visio Discussions => Programming & Code => Topic started by: jimmyhopps on August 09, 2012, 08:19:47 PM

Title: refresh speed with large number of shape properties
Post by: jimmyhopps on August 09, 2012, 08:19:47 PM
Can someone help me understand the relationship between increased number of shape properties and refresh/drawing speed?  My org charts will have 200-5000 entities/shapes in them, and the use cases all entail toggling on/off and/or formatting shapes with various data attributes (e.g. fill color).  We are doing this in 2007 Standard (due to IT requirements) and can not use data linking.

a collegues tells me that if the number of properties we load into each shape starts going above about [5], the refresh time will be quite long.  However, I can imagine we would like to have 15 to 20 in total.  In our current code, a refresh on fill color takes about 30 seconds with 250 shapes. 

Any thoughts or reference material?
Title: Re: refresh speed with large number of shape properties
Post by: Paul Herber on August 10, 2012, 01:29:12 AM
By shape properties do you mean Shape Data (aka Custom Properties)? These should make no (or very little) difference.
Title: Re: refresh speed with large number of shape properties
Post by: Paul Herber on August 10, 2012, 01:32:23 AM
and:
http://www.sandrila.co.uk/articles/visio-articles/visio-slowdown/ (http://www.sandrila.co.uk/articles/visio-articles/visio-slowdown/)
Browser ID: smf (is_webkit)
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 47 (show)
Files included: 25 - 925KB. (show)
Memory used: 766KB.
Tokens: post-login.
Cache hits: 7: 0.00143s for 22,301 bytes (show)
Cache misses: 1: (show)
Queries used: 9.

[Show Queries]