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:54 UTC

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

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