- changed title to API Setparam & Create New Object Performance Problem
- edited description
- marked as enhancement
API Setparam & Create New Object Performance Problem
Issue #235
resolved
I am using the attached settings file. i am testing setparamvaluenum function. 900 setparamvalueNum call takes almost 4500 milisecond. Is it possible to look at the overhead of this function?
From my observations, when the project becomes bigger this value doesn't change a lot.
Dim swList = AECprj.building.storyList(0).columnList
For j = 0 To 100
For i = 0 To swList.Count - 1
Dim sw = swList(i)
sw.k_x = 5 * i * j
sw.k_y = 5 * i * j
Next
Next
Create new object
It takes 5 milisecond to create one object. Is it possible to make this process faster?
For i = 0 To 100
AECprj.mainForm.conn.ObjectCreate(sw.brim.ID, "Group", CStr(i))
Next
Comments (2)
-
reporter -
- changed status to resolved
In the latest OpenBrIM NuGet package, you have HoldMessages property on OBrIMConn object which will cut communication with OpenBrIM server (using a local buffer). You can control when your app communicated with OpenBrIM and hence increase performance.
- Log in to comment