kibana/examples/esql_validation_example
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
..
public [ES|QL] remove worker (#218006) 2025-04-15 10:18:07 -06:00
kibana.jsonc [ES|QL] Move last packages to the project team (#179538) 2024-03-27 08:25:55 -07:00
README.md
tsconfig.json [ES|QL] remove worker (#218006) 2025-04-15 10:18:07 -06:00

esql_validation_example

Examples of the ES|QL validation service.

To run this example, start kibana with the --run-examples flag.

yarn start --run-examples