Skip to content
Snippets Groups Projects
Unverified Commit 715023fd authored by Daniel's avatar Daniel
Browse files

DOC: Profiling with VisualVM.

parent ffe960dd
No related branches found
No related tags found
No related merge requests found
# Profiling #
If the server is started with the `run-debug-single` make target, it will expose
the JMX interface, by default on port 9090. Using a profiler such as VisualVM,
one can then connect to the CaosDB server and profile execution times.
## Example settings for VisualVM ##
In the sampler settings, you may want to add these expressions to the blocked
packages: `org.restlet.**, com.mysql.**`. Branches on the call tree which are
entirely inside the blacklist, will become leaves. Alternatively, specify a
whitelist, for example with `caosdb.server.database.backend.implementation.**`,
if you only want to see the time spent for certain MySQL calls.
# Manual Java-side benchmarking #
Benchmarking can be done using the `TransactionBenchmark` class (in package
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment