Change default precision to 5 digits, updated release notes and statistics

This commit is contained in:
JSCHILL1 2009-05-19 22:05:03 -05:00
parent 56cc8fd15a
commit ec3e857c53
3 changed files with 56 additions and 3 deletions

View file

@ -19,7 +19,7 @@
<li>properly handle paths with more than 1 pair of coordinates in the first Move command</li>
<li>remove font/text styles from shape elements (font-weight, font-size, line-height, etc)</li>
<li>remove -inkscape-font-specification styles</li>
<li>added --set-precision argument to set the number of significant digits (defaults to 6)</li>
<li>added --set-precision argument to set the number of significant digits (defaults to 5 now)</li>
<li>collapse consecutive h,v coords/segments that go in the same direction</li>
</ul>
</section>

View file

@ -66,8 +66,8 @@ from svg_regex import svg_parser
from decimal import *
import gzip
# set precision to 6 decimal places by default
getcontext().prec = 6
# set precision to 5 decimal places by default
getcontext().prec = 5
APP = 'scour'
VER = '0.13'

View file

@ -7,6 +7,7 @@
th { text-align:center; }
td { text-align:right; }
th,td { border-width: 1px; border-style: solid; }
tfoot { background-color: #eee; font-weight: bold;}
</style>
</head>
<body>
@ -31,6 +32,7 @@
<th colspan="2">0.10</th>
<th colspan="2">0.11</th>
<th colspan="2">0.12</th>
<th colspan="2">0.13</th>
</tr>
<tr>
<td><a href="fulltests/Degri_Energy_Saving_Lightbulb.svg">Degri_Energy_Saving_Lightbulb.svg</a></td>
@ -47,6 +49,7 @@
<td>83403</td><td>59.83%</td>
<td>82696</td><td>59.33%</td>
<td>82696</td><td>59.33%</td>
<td>72637</td><td>52.11%</td>
</tr>
<tr>
<td><a href="fulltests/GusEinstein_Angel.svg">GusEinstein_Angel.svg</a></td>
@ -63,6 +66,7 @@
<td>344813</td><td>56.42%</td>
<td>342135</td><td>55.99%</td>
<td>342135</td><td>55.99%</td>
<td>286998</td><td>46.96%</td>
</tr>
<tr>
<td><a href="fulltests/News_Paper.svg">News_Paper.svg</a></td>
@ -79,6 +83,7 @@
<td>1325837</td><td>56.06%</td>
<td>1315944</td><td>55.65%</td>
<td>1315944</td><td>55.65%</td>
<td>1077712</td><td>45.57%</td>
</tr>
<tr>
<td><a href="fulltests/OperaMarketShareEEhover.svg">OperaMarketShareEEhover.svg</a></td>
@ -95,6 +100,7 @@
<td>N/A</td><td>N/A</td>
<td>300608</td><td>53.63%</td>
<td>300608</td><td>53.63%</td>
<td>245067</td><td>43.72%</td>
</tr>
<tr>
<td><a href="fulltests/Simon_Printer_on_fire.svg">Simon_Printer_on_fire.svg</a></td>
@ -111,6 +117,7 @@
<td>24734</td><td>65.42%</td>
<td>23956</td><td>63.36%</td>
<td>23956</td><td>63.36%</td>
<td>22003</td><td>58.20%</td>
</tr>
<tr>
<td><a href="fulltests/Wave.svg">Wave.svg</a></td>
@ -127,6 +134,7 @@
<td>58858</td><td>61.05%</td>
<td>58985</td><td>61.18%</td>
<td>58985</td><td>61.18%</td>
<td>58474</td><td>60.65%</td>
</tr>
<tr>
<td><a href="fulltests/Web20Map.svg">Web20Map.svg</a></td>
@ -143,6 +151,7 @@
<td>44254</td><td>75.99%</td>
<td>43134</td><td>74.06%</td>
<td>43134</td><td>74.06%</td>
<td>43134</td><td>74.06%</td>
</tr>
<tr>
<td><a href="fulltests/acid.svg">acid.svg</a></td>
@ -159,6 +168,7 @@
<td>6883</td><td>50.93%</td>
<td>6381</td><td>47.22%</td>
<td>6381</td><td>47.22%</td>
<td>5790</td><td>42.84%</td>
</tr>
<tr>
<td><a href="fulltests/boom.svg">boom.svg</a></td>
@ -175,6 +185,7 @@
<td>N/A</td><td>N/A</td>
<td>N/A</td><td>N/A</td>
<td>N/A</td><td>N/A</td>
<td>16286</td><td>42.83%</td>
</tr>
<tr>
<td><a href="fulltests/dragonfly.svg">dragonfly.svg</a></td>
@ -191,6 +202,7 @@
<td>N/A</td><td>N/A</td>
<td>608151</td><td>89.56%</td>
<td>608151</td><td>89.56%</td>
<td>600000</td><td>88.36%</td>
</tr>
<tr>
<td><a href="fulltests/gimp.svg">gimp.svg</a></td>
@ -207,6 +219,7 @@
<td>10706</td><td>39.10%</td>
<td>10136</td><td>37.02%</td>
<td>10136</td><td>37.02%</td>
<td>10010</td><td>36.56%</td>
</tr>
<tr>
<td><a href="fulltests/notification-audio-next.svg">notification-audio-next.svg</a></td>
@ -223,6 +236,7 @@
<td>3418</td><td>3.43%</td>
<td>3418</td><td>3.32%</td>
<td>3418</td><td>3.32%</td>
<td>3418</td><td>3.32%</td>
</tr>
<tr>
<td><a href="fulltests/poster3.svg">poster3.svg</a></td>
@ -239,6 +253,7 @@
<td>N/A</td><td>N/A</td>
<td>243726</td><td>85.93%</td>
<td>243726</td><td>85.93%</td>
<td>240195</td><td>84.68%</td>
</tr>
<tr>
<td><a href="fulltests/strawberry.svg">strawberry.svg</a></td>
@ -255,6 +270,7 @@
<td>112220</td><td>43.85%</td>
<td>111701</td><td>43.65%</td>
<td>111701</td><td>43.65%</td>
<td>103979</td><td>40.63%</td>
</tr>
<tr>
<td><a href="fulltests/wifi.svg">wifi.svg</a></td>
@ -271,7 +287,44 @@
<td>7041</td><td>46.99%</td>
<td>6930</td><td>46.25%</td>
<td>6930</td><td>46.25%</td>
<td>6498</td><td>43.37%</td>
</tr>
<tfoot>
<tr>
<td>Median Reduction %</td>
<td></td>
<td colspan="2">98.03%</td>
<td colspan="2">96.12%</td>
<td colspan="2">95.35%</td>
<td colspan="2">89.88%</td>
<td colspan="2">90.78%</td>
<td colspan="2">93.02%</td>
<td colspan="2">82.09%</td>
<td colspan="2">84.18%</td>
<td colspan="2">82.86%</td>
<td colspan="2">59.83%</td>
<td colspan="2">55.99%</td>
<td colspan="2">55.99%</td>
<td colspan="2">45.57%</td>
</tr>
<tr>
<td>Mean Reduction %</td>
<td></td>
<td colspan="2">96.67%</td>
<td colspan="2">88.57%</td>
<td colspan="2">83.95%</td>
<td colspan="2">81.32%</td>
<td colspan="2">81.80%</td>
<td colspan="2">81.96%</td>
<td colspan="2">75.59%</td>
<td colspan="2">76.86%</td>
<td colspan="2">75.43%</td>
<td colspan="2">63.94%</td>
<td colspan="2">58.41%</td>
<td colspan="2">58.41%</td>
<td colspan="2">50.93%</td>
</tr>
</tfoot>
</table>
</body>