Commit 1f41e6e8 authored by Benjamin Blanc's avatar Benjamin Blanc

erp5_test_result: add % symbol for efficiency in graph

parent 52956570
...@@ -378,7 +378,7 @@ for(var i=0; i<stats.test.length; i++){\n ...@@ -378,7 +378,7 @@ for(var i=0; i<stats.test.length; i++){\n
speedup = docs/F1;\n speedup = docs/F1;\n
document.write(bracket_left+"td>"+xs[i]+bracket_left+"/td>");\n document.write(bracket_left+"td>"+xs[i]+bracket_left+"/td>");\n
document.write(bracket_left+"td>"+speedup.toFixed(2)+bracket_left+"/td>");\n document.write(bracket_left+"td>"+speedup.toFixed(2)+bracket_left+"/td>");\n
document.write(bracket_left+"td>"+(speedup/xs[i]).toFixed(2)+bracket_left+"/td>");\n document.write(bracket_left+"td>"+parseInt(100*speedup/xs[i])+"%"+bracket_left+"/td>");\n
}\n }\n
</script>\n </script>\n
</table>\n </table>\n
......
269 270
\ 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