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/06/07 08:47:49 UTC

[GitHub] [echarts] LeoB-O opened a new issue, #17173: [Bug] Pie chart with large data has performance issue. 大数据量下饼图存在性能问题

LeoB-O opened a new issue, #17173:
URL: https://github.com/apache/echarts/issues/17173

   ### Version
   
   5.3.2
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=pie-legend
   
   ### Steps to Reproduce
   
   Change the params of genData in the reproduction link (default value is 50) to bigger value (eg. 1000)
   将复现链接中genData函数的参数(默认是50)替换为更大的值(例如1000)
   
   ### Current Behavior
   
   page stuck
   页面卡顿
   
   ### Expected Behavior
   
   render takes shorter time
   渲染更迅速
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   Seems like the function getPercentWithPrecision is called too many times, even though all the params is same (except idx). The result of seats can be reused.
   
   看起来getPercentWithPrecision函数被调用了太多次,每次调用传的参数都是一致的(除了idx)。计算出来的seats结果是可以被复用的。


-- 
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.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


[GitHub] [echarts] Ovilia commented on issue #17173: [Bug] Pie chart with large data has performance issue. 大数据量下饼图存在性能问题

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #17173:
URL: https://github.com/apache/echarts/issues/17173#issuecomment-1149391829

   Pie charts are not expected to have large amount number of data. https://echarts.apache.org/examples/zh/editor.html?c=pie-legend is an example to show how legend paging works but from the perspect of data visualization, it's definitely a bad example of pie charts. This is because when there are a lot of data, the pie pieces are hard to tell which data is bigger and how much bigger they are to each other. It is better to use bar charts to show the difference.
   For that reason, this performance issuse may not be prioritized.


-- 
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


[GitHub] [echarts] echarts-bot[bot] commented on issue #17173: [Bug] Pie chart with large data has performance issue. 大数据量下饼图存在性能问题

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17173:
URL: https://github.com/apache/echarts/issues/17173#issuecomment-1148381684

   @LeoB-O 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**
   
   [Bug] Pie chart with large data has performance issue.
   
   **BODY**
   
   ### Version
   
   5.3.2
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=pie-legend
   
   ### Steps to Reproduce
   
   Change the params of genData in the reproduction link (default value is 50) to bigger value (eg. 1000)
   Replace the argument of the genData function in the recurrence link (50 by default) with a larger value (e.g. 1000)
   
   ### Current Behavior
   
   page stuck
   Page stuttering
   
   ### Expected Behavior
   
   render takes shorter time
   Renders faster
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   ### Any additional comments?
   
   Seems like the function getPercentWithPrecision is called too many times, even though all the params is same (except idx). The result of seats can be reused.
   
   It seems that the getPercentWithPrecision function has been called too many times, and the arguments passed each time are called the same (except for idx). The calculated seats results are reusable.
   </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


[GitHub] [echarts] echarts-bot[bot] closed issue #17173: [Bug] Pie chart with large data has performance issue. 大数据量下饼图存在性能问题

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #17173: [Bug] Pie chart with large data has performance issue. 大数据量下饼图存在性能问题
URL: https://github.com/apache/echarts/issues/17173


-- 
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