Skip to content
Snippets Groups Projects
Commit 8cf03773 authored by Daniel's avatar Daniel
Browse files

DOC: Documentation for benchmarking.

parent ef72021f
No related branches found
No related tags found
No related merge requests found
# 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()`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment