Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps
https://azgaar.github.io/Fantasy-Map-Generator
Other
4.48k stars 636 forks source link

Bad frame rate despite strong hardware #1075

Open VoloTeX opened 3 months ago

VoloTeX commented 3 months ago

For details, I refer back to my Reddit post:

https://www.reddit.com/r/FantasyMapGenerator/comments/1cteiv0/is_this_frame_rate_normal/

Azgaar commented 3 months ago

I cannot control browser rendering from the code side. I don't know how it can be fixed for you.

VoloTeX commented 3 months ago

Could it be a driver issue on my end? It happens on both Chromium browsers and Firefox after all.

Azgaar commented 3 months ago

Yes, maybe it's. If you turn off filters and set optimized performance in options it should be better.

VoloTeX commented 3 months ago

I updated Windows and my graphics card's driver. Nothing changed. I also monitored my system in Task-Manager: CPU 3% Ram 20% GPU 1%

VoloTeX commented 3 months ago

Even when I turn off all layers and set the points number to 1k and the canvas size to 100x100 nothing changes. Rendering is already set to best performance.

Azgaar commented 3 months ago

Even when I turn off all layers and set the points number to 1k and the canvas size to 100x100 nothing changes. Rendering is already set to best performance.

That's weird. The tool can be slow if filter are set and size is too big, that's a known issue. But 100x100px is nothing, it should be really really smooth on that canvas size.

GPU 1% probably indicates that your system doesn't use GPU for svg rendering and all the processing is done on CPU. SVG rendering is not highly GPU-dependable (as it's not 3d, it's a completely different technology), but still.

Azgaar commented 3 months ago

Are you able to check Frame Rendering data in Dev Tools in Chome? It should give a bit better data.

image
VoloTeX commented 3 months ago

In here? tools

Azgaar commented 3 months ago

No

VoloTeX commented 3 months ago

Where then? Are you using an extension?

Azgaar commented 3 months ago

No, it's a part of the default dev tools.