mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
# Backport This will backport the following commits from `main` to `7.17`: - [chore(NA): updates from lmdb-store to lmdb (#145891)](https://github.com/elastic/kibana/pull/145891) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Tiago Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2022-11-28T23:48:15Z","message":"chore(NA): updates from lmdb-store to lmdb (#145891)\n\nThis PR upgrades from `lbmd-store` into `lmdb` which is the new package\r\nand fully compatible with node `v18`.\r\nSo far my tests shows the new implementation is compatible with our\r\nusages and I'm actually seeing a great performance boost when comparing\r\nwith main specially on subsequent calls of the same command.\r\n\r\nThis can be tested by running the following 2 times on main vs this\r\nbranch `time node scripts/kibana --config\r\nsrc/cli/serve/integration_tests/__fixtures__/invalid_config.yml\r\n--migrations.skip=true --verbose`\r\n\r\nI verify the following on my machine\r\n\r\n**main:**\r\n_1st run:_ 36s\r\n_2nd run:_ 34s\r\n\r\n**this branch:**\r\n_1st run:_ 35s\r\n_2nd run:_ 6s\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"e65c6526107670689c520bc20c973626c12c636d","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v8.7.0"],"number":145891,"url":"https://github.com/elastic/kibana/pull/145891","mergeCommit":{"message":"chore(NA): updates from lmdb-store to lmdb (#145891)\n\nThis PR upgrades from `lbmd-store` into `lmdb` which is the new package\r\nand fully compatible with node `v18`.\r\nSo far my tests shows the new implementation is compatible with our\r\nusages and I'm actually seeing a great performance boost when comparing\r\nwith main specially on subsequent calls of the same command.\r\n\r\nThis can be tested by running the following 2 times on main vs this\r\nbranch `time node scripts/kibana --config\r\nsrc/cli/serve/integration_tests/__fixtures__/invalid_config.yml\r\n--migrations.skip=true --verbose`\r\n\r\nI verify the following on my machine\r\n\r\n**main:**\r\n_1st run:_ 36s\r\n_2nd run:_ 34s\r\n\r\n**this branch:**\r\n_1st run:_ 35s\r\n_2nd run:_ 6s\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"e65c6526107670689c520bc20c973626c12c636d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/145891","number":145891,"mergeCommit":{"message":"chore(NA): updates from lmdb-store to lmdb (#145891)\n\nThis PR upgrades from `lbmd-store` into `lmdb` which is the new package\r\nand fully compatible with node `v18`.\r\nSo far my tests shows the new implementation is compatible with our\r\nusages and I'm actually seeing a great performance boost when comparing\r\nwith main specially on subsequent calls of the same command.\r\n\r\nThis can be tested by running the following 2 times on main vs this\r\nbranch `time node scripts/kibana --config\r\nsrc/cli/serve/integration_tests/__fixtures__/invalid_config.yml\r\n--migrations.skip=true --verbose`\r\n\r\nI verify the following on my machine\r\n\r\n**main:**\r\n_1st run:_ 36s\r\n_2nd run:_ 34s\r\n\r\n**this branch:**\r\n_1st run:_ 35s\r\n_2nd run:_ 6s\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"e65c6526107670689c520bc20c973626c12c636d"}}]}] BACKPORT--> --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
11 lines
525 B
JavaScript
11 lines
525 B
JavaScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
|
|
require('../src/setup_node_env/ensure_node_preserve_symlinks');
|
|
require('@kbn/babel-register').registerNodeAutoTranspilation();
|
|
require('../src/dev/run_precommit_hook');
|