We have already seen the high performance of TWaver Java, but what about its memory usage? What about it with different amounts of data? How does view component have effects on memory? We have tested the following amounts of data respectively:
- to only add elements into the DataBox
- to add elements into DataBox and show them on Network
- to add elements into the DataBox and show them on Tree
- to add elements into the DataBox and show them on Tree and Network
The following is the four situations of the memory usage of different number of elements. (x-axis: the number of nodes, unit: K; y-axis: the memory that elements take, unit: MB)
- To only add elements into the DataBox:
- To add elements into DataBox and show them on Network:
- To add elements into the DataBox and show them on Tree:
- To add elements into the DataBox and show them on Tree and Network:
We can see from the graphs above: the view components do have effects on the memory. But it is good that 100 thousand of nodes take only less than 500MB. During the process of the test, we find that system environment has had affected the results. (Here we have taken the average value.)
No comments:
Post a Comment