Add domain.pdf
authorMarcel Hlopko <marcel@hlopko.com>
Tue, 28 Oct 2014 19:07:38 +0100
changeset 238 6ec4c90dfc1a
parent 237 195fca969b9a
child 239 33b6b56411aa
Add domain.pdf
web/app/models/benchmark_parameter.rb
web/domain.dot
web/domain.pdf
web/erd.pdf
--- a/web/app/models/benchmark_parameter.rb	Tue Oct 28 17:28:57 2014 +0100
+++ b/web/app/models/benchmark_parameter.rb	Tue Oct 28 19:07:38 2014 +0100
@@ -4,7 +4,7 @@
   def to_json
     {
       name: name,
-      value: value 
+      value: value
     }
   end
 end
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/domain.dot	Tue Oct 28 19:07:38 2014 +0100
@@ -0,0 +1,72 @@
+digraph {
+  size="800,800";
+  overlap=false;
+  sep=0.4;
+  graph [fontname=Helvetica,fontsize=10];
+  node [fontname=Helvetica,fontsize=10];
+  edge [fontname=Helvetica,fontsize=10];
+  rankdir=TB;
+
+  edge [len=1.5];
+  node[shape=record];
+
+  benchmarkInfo [
+    label = "{BenchmarkInfo|\
+             + benchmark_class\l\
+             + benchmark_selector\l\
+             + description\l\
+             + name\l\
+             }"
+  ]
+
+  benchmarkResult [
+    label = "{BenchmarkResult|\
+             }"
+  ]
+
+  benchmarkDuration [
+    label = "{BenchmarkDuration|\
+             + duration\l\
+             }"
+  ]
+
+  benchmarkParameter [
+    label = "{BenchmarkParameter|\
+             + name\l\
+             + value\l\
+             }"
+  ]
+
+  benchmarkBatch [
+    label = "{BenchmarkBatch|\
+             + performed_at\l\
+             + archive_filename\l\
+             }"
+  ]
+
+  tag [
+    label = "{Tag|\
+             }"
+  ]
+
+  benchmarkConfiguration [
+    label = "{BenchmarkConfiguration|\
+             + language\l\
+             + os\l\
+             + runtime\l\
+             + description\l\
+             }"
+  ]
+
+  edge [taillabel="1", headlabel="*" arrowhead="none"];
+
+  benchmarkInfo -> benchmarkResult
+  benchmarkResult -> benchmarkDuration
+  benchmarkResult -> benchmarkParameter
+  benchmarkBatch -> benchmarkResult
+  benchmarkConfiguration -> benchmarkBatch
+
+  edge [taillabel="*", headlabel="*"];
+  tag -> benchmarkBatch
+
+}
Binary file web/domain.pdf has changed
Binary file web/erd.pdf has changed