mirror of
https://github.com/enso-org/enso.git
synced 2024-12-25 09:24:03 +03:00
ab1ca54acd
In order to analyse why the `runner.jar` is slow to start, let's _"self sample"_ it using the [sampler library](https://bits.netbeans.org/dev/javadoc/org-netbeans-modules-sampler/org/netbeans/modules/sampler/Sampler.html). As soon as the `Main.main` is launched, the sampling starts and once the server is up, it writes its data into `/tmp/language-server.npss`. Open the `/tmp/language-server.npss` with [VisualVM](https://visualvm.github.io) - you should have one copy in your GraalVM `bin/jvisualvm` directory and there has to be a GraalVM to run Enso. #### Changelog - add: the `MethodsSampler` that gathers information in `.npss` format - add: `--profiling` flag that enables the sampler - add: language server processes the updates in batches |
||
---|---|---|
.. | ||
jupyter-kernel/enso | ||
src/main/scala/org/enso/runner |