New SVG2 renderer for increased performance and smaller library size. Not enabled by default. To use, include 'SVG2' in the renderers array of your OpenLayers.Layer.Vector instance. r=crschmidt (closes #2802)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11616 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2011-03-05 21:17:02 +00:00
parent 72f2ce5d0e
commit e3d137754c
14 changed files with 1552 additions and 28 deletions
+25
View File
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<title>Vector Features Performance Test</title>
<script type="text/javascript" src="https://getfirebug.com/firebug-lite.js#startOpened=true"></script>
<link rel="stylesheet" href="../../theme/default/style.css" type="text/css" />
<link rel="stylesheet" href="../../examples/style.css" type="text/css" />
</head>
<body>
<h1 id="title">Vector Rendering Performance</h1>
<div id="map" class="smallmap"></div>
<p>
This is a benchmark for vector rendering performance. Test results are
written to the debug console.
Select a renderer here:
<br/>
<select id="renderers"></select>
</p><p>
The benchmark shows the time needed to render the features, and how long a
move (drag or zoom) takes. Drag and zoom around to produce move results.
</p>
<script src="../../lib/OpenLayers.js"></script>
<script src="vector-renderers.js"></script>
</body>
</html>