What is the direction of google map performance optimization?

now there is a big performance bottleneck due to the business and its dependence on google map JS API,.

the blue lines in the figure are drawn using the google poline method.
the performance of poline makes sense when there are only a few hundred nodes, and it takes about 400ms to draw a console.time test at a time.
but thousands of tens of thousands of nodes can feel obvious stutters, drawing at least 4-8 seconds at a time.
due to business needs, the blue line in the figure often needs to be redrawn, so repeated drawing of thousands of nodes has a great impact on the experience.
is there any good way to improve the performance of google map?

Sep.03,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45527-43a9e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45527-43a9e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?