From 014a4ae01ec1b72326a48a42e2329a6118a0b125 Mon Sep 17 00:00:00 2001 From: Martin Date: Sun, 18 Apr 2021 17:42:35 +0100 Subject: [PATCH 1/2] Proposal: Add a benchmark. #235 --- benchmark/worldMap.html | 72 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 benchmark/worldMap.html diff --git a/benchmark/worldMap.html b/benchmark/worldMap.html new file mode 100644 index 0000000..a477f1e --- /dev/null +++ b/benchmark/worldMap.html @@ -0,0 +1,72 @@ + + World Map - Canvas Demo + + + + + + + +

Render Time :-

+ + +

+ Based on this tutorial: +

+ + Most basic background map in d3.js and canvas + + + + + + + \ No newline at end of file From a024813dc75340b2d615ca930ea334128b63b959 Mon Sep 17 00:00:00 2001 From: Martin Date: Sun, 18 Apr 2021 18:49:16 +0100 Subject: [PATCH 2/2] Removed debug. --- benchmark/worldMap.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/benchmark/worldMap.html b/benchmark/worldMap.html index a477f1e..7588d85 100644 --- a/benchmark/worldMap.html +++ b/benchmark/worldMap.html @@ -41,8 +41,6 @@ // Load external data and boot d3.json("https://raw.githubusercontent.com/holtzy/D3-graph-gallery/master/DATA/world.geojson", function (data) { - console.log("Data"); - console.log(data); const t0 = performance.now(); // initialize the path