enso/tools/legal-review
Jaroslav Tulach ab1ca54acd
Profile the language server (#3389)
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
2022-05-10 12:44:05 +00:00
..
Base Fix docparser (#3370) 2022-03-31 04:44:34 +00:00
Database Fix docparser (#3370) 2022-03-31 04:44:34 +00:00
engine Profile the language server (#3389) 2022-05-10 12:44:05 +00:00
Google_Api Fix docparser (#3370) 2022-03-31 04:44:34 +00:00
Image Fix docparser (#3370) 2022-03-31 04:44:34 +00:00
launcher Frgaal integration in sbt (#3421) 2022-05-04 21:18:40 +02:00
license-texts Bump scalac to 2.13.5 (#1531) 2021-03-01 16:35:57 +00:00
project-manager Frgaal integration in sbt (#3421) 2022-05-04 21:18:40 +02:00
Table Moving Aggregation to Java (#3364) 2022-04-04 09:12:48 +00:00