Commit fda7fda2 authored by Benjamin Blanc's avatar Benjamin Blanc

erp5_test_result: correct speedup and efficiency when n=1 case not tested.

parent 804896d8
...@@ -102,6 +102,10 @@ x-scale may not be respected."+bracket_left+"h1"+bracket_right_end;\n ...@@ -102,6 +102,10 @@ x-scale may not be respected."+bracket_left+"h1"+bracket_right_end;\n
}\n }\n
}\n }\n
\n \n
if (xs[0]>1){\n
document.write("*Speedup and efficiency determined using case n="+xs[0]+" as perfect.");\n
}\n
\n
x_max = xs[stats.test.length-1];\n x_max = xs[stats.test.length-1];\n
// just for fun..\n // just for fun..\n
//x_max = xs[xs.length-1]+xs[xs.length-1]/4;\n //x_max = xs[xs.length-1]+xs[xs.length-1]/4;\n
...@@ -368,10 +372,8 @@ var svg = d3.select("body").append("svg")\n ...@@ -368,10 +372,8 @@ var svg = d3.select("body").append("svg")\n
\n \n
<script type="text/javascript">\n <script type="text/javascript">\n
bracket_left = \'<\';\n bracket_left = \'<\';\n
bracket_right = \'>\';\n
bracket_right_end = \'/>\';\n
\n \n
F1 = (3600 * stats.test[0].created_docs / stats.test[0].duration);\n F1 = (3600 * stats.test[0].created_docs / stats.test[0].duration)/xs[0];\n
for(var i=0; i<stats.test.length; i++){\n for(var i=0; i<stats.test.length; i++){\n
document.write(bracket_left+"tr>");\n document.write(bracket_left+"tr>");\n
docs = 3600 * stats.test[i].created_docs / stats.test[i].duration;\n docs = 3600 * stats.test[i].created_docs / stats.test[i].duration;\n
......
278 279
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment