kibana/examples
Drew Tate 9b4403b7dc
[ES|QL] remove worker (#218006)
## Summary

Fix https://github.com/elastic/kibana/issues/217923

Investigations in https://github.com/elastic/kibana/issues/217368 showed
that there was basically no performance impact to passing the AST across
a thread boundary. But we also didn't detect a pressing reason to remove
the worker.

Since then, however, we noticed another cost associated with the worker:
it's a hefty Javascript file, even in production builds. In addition, we
are doing parsing on the main thread _and_ the worker, so the
`kbn-esql-ast` package is actually being loaded and parsed twice by the
browser, once for the main thread and once for the worker.

This PR removes our worker. Our parsing associated with validation and
autocomplete will still be done asynchronously, but on the main thread.

I do not see any regression in perceived performance.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2025-04-15 10:18:07 -06:00
..
content_management_examples [TableListView] Remove listing limit warning (#217945) 2025-04-15 13:42:23 +02:00
controls_example [embeddable] replace Embeddable ViewMode with presentation-publishing ViewMode (#211960) 2025-03-04 09:05:23 -07:00
data_view_field_editor_example Upgrade EUI to v101.0.1 (#215698) 2025-03-28 19:29:23 +01:00
developer_examples
discover_customization_examples [Discover] Support state updates across tabs (#215620) 2025-03-31 15:41:59 -03:00
embeddable_examples [embeddable] fix race condition in useStateFromPublishingSubject (#216522) 2025-04-03 09:35:59 -06:00
error_boundary Upgrade EUI to v101.0.1 (#215698) 2025-03-28 19:29:23 +01:00
eso_model_version_example [Authz] Mandatory Security Config (#215180) 2025-03-27 12:04:53 -07:00
esql_ast_inspector [ES|QL] Source AST node parsing improvements and source selector parsing (#217299) 2025-04-07 16:11:10 +02:00
esql_validation_example [ES|QL] remove worker (#218006) 2025-04-15 10:18:07 -06:00
expressions_explorer
feature_control_examples [Authz] Mandatory Security Config (#215180) 2025-03-27 12:04:53 -07:00
feature_flags_example [Authz] Mandatory Security Config (#215180) 2025-03-27 12:04:53 -07:00
field_formats_example Upgrade EUI to v101.0.1 (#215698) 2025-03-28 19:29:23 +01:00
files_example Upgrade EUI to v101.0.1 (#215698) 2025-03-28 19:29:23 +01:00
grid_example [kbn-grid-layout][dashboard] Basic keyboard interaction (#208286) 2025-04-01 11:29:02 +02:00
guided_onboarding_example
hello_world
locator_examples
locator_explorer
partial_results_example Upgrade EUI to v101.0.1 (#215698) 2025-03-28 19:29:23 +01:00
portable_dashboards_example [embeddable] replace Embeddable ViewMode with presentation-publishing ViewMode (#211960) 2025-03-04 09:05:23 -07:00
preboot_example [Authz] Mandatory Security Config (#215180) 2025-03-27 12:04:53 -07:00
resizable_layout_examples
response_stream [Charts] Use chartTheme hook everywhere (#217370) 2025-04-14 18:09:15 +02:00
routing_example [Authz] Mandatory Security Config (#215180) 2025-03-27 12:04:53 -07:00
screenshot_mode_example Change reporting CODEOWNERS to response ops (#213560) 2025-04-04 23:27:42 +02:00
search_examples [Authz] Mandatory Security Config (#215180) 2025-03-27 12:04:53 -07:00
share_examples
sse_example [Authz] Mandatory Security Config (#215180) 2025-03-27 12:04:53 -07:00
state_containers_examples
ui_action_examples
ui_actions_explorer
unified_doc_viewer Upgrade ES client to 9.0.0-alpha.3 (#208776) 2025-02-25 14:37:23 +00:00
unified_field_list_examples
unified_tabs_examples [Discover Session][Tabs] Tab preview (#214090) 2025-03-20 14:10:56 +02:00
user_profile_examples
v8_profiler_examples [Authz] Mandatory Security Config (#215180) 2025-03-27 12:04:53 -07:00
README.asciidoc

[[example-plugins]]
== Example plugins

This folder contains example plugins.  To run the plugins in this folder, use the `--run-examples` flag (without a basepath), via

[source,bash]
----
yarn start --run-examples
----