Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-server
Commits
acc6fbde
Verified
Commit
acc6fbde
authored
5 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Plain Diff
Merge branch 'dev' of gitlab.com:caosdb/caosdb-server into dev
parents
15d05992
715023fd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/devel/Benchmarking.md
+14
-0
14 additions, 0 deletions
doc/devel/Benchmarking.md
makefile
+2
-1
2 additions, 1 deletion
makefile
with
16 additions
and
1 deletion
doc/devel/Benchmarking.md
+
14
−
0
View file @
acc6fbde
# 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
...
...
This diff is collapsed.
Click to expand it.
makefile
+
2
−
1
View file @
acc6fbde
...
...
@@ -25,6 +25,7 @@
SHELL
:=
/bin/bash
JPDA_PORT
?=
9000
JMX_PORT
?=
9090
compile
:
easy-units
mvn compile
...
...
@@ -39,7 +40,7 @@ run-debug: jar
java
-Xrunjdwp
:transport
=
dt_socket,address
=
0.0.0.0:
$(
JPDA_PORT
)
,server
=
y,suspend
=
n
-Dcaosdb
.debug
=
true
-jar
target/caosdb-server-0.1-SNAPSHOT-jar-with-dependencies.jar
run-debug-single
:
java
-Xrunjdwp
:transport
=
dt_socket,address
=
0.0.0.0:
$(
JPDA_PORT
)
,server
=
y,suspend
=
n
-Dcaosdb
.debug
=
true
-jar
target/caosdb-server-0.1-SNAPSHOT-jar-with-dependencies.jar
java
-Dcom
.sun.management.jmxremote
-Dcom
.sun.management.jmxremote.port
=
$(
JMX_PORT
)
-Dcom
.sun.management.jmxremote.ssl
=
false
-Dcom
.sun.management.jmxremote.authenticate
=
false
-Xrunjdwp
:transport
=
dt_socket,address
=
0.0.0.0:
$(
JPDA_PORT
)
,server
=
y,suspend
=
n
-Dcaosdb
.debug
=
true
-jar
target/caosdb-server-0.1-SNAPSHOT-jar-with-dependencies.jar
run-single
:
java
-jar
target/caosdb-server-0.1-SNAPSHOT-jar-with-dependencies.jar
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment