Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多个表格可以并行渲染么? #13309

Closed
summer1874 opened this issue Sep 18, 2020 · 6 comments
Closed

多个表格可以并行渲染么? #13309

summer1874 opened this issue Sep 18, 2020 · 6 comments
Labels
stale Inactive for a long time. Will be closed in 7 days.

Comments

@summer1874
Copy link

Version

4.9.0

Steps to reproduce

chartArray.map(item => {
  console.time('绘图')
  const chart = echarts.init(document.getElementById('echarts-container-'   item.id))
  const options = redGreenTableLineVisualMap(item.chart)
  chart.setOption(options)
  console.timeEnd('绘图')
})

What is expected?

多个同时并行

What is actually happening?

逐个执行

绘图: 520.172119140625ms
绘图: 425.0458984375ms
绘图: 424.07568359375ms
@echarts-bot
Copy link

echarts-bot bot commented Sep 18, 2020

Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.

In the meanwhile, please make sure that you have posted enough image to demo your request. You may also check out the API and chart option to get the answer.

If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.

If you are interested in the project, you may also subscribe our mail list.

Have a nice day! 🍵

@echarts-bot echarts-bot bot added bug pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Sep 18, 2020
@100pah
Copy link
Member

100pah commented Sep 18, 2020

渲染中一般没有异步的情况,并不太能并行。

@100pah 100pah removed bug pending We are not sure about whether this is a bug/new feature. labels Sep 18, 2020
@summer1874
Copy link
Author

summer1874 commented Sep 19, 2020

渲染中一般没有异步的情况,并不太能并行。

没有异步的话,一个页面渲染20个就得等执行栈一个个排队执行,大概就得等10S。有什么解决方案么?

@100pah
Copy link
Member

100pah commented Sep 19, 2020

  1. 每个图的渲染时长比较长,是否有可能进行优化。比如进行采样等缩减渲染的点。
  2. 如果页面有 20 个图,是否可以优先渲染当前展现的图,未展现的延后?

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

@github-actions github-actions bot added the stale Inactive for a long time. Will be closed in 7 days. label Sep 19, 2022
@github-actions
Copy link
Contributor

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Inactive for a long time. Will be closed in 7 days.
Projects
None yet
Development

No branches or pull requests

2 participants