mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
* [type-summarizer] reimplement for broader support * Enable sourceMaps in all packages * include naming collision in summarizePackage test * fix readmes * remove unnecessary transient dependency * remove code that was commented out * remove outdated todo comment * ensure errors triggered by untyped-exports are ligible * remove unused import * break out snippet generation from AstIndexer * refactor several massive files into smaller pieces and add more inline docs * fix typos * update jest snapshots * add sections to readme that points people to the useful parts of the source code along with a high-level overview of how the type-summarizer works * remove --dump flag, it doesn't work * use decName instead of calling names.get a second time * include `export` as invalid name |
||
---|---|---|
.. | ||
src | ||
BUILD.bazel | ||
jest.config.js | ||
package.json | ||
README.md | ||
tsconfig.json |
@kbn/scalability-simulation-generator
A library to generate scalability benchmarking simulation file, that can be run by Gatling performance testing tool.
Usage
There are 2 ways to run auto-generated simulation files, using:
- Gatling bundle
- kibana-load-testing project
If you plan to use Gatling-bundle, generate simulation using this command:
node scripts/generate_scalability_simulations.js \
--dir "<path to @kbn/performance-testing-dataset-extractor output>" \
--baseUrl "<Kibana server baseURL>"
If you plan to use kibana-load-testing, use the following command:
node scripts/generate_scalability_simulations.js \
--dir "<path to @kbn/performance-testing-dataset-extractor output>" \
--baseUrl "<Kibana server baseURL>" \
--packageName "org.kibanaLoadTest"
To run the generated simulation:
- Move file to
src/test/scala/org/kibanaLoadTest
- Compile source code
mvn clean compile
- Run simulation
mvn gatling:test -Dgatling.simulationClass=org.kibanaLoadTest.<simulationFileName>