mirror of
https://github.com/enso-org/enso.git
synced 2024-12-26 18:03:31 +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
15 lines
468 B
Plaintext
15 lines
468 B
Plaintext
Apache NetBeans
|
|
Copyright 2017-2021 The Apache Software Foundation
|
|
|
|
This product includes software developed at
|
|
The Apache Software Foundation (http://www.apache.org/).
|
|
|
|
The code is based on NetBeans, that has been kindly donated to the Apache
|
|
Software Foundation by Oracle.
|
|
|
|
The code was Copyright 1997-2016 Oracle and/or its affiliates. The Initial
|
|
Developer of the Original Software was Sun Microsystems, Inc. Portions
|
|
Copyright 1997-2006 Sun Microsystems, Inc.
|
|
|
|
|