Skip to content

[PoC] Storybook vs Jest benchmark 10 slowest tests from sidebar_responsive#254903

Draft
AlexGPlay wants to merge 1 commit intoelastic:mainfrom
AlexGPlay:poc-storybook-test-runner
Draft

[PoC] Storybook vs Jest benchmark 10 slowest tests from sidebar_responsive#254903
AlexGPlay wants to merge 1 commit intoelastic:mainfrom
AlexGPlay:poc-storybook-test-runner

Conversation

@AlexGPlay
Copy link
Contributor

@AlexGPlay AlexGPlay commented Feb 25, 2026

Summary

This is a PoC testing the capabilities of the storybook test runner vs jest. The main idea is to compare the performance of both of them - that's why the configuration is tailored just for the benchmark and not generic enough to be used elsewhere. The same way there are parts that can be improved and most of it was written by Cursor.

Benchmark

100 runs for each of them:

Jest Storybook
Avg 10.359s 5.515s
Max 13.076s 6.21s
Min 8.745s 5.295s

@elasticmachine
Copy link
Contributor

🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!
  • Click to trigger kibana-deploy-cloud-from-pr for this PR!
  • Click to trigger kibana-entity-store-performance-from-pr for this PR!
  • Click to trigger kibana-storybooks-from-pr for this PR!

@AlexGPlay AlexGPlay changed the title [Storybook vs Jest benchmark] Benchmark 10 slowest tests from sidebar_responsive [PoC] Storybook vs Jest benchmark 10 slowest tests from sidebar_responsive Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants