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

Safari performance issue with bar charts #1533

Closed
dej611 opened this issue Dec 22, 2021 · 0 comments · Fixed by #1535
Closed

Safari performance issue with bar charts #1533

dej611 opened this issue Dec 22, 2021 · 0 comments · Fixed by #1535
Assignees
Labels
bug Something isn't working :performance Performance related issues :xy Bar/Line/Area chart related

Comments

@dej611
Copy link
Contributor

dej611 commented Dec 22, 2021

Describe the bug
While testing some PR on Kibana Visualize I've noticed a big performance hit in Safari when using a Date histogram (xAccessor) + split series + few yAccessors.

Also on Chrome I've profiled the same flow and, while it's not blocking, the rendering may take up to 1+ second.
I've got a Chrome CPU profiling dump if you need it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Kibana Visualize, create new Vertical Bar chart using the sample logs dataset
  2. Click on time range to set "Last 24 hours"
  3. Configure 2 metrics: Average of bytes + Average of memory
  4. Configure Date histogram as X-axis
  5. Configure Split series on ip field (5 terms)
  6. Configure both series to be in Normal mode
  7. Click refresh

Expected behaviour
Quick refresh of the chart. Or at least not blocking refresh.

Screenshots

Screenshot 2021-12-22 at 12 39 50

Version (please complete the following information):

  • OS: MacOS 11.4
  • Browser: Safari 14.1.1 (16611.2.7.1.4), Chrome 95.0.4638.69 (Official Build) (x86_64)
  • Elastic Charts: 40.2.0
@dej611 dej611 added bug Something isn't working :xy Bar/Line/Area chart related :performance Performance related issues labels Dec 22, 2021
@markov00 markov00 self-assigned this Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working :performance Performance related issues :xy Bar/Line/Area chart related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants