Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Increasing performance with 10000 cars and bigger maps #38

Open
shinz4u opened this issue Aug 19, 2020 · 0 comments
Open

Increasing performance with 10000 cars and bigger maps #38

shinz4u opened this issue Aug 19, 2020 · 0 comments

Comments

@shinz4u
Copy link

shinz4u commented Aug 19, 2020

I have a project that requires the simulating a network which is quite large, The UI renders it quickly in the beginning but as ore cars are added to the network, the flow slows down. The animation becomes choppy.

The fps gets dropped to 4-5 frames per second which is quite choppy.

In order to reduce the time taken for simulation, I am actually reading the states of the simulation from a DB that I have created. So there is essentially no simulation involved, it is just visualizing how the network performed.

Is there a limit to how many cars/ how large a network can be simulated with this?

When I inspect the performance using chrome webtools, I can see that initially the webGLRenderer takes around 40 milli seconds, but later on it takes up 100ms when there are more cars. See attached figfure.

Screen Shot 2020-08-19 at 2 39 08 PM (2)

Do you have any suggestion in order to speed up rendering for a smooth playback?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant