Alta Care Laboratoires Index du Forum

Alta Care Laboratoires
Un forum sur les laboratoires Alta Care

 FAQFAQ   RechercherRechercher   MembresMembres   GroupesGroupes   S’enregistrerS’enregistrer 
 ProfilProfil   Se connecter pour vérifier ses messages privésSe connecter pour vérifier ses messages privés   ConnexionConnexion 

MS Office Visio add-in performance issue

 
Poster un nouveau sujet   Répondre au sujet    Alta Care Laboratoires Index du Forum -> Alta Care Laboratoires -> Alta Care Laboratoires
Sujet précédent :: Sujet suivant  
Auteur Message
aaronpawlak


Hors ligne

Inscrit le: 04 Déc 2017
Messages: 7
Localisation: Alabama

MessagePosté le: Mer 25 Avr - 14:36 (2018)    Sujet du message: MS Office Visio add-in performance issue Répondre en citant

HI




we developed a Visio addin for modeling electrical network.
This addin works well for drawing with hundreds of shapes and sizes (about 3000 shapes). 
Total time for the drawing is more than 50 seconds (it is almost instantaneous whithout the add-in).
100 100 100. 100. 100. 100. 100. 100. 100 ............... Using. Using. Using. Using. Using. Using. Using. Using. Using. Using. Using. Using. Using. Using. Using. Using. Using. Using. Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using Using One of the main functions of our connector is connected to the other side of the connector.
This information is stored in custom dediacted properties upon connection.
The check connectivity function sequentially calls the following functions:
Microsoft.Office.Interop.Visio.IVShape.get_Connects () is called 11,094 times for a total duration of 19.249 seconds
Microsoft.Office.Interop.Visio.IVShape.get_Cells (string localeSpecificCellName) is called 11,094 times for a total duration of 16.120 seconds
This processing does not make any write call.
Are this performance normal? Would anyone have a solution to increase the performance of those calls? 




Please help.




I did not find the right solution from the Internet.




References:
https://www.forum-microsoft.org/viewtopic.php?t=109601
Teaser video production







Thanks!


Revenir en haut
Publicité






MessagePosté le: Mer 25 Avr - 14:36 (2018)    Sujet du message: Publicité

PublicitéSupprimer les publicités ?
Revenir en haut
Montrer les messages depuis:   
Poster un nouveau sujet   Répondre au sujet    Alta Care Laboratoires Index du Forum -> Alta Care Laboratoires -> Alta Care Laboratoires Toutes les heures sont au format GMT + 2 Heures
Page 1 sur 1

 
Sauter vers:  

Index | Panneau d’administration | Creer un forum | Forum gratuit d’entraide | Annuaire des forums gratuits | Signaler une violation | Conditions générales d'utilisation
Powered by phpBB © 2001, 2005 phpBB Group
Traduction par : phpBB-fr.com