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

Increasing performance with 10000 cars and bigger maps #38

@mshinoy

Description

@mshinoy

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions