Skip to content

[Meta] Runtime performance baseline and monitoring #7499

Closed as not planned
Closed as not planned

Description

@JasonStoltz

As our library continues to grow and evolve, we must evaluate and monitor how we're impacting performance in consuming projects -- particularly in Kibana.

This PR raised concerns about the potential performance impacts of the Emotion conversion.

We encountered some performance related issues in Kibana related to Emotion, but most of them have been mitigated by an effort to memoize emotion styles. At the time of writing this issue, we have about 80% of the library converted to Emotion, so we do not anticipate many more performance issues related to Emotion.

However, we must consider how we prevent future performance degredation and manage to a baseline level of performance in the EUI library on an ongoing basis.

The foundational task that we'd need to accomplish as part of this Meta issue is establishing that baseline, and putting a system in place to continually monitor it.

Activity

  1. added
    meta
    on Feb 1, 2024
  2. changed the title [-][Meta] Emotion performance concerns[/-] [+][Meta] Performance concerns[/+] on Feb 1, 2024
  3. changed the title [-][Meta] Performance concerns[/-] [+][Meta] Address Performance concerns[/+] on Mar 28, 2024
  4. changed the title [-][Meta] Address Performance concerns[/-] [+][Meta] Performance concerns[/+] on Mar 28, 2024
  5. changed the title [-][Meta] Performance concerns[/-] [+][Meta] Performance baseline and monitoring[/+] on Apr 1, 2024
  6. changed the title [-][Meta] Performance baseline and monitoring[/-] [+][Meta] Run-time performance baseline and monitoring[/+] on Apr 1, 2024
  7. changed the title [-][Meta] Run-time performance baseline and monitoring[/-] [+][Meta] Runtime performance baseline and monitoring[/+] on Apr 1, 2024
  8. added
    Stale
    on Oct 4, 2024
  9. removed
    Stale
    on Oct 14, 2024
  10. JasonStoltz commented on May 21, 2025

    @JasonStoltz
    ContributorAuthor

    Capturing related comment from Clint:

    Some context: we've seen some inconsistencies in rendering times using Emotion, based on a study someone just completed elsewhere. It occurred to me it would be amazing if we had a standard set of benchmark tests for EUI components, and even a "kitchen sink" test, that could be imported into Kibana and compared.

    Something like: https://stitches.dev/docs/benchmarks

  11. clintandrewhall commented on May 21, 2025

    @clintandrewhall
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    emotionmetatech debt

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions