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
8cf03773
Commit
8cf03773
authored
5 years ago
by
Daniel
Browse files
Options
Downloads
Patches
Plain Diff
DOC: Documentation for benchmarking.
parent
ef72021f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/devel/Benchmarking.md
+13
-0
13 additions, 0 deletions
doc/devel/Benchmarking.md
with
13 additions
and
0 deletions
doc/devel/Benchmarking.md
0 → 100644
+
13
−
0
View file @
8cf03773
# Manual Java-Side Benchmarking #
Benchmarking can be done using the
`TransactionBenchmark`
class (in package
`caosdb.server.database.misc`
).
-
Single timings can be added to instances of that class via the
`addBenchmark(object, time)`
method. Multiple benchmarks for the same object
(typically just strings) can be averaged.
-
Benchmarks can be serialized into XML,
`Container`
and
`Query`
objects already
use this with their included benchmarks to output benchmarking results.
-
To work with the benchmarks of often used objects, use these methods:
-
`Container.getTransactionBenchmark().addBenchmark()`
-
`Query.addBenchmark()`
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