You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/10/27 08:24:06 UTC
[GitHub] [echarts] echarts-bot[bot] commented on issue #17841: [perf] websocket+A large amount of data websocket+10万级别数据+折线图
echarts-bot[bot] commented on issue #17841:
URL: https://github.com/apache/echarts/issues/17841#issuecomment-1293168987
@axz0506 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[perf] websocket+A large amount of data websocket+100,000 level data+line chart
**BODY**
### Version
eg.5.4.0
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
1. Problems encountered: web page freezes, web page crashes after 2 minutes
2. The business that needs to be realized: watch the opening and closing height of the sluice one day through the line chart of echarts
2. The logic of writing code:
Return 100,000 pieces of data at one time through websocket and use an array to receive data, and then pass one piece of data through websocket in one second, and then use the array of 100,000 pieces of data to shift() the array first and then push() a piece of data. Update echarts in setoption. As a result, the webpage crashes after 2 minutes
1. Problems encountered: the web page is stuck, and the web page crashes after 2 minutes
2, need to achieve business: through the echarts line chart to watch the opening and closing height of the day of the sluice
2. The logic of writing code:
Return 100,000 pieces of data at a time through websocket using an array to receive data, and then pass one piece of data a second through websocket, and then shift() the array of 100,000 pieces of data and then push() one piece of data . Update echarts in setoption. Two minutes later the page crashed
### Current Behavior
web page crashes
### Expected Behavior
web page crashes
### Environment
````markdown
- OS:windows11
- Browser: Chrome, Edge
- Framework:Angular13
````
### Any additional comments?
_No response_
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org