From f3a3d34f710f2179ad6730f0f51342b520ac0803 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Thu, 11 Feb 2016 09:32:47 +0100 Subject: [PATCH 1/2] Remove outdated performance results --- examples/synthetic-lines.html | 57 ----------------------------------- 1 file changed, 57 deletions(-) diff --git a/examples/synthetic-lines.html b/examples/synthetic-lines.html index 25a303568a..b7ff76093a 100644 --- a/examples/synthetic-lines.html +++ b/examples/synthetic-lines.html @@ -7,60 +7,3 @@ docs: > tags: "vector" ---
-

Performance results:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Device/Browser200 lines500 lines1000 lines2000 lines5000 lines10000 lines20000 lines
Mac Book Air / Chrome 33 canary60 fps60 fps60 fps60 fps60 fps60 fps60 fps
Mac Book Air / FireFox 2560 fps60 fps60 fps60 fps60 fps22 fps6 fps
Mac Book Air / Safari 760 fps60 fps60 fps40 fps10 fpsN/AN/A
iPhone 4S / iOS 7 / Safari60 fps33 fps15 fps5 fpsN/AN/AN/A
From a664dbb5072320adca98d7733e70f8c124d94d5d Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Thu, 11 Feb 2016 09:34:38 +0100 Subject: [PATCH 2/2] Set wrapX to false in synthetic examples --- examples/synthetic-lines.js | 3 ++- examples/synthetic-points.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/synthetic-lines.js b/examples/synthetic-lines.js index 78754cad5c..928c155b80 100644 --- a/examples/synthetic-lines.js +++ b/examples/synthetic-lines.js @@ -38,7 +38,8 @@ for (i = 0; i < count; ++i) { var vector = new ol.layer.Vector({ source: new ol.source.Vector({ - features: features + features: features, + wrapX: false }), style: new ol.style.Style({ stroke: new ol.style.Stroke({ diff --git a/examples/synthetic-points.js b/examples/synthetic-points.js index 3056132a40..21c1eaf713 100644 --- a/examples/synthetic-points.js +++ b/examples/synthetic-points.js @@ -41,7 +41,8 @@ var styles = { }; var vectorSource = new ol.source.Vector({ - features: features + features: features, + wrapX: false }); var vector = new ol.layer.Vector({ source: vectorSource,