kripken / Massive

The asm.js benchmark
http://kripken.github.io/Massive/
MIT License
47 stars 9 forks source link

Add final score to the final output textbox. #1

Closed juj closed 10 years ago

juj commented 10 years ago

When I open the results box to copy-paste and store the results, I get this result:

<tr>  <td style="background-color:#ddd"><b>Main thread responsiveness</b></td>  <td style="background-color:#ddd"></td>  <td style="background-color:#ddd"></td>  <td style="background-color:#ddd">Tests user-noticeable stalls as a large codebase is loaded (<a onclick="ensureFAQ()" href="#explanations">details</a>)</td></tr>
<tr>  <td>main-thread-poppler-cold</td>  <td style="background-color: #bbccff"><div class="text-center"><b>0.436</b></div></td>  <td>seconds (lower is better)</td>  <td>Responsiveness during Poppler PDF rendering on the main thread</td></tr>
<tr>  <td>main-thread-poppler-warm</td>  <td style="background-color: #bbccff"><div class="text-center"><b>0.417</b></div></td>  <td>seconds (lower is better)</td>  <td>Responsiveness during Poppler PDF rendering on the main thread</td></tr>
<tr>  <td>main-thread-sqlite-cold</td>  <td style="background-color: #bbccff"><div class="text-center"><b>0.253</b></div></td>  <td>seconds (lower is better)</td>  <td>Responsiveness during SQLite operations on the main thread</td></tr>
<tr>  <td>main-thread-sqlite-warm</td>  <td style="background-color: #bbccff"><div class="text-center"><b>0.065 <a onclick="ensureFAQ()" href="#toovariable">(±29%!)</a></b></div></td>  <td>seconds (lower is better)</td>  <td>Responsiveness during SQLite operations on the main thread</td></tr>
<tr>  <td style="background-color:#ddd"><b>Throughput</b></td>  <td style="background-color:#ddd"></td>  <td style="background-color:#ddd"></td>  <td style="background-color:#ddd">Tests performance in long-running computational code (<a onclick="ensureFAQ()" href="#explanations">details</a>)</td></tr>
<tr>  <td>box2d-throughput</td>  <td style="background-color: #bbccff"><div class="text-center"><b>6.175</b></div></td>  <td>milliseconds (lower is better)</td>  <td>Box2D physics: average frame rate</td></tr>
<tr>  <td>box2d-throughput-f32</td>  <td style="background-color: #bbccff"><div class="text-center"><b>5.143</b></div></td>  <td>milliseconds (lower is better)</td>  <td>Box2D physics: average frame rate w/ Math.fround</td></tr>
<tr>  <td>lua-binarytrees</td>  <td style="background-color: #bbccff"><div class="text-center"><b>9.345</b></div></td>  <td>seconds (lower is better)</td>  <td>GC performance in compiled Lua VM</td></tr>
<tr>  <td>lua-scimark</td>  <td style="background-color: #bbccff"><div class="text-center"><b>8.885</b></div></td>  <td>MFLOPS (<b>higher</b> is better)</td>  <td>numeric computation performance in compiled Lua VM</td></tr>
<tr>  <td>poppler-throughput</td>  <td style="background-color: #bbccff"><div class="text-center"><b>7.847</b></div></td>  <td>seconds (lower is better)</td>  <td>Poppler PDF rendering performance</td></tr>
<tr>  <td>sqlite-throughput</td>  <td style="background-color: #bbccff"><div class="text-center"><b>9.120</b></div></td>  <td>seconds (lower is better)</td>  <td>sqlite operations performance (create, inserts, selects)</td></tr>
<tr>  <td style="background-color:#ddd"><b>Preparation</b></td>  <td style="background-color:#ddd"></td>  <td style="background-color:#ddd"></td>  <td style="background-color:#ddd">Tests how fast a casebase is loaded and ready to run (<a onclick="ensureFAQ()" href="#explanations">details</a>)</td></tr>
<tr>  <td>poppler-cold-preparation</td>  <td style="background-color: #bbccff"><div class="text-center"><b>1.177</b></div></td>  <td>seconds (lower is better)</td>  <td>how long a cold preparation takes Poppler</td></tr>
<tr>  <td>poppler-warm-preparation</td>  <td style="background-color: #bbccff"><div class="text-center"><b>0.206</b></div></td>  <td>seconds (lower is better)</td>  <td>how long a warm preparation takes Poppler</td></tr>
<tr>  <td>sqlite-cold-preparation</td>  <td style="background-color: #bbccff"><div class="text-center"><b>1.718</b></div></td>  <td>seconds (lower is better)</td>  <td>how long a cold preparation takes SQLite</td></tr>
<tr>  <td>sqlite-warm-preparation</td>  <td style="background-color: #bbccff"><div class="text-center"><b>0.114</b></div></td>  <td>seconds (lower is better)</td>  <td>how long a warm preparation takes SQLite</td></tr>
<tr>  <td style="background-color:#ddd"><b>Variance</b></td>  <td style="background-color:#ddd"></td>  <td style="background-color:#ddd"></td>  <td style="background-color:#ddd">Runs many frames of a long-running simulation and tests variability (<a onclick="ensureFAQ()" href="#explanations">details</a>)</td></tr>
<tr>  <td>box2d-variance</td>  <td style="background-color: #bbccff"><div class="text-center"><b>5.475</b></div></td>  <td>milliseconds (lower is better)</td>  <td>Box2D physics: frame rate variance</td></tr>
<tr>  <td>poppler-variance</td>  <td style="background-color: #bbccff"><div class="text-center"><b>6.303</b></div></td>  <td>milliseconds (lower is better)</td>  <td>Poppler PDF performance: frame rate variance</td></tr>

which does not list the final score. That would be useful to have in the results as well.

kripken commented 10 years ago

Fixed, thanks.