summaryrefslogtreecommitdiffstats
path: root/infra/it/memory-benchmark-api/src
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-01-31 10:00:51 +0100
committerJan Srnicek <jsrnicek@cisco.com>2017-01-31 10:00:51 +0100
commit92afaeb4a959ea5a6a072fe3ed7a01088d703e0b (patch)
treefc98660011e75ca71f97c25e641638dce37158bd /infra/it/memory-benchmark-api/src
parent60e463b17b05458c1f9a7fd72f9e99d71124eedf (diff)
HONEYCOMB-293 - Memory benchmarking
Contains configuration for benchmarks: - Honeycomb on rest(just infra, no data) - Honeycomb with 1000 data nodes - Honeycomb with 10000 data nodes Each benchmark outputs two files: - out_path_name-HeapMemoryUsage.csv - out_path_name-NonHeapMemoryUsage.csv Both files are in format : committed,init,max,used 109576192,109051904,1525153792,12194752 Data sample sizes can be easily adjusted, just by changing start parameter -DsampleSize Change-Id: If6f9919307574237689326b4a38d410ec563200a Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'infra/it/memory-benchmark-api/src')
-rw-r--r--infra/it/memory-benchmark-api/src/main/yang/memory-benchmark.yang19
1 files changed, 19 insertions, 0 deletions
diff --git a/infra/it/memory-benchmark-api/src/main/yang/memory-benchmark.yang b/infra/it/memory-benchmark-api/src/main/yang/memory-benchmark.yang
new file mode 100644
index 000000000..e01550659
--- /dev/null
+++ b/infra/it/memory-benchmark-api/src/main/yang/memory-benchmark.yang
@@ -0,0 +1,19 @@
+module memory-benchmark {
+
+ yang-version 1;
+ namespace "urn:opendaylight:params:xml:ns:yang:memory:benchmark";
+ prefix "mm-bench";
+
+ revision "2016-12-04" {
+ description "Memory benchmark test api";
+ }
+
+ container config-data {
+ list config-list {
+ key name;
+ leaf name {
+ type string;
+ }
+ }
+ }
+} \ No newline at end of file