<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Line-heavy SVG example spends a lot of time in SVGPointListValues::valueAsString()"
href="https://bugs.webkit.org/show_bug.cgi?id=167797">167797</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Line-heavy SVG example spends a lot of time in SVGPointListValues::valueAsString()
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>SVG
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>simon.fraser@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>zimmermann@kde.org
</td>
</tr></table>
<p>
<div>
<pre>Load <a href="https://bl.ocks.org/monfera/fb2ba8d3b6c3fbeb5f1f54b7dc4d58ea">https://bl.ocks.org/monfera/fb2ba8d3b6c3fbeb5f1f54b7dc4d58ea</a> and sample.
Lots of time under:
2100 vmEntryToJavaScript (in JavaScriptCore) + 299 [0x1106c4ceb]
2093 ??? (in <unknown binary>) [0x2026beba1496]
| 2092 WebCore::setJSSVGPointX(JSC::ExecState*, long long, long long) (in WebCore) + 380 [0x1125e194c]
| + 2077 WebCore::SVGAttributeToPropertyMap::synchronizeProperty(WebCore::SVGElement&, WebCore::QualifiedName const&) const (in WebCore) + 121 [0x112aee7b9]
| + ! 1943 WebCore::SVGPolyElement::synchronizePoints(WebCore::SVGElement*) (in WebCore) + 136 [0x112b4d3e8]
| + ! : 952 WebCore::SVGPointListValues::valueAsString() const (in WebCore) + 350 [0x112b4d2be]
| + ! : | 812 WTF::StringBuilder::appendNumber(double, unsigned int, WTF::TrailingZerosTruncatingPolicy) (in JavaScriptCore) + 53 [0x1108defe5]
| + ! : | + 725 WTF::numberToFixedPrecisionString(double, unsigned int, char*, bool) (in JavaScriptCore) + 70 [0x10fed06e6]
| + ! : | + ! 476 WTF::double_conversion::DoubleToStringConverter::ToPrecision(double, int, WTF::double_conversion::StringBuilder*) const (in JavaScriptCore) + 290 [0x10fed08a2]
Ironically examples like this are cited as being slow because they don't use hardware acceleration, but in this case most of the time is in number-to-string code. Why so much?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>