summaryrefslogtreecommitdiffstats
path: root/infra/it/memory-benchmark-api
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
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')
-rw-r--r--infra/it/memory-benchmark-api/asciidoc/Readme.adoc5
-rw-r--r--infra/it/memory-benchmark-api/pom.xml15
-rw-r--r--infra/it/memory-benchmark-api/src/main/yang/memory-benchmark.yang19
3 files changed, 39 insertions, 0 deletions
diff --git a/infra/it/memory-benchmark-api/asciidoc/Readme.adoc b/infra/it/memory-benchmark-api/asciidoc/Readme.adoc
new file mode 100644
index 000000000..c63073613
--- /dev/null
+++ b/infra/it/memory-benchmark-api/asciidoc/Readme.adoc
@@ -0,0 +1,5 @@
+= memory-benchmark-api
+
+Overview of memory-benchmark-api
+
+Provides test models for honeycomb memory benchmark. \ No newline at end of file
diff --git a/infra/it/memory-benchmark-api/pom.xml b/infra/it/memory-benchmark-api/pom.xml
new file mode 100644
index 000000000..8b92303ec
--- /dev/null
+++ b/infra/it/memory-benchmark-api/pom.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <parent>
+ <artifactId>api-parent</artifactId>
+ <groupId>io.fd.honeycomb.common</groupId>
+ <version>1.17.04-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>io.fd.honeycomb.it</groupId>
+ <artifactId>memory-benchmark-api</artifactId>
+ <version>1.17.04-SNAPSHOT</version>
+</project> \ No newline at end of file
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