Crainiate Community

Support and discussion for users of Crainiate component software products
Welcome to Crainiate Community Sign in | Join | Help
in Search

Performance issues

Last post 09-11-2008 2:34 PM by jchau. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 01-22-2008 11:52 PM

    • jchau
    • Top 10 Contributor
    • Joined on 05-23-2007
    • Posts 22

    Performance issues

    I have a diagram that contains about 70 tables with links between most of them.  I serialize the diagram as a binary file and save it somewhere.  When I reload the diagram from the binary file, it takes about 2-3 minutes.  Once the diagram is loaded, scrolling is VERY slow too.  Is there anything I can do to speed things up?

     Below is sample code.  ModelUtils.LoadBinaryDataIntoModel just calls modelMain.Open passing into the binary stream.

    Try

    Me.modelMain.Suspend()

    ModelUtils.LoadBinaryDataIntoModel(Me.modelMain, aData)

    Catch ex As Exception

    If Debugger.IsAttached Then Debugger.Break()

    Me.modelMain.Clear()

    Finally

    Me.modelMain.Resume()

    End Try

    • 12.25.73.131
  • 01-23-2008 8:24 AM In reply to

    Re: Performance issues

    Please send me with the binary file so that I can investigate further for you.

    • 86.149.154.176
  • 05-21-2008 1:30 PM In reply to

    Re: Performance issues

    i also have the same performance concerns .

    I am interested in your suggestion

    ModelUtils.LoadBinaryDataIntoModel(Me.modelMain, aData)

    but have no idea what this code (above) means....

    I searched the help file for LoadBinaryDataIntoModel and can't find any reference

     can you provide a sample application? or code?

    thanks, john

    • 83.103.40.160
  • 08-28-2008 11:26 PM In reply to

    Re: Performance issues - LoadBinaryDataIntoModel

    hi, anyone know anything about LoadBinaryDataIntoModel??

     

    thanks, john

    • 164.144.248.25
  • 09-11-2008 2:34 PM In reply to

    • jchau
    • Top 10 Contributor
    • Joined on 05-23-2007
    • Posts 22

    Re: Performance issues - LoadBinaryDataIntoModel

     LoadBinaryDataIntoModel is my own function that wraps Model.Open().

    • 12.25.73.131
Page 1 of 1 (5 items)