From 5a46f52f575023340ed785ac7480b6de2733ba2a Mon Sep 17 00:00:00 2001 From: Alexander Munch-Hansen Date: Wed, 5 Sep 2018 12:37:20 +0200 Subject: [PATCH] Initial commit --- heatmapstuff.txt | 205 ++++++++++++++++++++++++++++++ jump2.log | 325 +++++++++++++++++++++++++++++++++++++++++++++++ jump_step.log | 325 +++++++++++++++++++++++++++++++++++++++++++++++ plotter.py | 76 +++++++++++ 4 files changed, 931 insertions(+) create mode 100644 heatmapstuff.txt create mode 100644 jump2.log create mode 100644 jump_step.log create mode 100644 plotter.py diff --git a/heatmapstuff.txt b/heatmapstuff.txt new file mode 100644 index 0000000..0db0c6f --- /dev/null +++ b/heatmapstuff.txt @@ -0,0 +1,205 @@ +size: 262144, step: 2 and time Elapsed: 58 milliseconds +size: 262144, step: 4 and time Elapsed: 56 milliseconds +size: 262144, step: 8 and time Elapsed: 53 milliseconds +size: 262144, step: 16 and time Elapsed: 88 milliseconds +size: 262144, step: 32 and time Elapsed: 126 milliseconds +size: 262144, step: 64 and time Elapsed: 152 milliseconds +size: 262144, step: 128 and time Elapsed: 118 milliseconds +size: 262144, step: 256 and time Elapsed: 132 milliseconds +size: 262144, step: 512 and time Elapsed: 139 milliseconds +size: 262144, step: 1024 and time Elapsed: 189 milliseconds +size: 262144, step: 2048 and time Elapsed: 82 milliseconds +size: 262144, step: 4096 and time Elapsed: 47 milliseconds +size: 262144, step: 8192 and time Elapsed: 47 milliseconds +size: 262144, step: 16384 and time Elapsed: 93 milliseconds +size: 262144, step: 32768 and time Elapsed: 64 milliseconds +size: 262144, step: 65536 and time Elapsed: 78 milliseconds +size: 524288, step: 2 and time Elapsed: 50 milliseconds +size: 524288, step: 4 and time Elapsed: 56 milliseconds +size: 524288, step: 8 and time Elapsed: 67 milliseconds +size: 524288, step: 16 and time Elapsed: 126 milliseconds +size: 524288, step: 32 and time Elapsed: 193 milliseconds +size: 524288, step: 64 and time Elapsed: 232 milliseconds +size: 524288, step: 128 and time Elapsed: 233 milliseconds +size: 524288, step: 256 and time Elapsed: 243 milliseconds +size: 524288, step: 512 and time Elapsed: 193 milliseconds +size: 524288, step: 1024 and time Elapsed: 206 milliseconds +size: 524288, step: 2048 and time Elapsed: 189 milliseconds +size: 524288, step: 4096 and time Elapsed: 98 milliseconds +size: 524288, step: 8192 and time Elapsed: 58 milliseconds +size: 524288, step: 16384 and time Elapsed: 47 milliseconds +size: 524288, step: 32768 and time Elapsed: 93 milliseconds +size: 524288, step: 65536 and time Elapsed: 65 milliseconds +size: 524288, step: 131072 and time Elapsed: 76 milliseconds +size: 1048576, step: 2 and time Elapsed: 63 milliseconds +size: 1048576, step: 4 and time Elapsed: 63 milliseconds +size: 1048576, step: 8 and time Elapsed: 70 milliseconds +size: 1048576, step: 16 and time Elapsed: 125 milliseconds +size: 1048576, step: 32 and time Elapsed: 195 milliseconds +size: 1048576, step: 64 and time Elapsed: 248 milliseconds +size: 1048576, step: 128 and time Elapsed: 259 milliseconds +size: 1048576, step: 256 and time Elapsed: 250 milliseconds +size: 1048576, step: 512 and time Elapsed: 221 milliseconds +size: 1048576, step: 1024 and time Elapsed: 205 milliseconds +size: 1048576, step: 2048 and time Elapsed: 213 milliseconds +size: 1048576, step: 4096 and time Elapsed: 195 milliseconds +size: 1048576, step: 8192 and time Elapsed: 113 milliseconds +size: 1048576, step: 16384 and time Elapsed: 68 milliseconds +size: 1048576, step: 32768 and time Elapsed: 48 milliseconds +size: 1048576, step: 65536 and time Elapsed: 93 milliseconds +size: 1048576, step: 131072 and time Elapsed: 62 milliseconds +size: 1048576, step: 262144 and time Elapsed: 79 milliseconds +size: 2097152, step: 2 and time Elapsed: 59 milliseconds +size: 2097152, step: 4 and time Elapsed: 57 milliseconds +size: 2097152, step: 8 and time Elapsed: 71 milliseconds +size: 2097152, step: 16 and time Elapsed: 142 milliseconds +size: 2097152, step: 32 and time Elapsed: 219 milliseconds +size: 2097152, step: 64 and time Elapsed: 254 milliseconds +size: 2097152, step: 128 and time Elapsed: 257 milliseconds +size: 2097152, step: 256 and time Elapsed: 265 milliseconds +size: 2097152, step: 512 and time Elapsed: 230 milliseconds +size: 2097152, step: 1024 and time Elapsed: 209 milliseconds +size: 2097152, step: 2048 and time Elapsed: 204 milliseconds +size: 2097152, step: 4096 and time Elapsed: 208 milliseconds +size: 2097152, step: 8192 and time Elapsed: 204 milliseconds +size: 2097152, step: 16384 and time Elapsed: 107 milliseconds +size: 2097152, step: 32768 and time Elapsed: 68 milliseconds +size: 2097152, step: 65536 and time Elapsed: 49 milliseconds +size: 2097152, step: 131072 and time Elapsed: 93 milliseconds +size: 2097152, step: 262144 and time Elapsed: 63 milliseconds +size: 2097152, step: 524288 and time Elapsed: 75 milliseconds +size: 4194304, step: 2 and time Elapsed: 60 milliseconds +size: 4194304, step: 4 and time Elapsed: 80 milliseconds +size: 4194304, step: 8 and time Elapsed: 142 milliseconds +size: 4194304, step: 16 and time Elapsed: 242 milliseconds +size: 4194304, step: 32 and time Elapsed: 408 milliseconds +size: 4194304, step: 64 and time Elapsed: 429 milliseconds +size: 4194304, step: 128 and time Elapsed: 498 milliseconds +size: 4194304, step: 256 and time Elapsed: 506 milliseconds +size: 4194304, step: 512 and time Elapsed: 489 milliseconds +size: 4194304, step: 1024 and time Elapsed: 403 milliseconds +size: 4194304, step: 2048 and time Elapsed: 213 milliseconds +size: 4194304, step: 4096 and time Elapsed: 203 milliseconds +size: 4194304, step: 8192 and time Elapsed: 200 milliseconds +size: 4194304, step: 16384 and time Elapsed: 206 milliseconds +size: 4194304, step: 32768 and time Elapsed: 113 milliseconds +size: 4194304, step: 65536 and time Elapsed: 68 milliseconds +size: 4194304, step: 131072 and time Elapsed: 47 milliseconds +size: 4194304, step: 262144 and time Elapsed: 90 milliseconds +size: 4194304, step: 524288 and time Elapsed: 68 milliseconds +size: 4194304, step: 1048576 and time Elapsed: 79 milliseconds +size: 8388608, step: 2 and time Elapsed: 62 milliseconds +size: 8388608, step: 4 and time Elapsed: 100 milliseconds +size: 8388608, step: 8 and time Elapsed: 181 milliseconds +size: 8388608, step: 16 and time Elapsed: 374 milliseconds +size: 8388608, step: 32 and time Elapsed: 768 milliseconds +size: 8388608, step: 64 and time Elapsed: 924 milliseconds +size: 8388608, step: 128 and time Elapsed: 1042 milliseconds +size: 8388608, step: 256 and time Elapsed: 1125 milliseconds +size: 8388608, step: 512 and time Elapsed: 1083 milliseconds +size: 8388608, step: 1024 and time Elapsed: 1001 milliseconds +size: 8388608, step: 2048 and time Elapsed: 455 milliseconds +size: 8388608, step: 4096 and time Elapsed: 286 milliseconds +size: 8388608, step: 8192 and time Elapsed: 207 milliseconds +size: 8388608, step: 16384 and time Elapsed: 204 milliseconds +size: 8388608, step: 32768 and time Elapsed: 195 milliseconds +size: 8388608, step: 65536 and time Elapsed: 119 milliseconds +size: 8388608, step: 131072 and time Elapsed: 74 milliseconds +size: 8388608, step: 262144 and time Elapsed: 52 milliseconds +size: 8388608, step: 524288 and time Elapsed: 89 milliseconds +size: 8388608, step: 1048576 and time Elapsed: 65 milliseconds +size: 8388608, step: 2097152 and time Elapsed: 90 milliseconds +size: 16777216, step: 2 and time Elapsed: 71 milliseconds +size: 16777216, step: 4 and time Elapsed: 99 milliseconds +size: 16777216, step: 8 and time Elapsed: 190 milliseconds +size: 16777216, step: 16 and time Elapsed: 475 milliseconds +size: 16777216, step: 32 and time Elapsed: 813 milliseconds +size: 16777216, step: 64 and time Elapsed: 1077 milliseconds +size: 16777216, step: 128 and time Elapsed: 1214 milliseconds +size: 16777216, step: 256 and time Elapsed: 1339 milliseconds +size: 16777216, step: 512 and time Elapsed: 1461 milliseconds +size: 16777216, step: 1024 and time Elapsed: 1147 milliseconds +size: 16777216, step: 2048 and time Elapsed: 1019 milliseconds +size: 16777216, step: 4096 and time Elapsed: 418 milliseconds +size: 16777216, step: 8192 and time Elapsed: 701 milliseconds +size: 16777216, step: 16384 and time Elapsed: 209 milliseconds +size: 16777216, step: 32768 and time Elapsed: 206 milliseconds +size: 16777216, step: 65536 and time Elapsed: 199 milliseconds +size: 16777216, step: 131072 and time Elapsed: 116 milliseconds +size: 16777216, step: 262144 and time Elapsed: 67 milliseconds +size: 16777216, step: 524288 and time Elapsed: 46 milliseconds +size: 16777216, step: 1048576 and time Elapsed: 92 milliseconds +size: 16777216, step: 2097152 and time Elapsed: 66 milliseconds +size: 16777216, step: 4194304 and time Elapsed: 75 milliseconds +size: 33554432, step: 2 and time Elapsed: 79 milliseconds +size: 33554432, step: 4 and time Elapsed: 108 milliseconds +size: 33554432, step: 8 and time Elapsed: 197 milliseconds +size: 33554432, step: 16 and time Elapsed: 514 milliseconds +size: 33554432, step: 32 and time Elapsed: 853 milliseconds +size: 33554432, step: 64 and time Elapsed: 1112 milliseconds +size: 33554432, step: 128 and time Elapsed: 1282 milliseconds +size: 33554432, step: 256 and time Elapsed: 1605 milliseconds +size: 33554432, step: 512 and time Elapsed: 1523 milliseconds +size: 33554432, step: 1024 and time Elapsed: 1285 milliseconds +size: 33554432, step: 2048 and time Elapsed: 1243 milliseconds +size: 33554432, step: 4096 and time Elapsed: 1262 milliseconds +size: 33554432, step: 8192 and time Elapsed: 699 milliseconds +size: 33554432, step: 16384 and time Elapsed: 385 milliseconds +size: 33554432, step: 32768 and time Elapsed: 208 milliseconds +size: 33554432, step: 65536 and time Elapsed: 200 milliseconds +size: 33554432, step: 131072 and time Elapsed: 190 milliseconds +size: 33554432, step: 262144 and time Elapsed: 114 milliseconds +size: 33554432, step: 524288 and time Elapsed: 70 milliseconds +size: 33554432, step: 1048576 and time Elapsed: 48 milliseconds +size: 33554432, step: 2097152 and time Elapsed: 93 milliseconds +size: 33554432, step: 4194304 and time Elapsed: 63 milliseconds +size: 33554432, step: 8388608 and time Elapsed: 78 milliseconds +size: 67108864, step: 2 and time Elapsed: 71 milliseconds +size: 67108864, step: 4 and time Elapsed: 109 milliseconds +size: 67108864, step: 8 and time Elapsed: 217 milliseconds +size: 67108864, step: 16 and time Elapsed: 495 milliseconds +size: 67108864, step: 32 and time Elapsed: 951 milliseconds +size: 67108864, step: 64 and time Elapsed: 1191 milliseconds +size: 67108864, step: 128 and time Elapsed: 1440 milliseconds +size: 67108864, step: 256 and time Elapsed: 1461 milliseconds +size: 67108864, step: 512 and time Elapsed: 1636 milliseconds +size: 67108864, step: 1024 and time Elapsed: 1273 milliseconds +size: 67108864, step: 2048 and time Elapsed: 1468 milliseconds +size: 67108864, step: 4096 and time Elapsed: 1512 milliseconds +size: 67108864, step: 8192 and time Elapsed: 1566 milliseconds +size: 67108864, step: 16384 and time Elapsed: 578 milliseconds +size: 67108864, step: 32768 and time Elapsed: 268 milliseconds +size: 67108864, step: 65536 and time Elapsed: 207 milliseconds +size: 67108864, step: 131072 and time Elapsed: 203 milliseconds +size: 67108864, step: 262144 and time Elapsed: 200 milliseconds +size: 67108864, step: 524288 and time Elapsed: 113 milliseconds +size: 67108864, step: 1048576 and time Elapsed: 72 milliseconds +size: 67108864, step: 2097152 and time Elapsed: 53 milliseconds +size: 67108864, step: 4194304 and time Elapsed: 92 milliseconds +size: 67108864, step: 8388608 and time Elapsed: 66 milliseconds +size: 67108864, step: 16777216 and time Elapsed: 75 milliseconds +size: 134217728, step: 2 and time Elapsed: 73 milliseconds +size: 134217728, step: 4 and time Elapsed: 114 milliseconds +size: 134217728, step: 8 and time Elapsed: 225 milliseconds +size: 134217728, step: 16 and time Elapsed: 578 milliseconds +size: 134217728, step: 32 and time Elapsed: 995 milliseconds +size: 134217728, step: 64 and time Elapsed: 1294 milliseconds +size: 134217728, step: 128 and time Elapsed: 1671 milliseconds +size: 134217728, step: 256 and time Elapsed: 1780 milliseconds +size: 134217728, step: 512 and time Elapsed: 1947 milliseconds +size: 134217728, step: 1024 and time Elapsed: 1453 milliseconds +size: 134217728, step: 2048 and time Elapsed: 1479 milliseconds +size: 134217728, step: 4096 and time Elapsed: 1547 milliseconds +size: 134217728, step: 8192 and time Elapsed: 1329 milliseconds +size: 134217728, step: 16384 and time Elapsed: 1294 milliseconds +size: 134217728, step: 32768 and time Elapsed: 407 milliseconds +size: 134217728, step: 65536 and time Elapsed: 275 milliseconds +size: 134217728, step: 131072 and time Elapsed: 254 milliseconds +size: 134217728, step: 262144 and time Elapsed: 253 milliseconds +size: 134217728, step: 524288 and time Elapsed: 231 milliseconds +size: 134217728, step: 1048576 and time Elapsed: 152 milliseconds +size: 134217728, step: 2097152 and time Elapsed: 80 milliseconds +size: 134217728, step: 4194304 and time Elapsed: 60 milliseconds +size: 134217728, step: 8388608 and time Elapsed: 90 milliseconds +size: 134217728, step: 16777216 and time Elapsed: 80 milliseconds +size: 134217728, step: 33554432 and time Elapsed: 102 milliseconds diff --git a/jump2.log b/jump2.log new file mode 100644 index 0000000..1311061 --- /dev/null +++ b/jump2.log @@ -0,0 +1,325 @@ +size: 8, step: 2 and time Elapsed: 84 milliseconds +size: 16, step: 2 and time Elapsed: 71 milliseconds +size: 16, step: 4 and time Elapsed: 75 milliseconds +size: 32, step: 2 and time Elapsed: 93 milliseconds +size: 32, step: 4 and time Elapsed: 63 milliseconds +size: 32, step: 8 and time Elapsed: 76 milliseconds +size: 64, step: 2 and time Elapsed: 47 milliseconds +size: 64, step: 4 and time Elapsed: 93 milliseconds +size: 64, step: 8 and time Elapsed: 63 milliseconds +size: 64, step: 16 and time Elapsed: 75 milliseconds +size: 128, step: 2 and time Elapsed: 45 milliseconds +size: 128, step: 4 and time Elapsed: 47 milliseconds +size: 128, step: 8 and time Elapsed: 93 milliseconds +size: 128, step: 16 and time Elapsed: 63 milliseconds +size: 128, step: 32 and time Elapsed: 78 milliseconds +size: 256, step: 2 and time Elapsed: 47 milliseconds +size: 256, step: 4 and time Elapsed: 44 milliseconds +size: 256, step: 8 and time Elapsed: 49 milliseconds +size: 256, step: 16 and time Elapsed: 93 milliseconds +size: 256, step: 32 and time Elapsed: 64 milliseconds +size: 256, step: 64 and time Elapsed: 75 milliseconds +size: 512, step: 2 and time Elapsed: 74 milliseconds +size: 512, step: 4 and time Elapsed: 46 milliseconds +size: 512, step: 8 and time Elapsed: 46 milliseconds +size: 512, step: 16 and time Elapsed: 47 milliseconds +size: 512, step: 32 and time Elapsed: 93 milliseconds +size: 512, step: 64 and time Elapsed: 62 milliseconds +size: 512, step: 128 and time Elapsed: 74 milliseconds +size: 1024, step: 2 and time Elapsed: 56 milliseconds +size: 1024, step: 4 and time Elapsed: 76 milliseconds +size: 1024, step: 8 and time Elapsed: 44 milliseconds +size: 1024, step: 16 and time Elapsed: 43 milliseconds +size: 1024, step: 32 and time Elapsed: 48 milliseconds +size: 1024, step: 64 and time Elapsed: 92 milliseconds +size: 1024, step: 128 and time Elapsed: 66 milliseconds +size: 1024, step: 256 and time Elapsed: 77 milliseconds +size: 2048, step: 2 and time Elapsed: 51 milliseconds +size: 2048, step: 4 and time Elapsed: 55 milliseconds +size: 2048, step: 8 and time Elapsed: 72 milliseconds +size: 2048, step: 16 and time Elapsed: 43 milliseconds +size: 2048, step: 32 and time Elapsed: 42 milliseconds +size: 2048, step: 64 and time Elapsed: 47 milliseconds +size: 2048, step: 128 and time Elapsed: 93 milliseconds +size: 2048, step: 256 and time Elapsed: 62 milliseconds +size: 2048, step: 512 and time Elapsed: 75 milliseconds +size: 4096, step: 2 and time Elapsed: 51 milliseconds +size: 4096, step: 4 and time Elapsed: 58 milliseconds +size: 4096, step: 8 and time Elapsed: 59 milliseconds +size: 4096, step: 16 and time Elapsed: 76 milliseconds +size: 4096, step: 32 and time Elapsed: 44 milliseconds +size: 4096, step: 64 and time Elapsed: 46 milliseconds +size: 4096, step: 128 and time Elapsed: 48 milliseconds +size: 4096, step: 256 and time Elapsed: 94 milliseconds +size: 4096, step: 512 and time Elapsed: 64 milliseconds +size: 4096, step: 1024 and time Elapsed: 79 milliseconds +size: 8192, step: 2 and time Elapsed: 52 milliseconds +size: 8192, step: 4 and time Elapsed: 56 milliseconds +size: 8192, step: 8 and time Elapsed: 52 milliseconds +size: 8192, step: 16 and time Elapsed: 56 milliseconds +size: 8192, step: 32 and time Elapsed: 73 milliseconds +size: 8192, step: 64 and time Elapsed: 44 milliseconds +size: 8192, step: 128 and time Elapsed: 42 milliseconds +size: 8192, step: 256 and time Elapsed: 47 milliseconds +size: 8192, step: 512 and time Elapsed: 93 milliseconds +size: 8192, step: 1024 and time Elapsed: 64 milliseconds +size: 8192, step: 2048 and time Elapsed: 79 milliseconds +size: 16384, step: 2 and time Elapsed: 48 milliseconds +size: 16384, step: 4 and time Elapsed: 49 milliseconds +size: 16384, step: 8 and time Elapsed: 50 milliseconds +size: 16384, step: 16 and time Elapsed: 52 milliseconds +size: 16384, step: 32 and time Elapsed: 56 milliseconds +size: 16384, step: 64 and time Elapsed: 80 milliseconds +size: 16384, step: 128 and time Elapsed: 49 milliseconds +size: 16384, step: 256 and time Elapsed: 73 milliseconds +size: 16384, step: 512 and time Elapsed: 51 milliseconds +size: 16384, step: 1024 and time Elapsed: 92 milliseconds +size: 16384, step: 2048 and time Elapsed: 62 milliseconds +size: 16384, step: 4096 and time Elapsed: 75 milliseconds +size: 32768, step: 2 and time Elapsed: 48 milliseconds +size: 32768, step: 4 and time Elapsed: 50 milliseconds +size: 32768, step: 8 and time Elapsed: 48 milliseconds +size: 32768, step: 16 and time Elapsed: 50 milliseconds +size: 32768, step: 32 and time Elapsed: 52 milliseconds +size: 32768, step: 64 and time Elapsed: 57 milliseconds +size: 32768, step: 128 and time Elapsed: 78 milliseconds +size: 32768, step: 256 and time Elapsed: 48 milliseconds +size: 32768, step: 512 and time Elapsed: 43 milliseconds +size: 32768, step: 1024 and time Elapsed: 47 milliseconds +size: 32768, step: 2048 and time Elapsed: 93 milliseconds +size: 32768, step: 4096 and time Elapsed: 67 milliseconds +size: 32768, step: 8192 and time Elapsed: 76 milliseconds +size: 65536, step: 2 and time Elapsed: 49 milliseconds +size: 65536, step: 4 and time Elapsed: 49 milliseconds +size: 65536, step: 8 and time Elapsed: 52 milliseconds +size: 65536, step: 16 and time Elapsed: 74 milliseconds +size: 65536, step: 32 and time Elapsed: 85 milliseconds +size: 65536, step: 64 and time Elapsed: 104 milliseconds +size: 65536, step: 128 and time Elapsed: 99 milliseconds +size: 65536, step: 256 and time Elapsed: 88 milliseconds +size: 65536, step: 512 and time Elapsed: 52 milliseconds +size: 65536, step: 1024 and time Elapsed: 58 milliseconds +size: 65536, step: 2048 and time Elapsed: 63 milliseconds +size: 65536, step: 4096 and time Elapsed: 92 milliseconds +size: 65536, step: 8192 and time Elapsed: 63 milliseconds +size: 65536, step: 16384 and time Elapsed: 75 milliseconds +size: 131072, step: 2 and time Elapsed: 48 milliseconds +size: 131072, step: 4 and time Elapsed: 48 milliseconds +size: 131072, step: 8 and time Elapsed: 50 milliseconds +size: 131072, step: 16 and time Elapsed: 64 milliseconds +size: 131072, step: 32 and time Elapsed: 92 milliseconds +size: 131072, step: 64 and time Elapsed: 105 milliseconds +size: 131072, step: 128 and time Elapsed: 96 milliseconds +size: 131072, step: 256 and time Elapsed: 100 milliseconds +size: 131072, step: 512 and time Elapsed: 101 milliseconds +size: 131072, step: 1024 and time Elapsed: 78 milliseconds +size: 131072, step: 2048 and time Elapsed: 45 milliseconds +size: 131072, step: 4096 and time Elapsed: 47 milliseconds +size: 131072, step: 8192 and time Elapsed: 93 milliseconds +size: 131072, step: 16384 and time Elapsed: 64 milliseconds +size: 131072, step: 32768 and time Elapsed: 83 milliseconds +size: 262144, step: 2 and time Elapsed: 58 milliseconds +size: 262144, step: 4 and time Elapsed: 56 milliseconds +size: 262144, step: 8 and time Elapsed: 53 milliseconds +size: 262144, step: 16 and time Elapsed: 88 milliseconds +size: 262144, step: 32 and time Elapsed: 126 milliseconds +size: 262144, step: 64 and time Elapsed: 152 milliseconds +size: 262144, step: 128 and time Elapsed: 118 milliseconds +size: 262144, step: 256 and time Elapsed: 132 milliseconds +size: 262144, step: 512 and time Elapsed: 139 milliseconds +size: 262144, step: 1024 and time Elapsed: 189 milliseconds +size: 262144, step: 2048 and time Elapsed: 82 milliseconds +size: 262144, step: 4096 and time Elapsed: 47 milliseconds +size: 262144, step: 8192 and time Elapsed: 47 milliseconds +size: 262144, step: 16384 and time Elapsed: 93 milliseconds +size: 262144, step: 32768 and time Elapsed: 64 milliseconds +size: 262144, step: 65536 and time Elapsed: 78 milliseconds +size: 524288, step: 2 and time Elapsed: 50 milliseconds +size: 524288, step: 4 and time Elapsed: 56 milliseconds +size: 524288, step: 8 and time Elapsed: 67 milliseconds +size: 524288, step: 16 and time Elapsed: 126 milliseconds +size: 524288, step: 32 and time Elapsed: 193 milliseconds +size: 524288, step: 64 and time Elapsed: 232 milliseconds +size: 524288, step: 128 and time Elapsed: 233 milliseconds +size: 524288, step: 256 and time Elapsed: 243 milliseconds +size: 524288, step: 512 and time Elapsed: 193 milliseconds +size: 524288, step: 1024 and time Elapsed: 206 milliseconds +size: 524288, step: 2048 and time Elapsed: 189 milliseconds +size: 524288, step: 4096 and time Elapsed: 98 milliseconds +size: 524288, step: 8192 and time Elapsed: 58 milliseconds +size: 524288, step: 16384 and time Elapsed: 47 milliseconds +size: 524288, step: 32768 and time Elapsed: 93 milliseconds +size: 524288, step: 65536 and time Elapsed: 65 milliseconds +size: 524288, step: 131072 and time Elapsed: 76 milliseconds +size: 1048576, step: 2 and time Elapsed: 63 milliseconds +size: 1048576, step: 4 and time Elapsed: 63 milliseconds +size: 1048576, step: 8 and time Elapsed: 70 milliseconds +size: 1048576, step: 16 and time Elapsed: 125 milliseconds +size: 1048576, step: 32 and time Elapsed: 195 milliseconds +size: 1048576, step: 64 and time Elapsed: 248 milliseconds +size: 1048576, step: 128 and time Elapsed: 259 milliseconds +size: 1048576, step: 256 and time Elapsed: 250 milliseconds +size: 1048576, step: 512 and time Elapsed: 221 milliseconds +size: 1048576, step: 1024 and time Elapsed: 205 milliseconds +size: 1048576, step: 2048 and time Elapsed: 213 milliseconds +size: 1048576, step: 4096 and time Elapsed: 195 milliseconds +size: 1048576, step: 8192 and time Elapsed: 113 milliseconds +size: 1048576, step: 16384 and time Elapsed: 68 milliseconds +size: 1048576, step: 32768 and time Elapsed: 48 milliseconds +size: 1048576, step: 65536 and time Elapsed: 93 milliseconds +size: 1048576, step: 131072 and time Elapsed: 62 milliseconds +size: 1048576, step: 262144 and time Elapsed: 79 milliseconds +size: 2097152, step: 2 and time Elapsed: 59 milliseconds +size: 2097152, step: 4 and time Elapsed: 57 milliseconds +size: 2097152, step: 8 and time Elapsed: 71 milliseconds +size: 2097152, step: 16 and time Elapsed: 142 milliseconds +size: 2097152, step: 32 and time Elapsed: 219 milliseconds +size: 2097152, step: 64 and time Elapsed: 254 milliseconds +size: 2097152, step: 128 and time Elapsed: 257 milliseconds +size: 2097152, step: 256 and time Elapsed: 265 milliseconds +size: 2097152, step: 512 and time Elapsed: 230 milliseconds +size: 2097152, step: 1024 and time Elapsed: 209 milliseconds +size: 2097152, step: 2048 and time Elapsed: 204 milliseconds +size: 2097152, step: 4096 and time Elapsed: 208 milliseconds +size: 2097152, step: 8192 and time Elapsed: 204 milliseconds +size: 2097152, step: 16384 and time Elapsed: 107 milliseconds +size: 2097152, step: 32768 and time Elapsed: 68 milliseconds +size: 2097152, step: 65536 and time Elapsed: 49 milliseconds +size: 2097152, step: 131072 and time Elapsed: 93 milliseconds +size: 2097152, step: 262144 and time Elapsed: 63 milliseconds +size: 2097152, step: 524288 and time Elapsed: 75 milliseconds +size: 4194304, step: 2 and time Elapsed: 60 milliseconds +size: 4194304, step: 4 and time Elapsed: 80 milliseconds +size: 4194304, step: 8 and time Elapsed: 142 milliseconds +size: 4194304, step: 16 and time Elapsed: 242 milliseconds +size: 4194304, step: 32 and time Elapsed: 408 milliseconds +size: 4194304, step: 64 and time Elapsed: 429 milliseconds +size: 4194304, step: 128 and time Elapsed: 498 milliseconds +size: 4194304, step: 256 and time Elapsed: 506 milliseconds +size: 4194304, step: 512 and time Elapsed: 489 milliseconds +size: 4194304, step: 1024 and time Elapsed: 403 milliseconds +size: 4194304, step: 2048 and time Elapsed: 213 milliseconds +size: 4194304, step: 4096 and time Elapsed: 203 milliseconds +size: 4194304, step: 8192 and time Elapsed: 200 milliseconds +size: 4194304, step: 16384 and time Elapsed: 206 milliseconds +size: 4194304, step: 32768 and time Elapsed: 113 milliseconds +size: 4194304, step: 65536 and time Elapsed: 68 milliseconds +size: 4194304, step: 131072 and time Elapsed: 47 milliseconds +size: 4194304, step: 262144 and time Elapsed: 90 milliseconds +size: 4194304, step: 524288 and time Elapsed: 68 milliseconds +size: 4194304, step: 1048576 and time Elapsed: 79 milliseconds +size: 8388608, step: 2 and time Elapsed: 62 milliseconds +size: 8388608, step: 4 and time Elapsed: 100 milliseconds +size: 8388608, step: 8 and time Elapsed: 181 milliseconds +size: 8388608, step: 16 and time Elapsed: 374 milliseconds +size: 8388608, step: 32 and time Elapsed: 768 milliseconds +size: 8388608, step: 64 and time Elapsed: 924 milliseconds +size: 8388608, step: 128 and time Elapsed: 1042 milliseconds +size: 8388608, step: 256 and time Elapsed: 1125 milliseconds +size: 8388608, step: 512 and time Elapsed: 1083 milliseconds +size: 8388608, step: 1024 and time Elapsed: 1001 milliseconds +size: 8388608, step: 2048 and time Elapsed: 455 milliseconds +size: 8388608, step: 4096 and time Elapsed: 286 milliseconds +size: 8388608, step: 8192 and time Elapsed: 207 milliseconds +size: 8388608, step: 16384 and time Elapsed: 204 milliseconds +size: 8388608, step: 32768 and time Elapsed: 195 milliseconds +size: 8388608, step: 65536 and time Elapsed: 119 milliseconds +size: 8388608, step: 131072 and time Elapsed: 74 milliseconds +size: 8388608, step: 262144 and time Elapsed: 52 milliseconds +size: 8388608, step: 524288 and time Elapsed: 89 milliseconds +size: 8388608, step: 1048576 and time Elapsed: 65 milliseconds +size: 8388608, step: 2097152 and time Elapsed: 90 milliseconds +size: 16777216, step: 2 and time Elapsed: 71 milliseconds +size: 16777216, step: 4 and time Elapsed: 99 milliseconds +size: 16777216, step: 8 and time Elapsed: 190 milliseconds +size: 16777216, step: 16 and time Elapsed: 475 milliseconds +size: 16777216, step: 32 and time Elapsed: 813 milliseconds +size: 16777216, step: 64 and time Elapsed: 1077 milliseconds +size: 16777216, step: 128 and time Elapsed: 1214 milliseconds +size: 16777216, step: 256 and time Elapsed: 1339 milliseconds +size: 16777216, step: 512 and time Elapsed: 1461 milliseconds +size: 16777216, step: 1024 and time Elapsed: 1147 milliseconds +size: 16777216, step: 2048 and time Elapsed: 1019 milliseconds +size: 16777216, step: 4096 and time Elapsed: 418 milliseconds +size: 16777216, step: 8192 and time Elapsed: 701 milliseconds +size: 16777216, step: 16384 and time Elapsed: 209 milliseconds +size: 16777216, step: 32768 and time Elapsed: 206 milliseconds +size: 16777216, step: 65536 and time Elapsed: 199 milliseconds +size: 16777216, step: 131072 and time Elapsed: 116 milliseconds +size: 16777216, step: 262144 and time Elapsed: 67 milliseconds +size: 16777216, step: 524288 and time Elapsed: 46 milliseconds +size: 16777216, step: 1048576 and time Elapsed: 92 milliseconds +size: 16777216, step: 2097152 and time Elapsed: 66 milliseconds +size: 16777216, step: 4194304 and time Elapsed: 75 milliseconds +size: 33554432, step: 2 and time Elapsed: 79 milliseconds +size: 33554432, step: 4 and time Elapsed: 108 milliseconds +size: 33554432, step: 8 and time Elapsed: 197 milliseconds +size: 33554432, step: 16 and time Elapsed: 514 milliseconds +size: 33554432, step: 32 and time Elapsed: 853 milliseconds +size: 33554432, step: 64 and time Elapsed: 1112 milliseconds +size: 33554432, step: 128 and time Elapsed: 1282 milliseconds +size: 33554432, step: 256 and time Elapsed: 1605 milliseconds +size: 33554432, step: 512 and time Elapsed: 1523 milliseconds +size: 33554432, step: 1024 and time Elapsed: 1285 milliseconds +size: 33554432, step: 2048 and time Elapsed: 1243 milliseconds +size: 33554432, step: 4096 and time Elapsed: 1262 milliseconds +size: 33554432, step: 8192 and time Elapsed: 699 milliseconds +size: 33554432, step: 16384 and time Elapsed: 385 milliseconds +size: 33554432, step: 32768 and time Elapsed: 208 milliseconds +size: 33554432, step: 65536 and time Elapsed: 200 milliseconds +size: 33554432, step: 131072 and time Elapsed: 190 milliseconds +size: 33554432, step: 262144 and time Elapsed: 114 milliseconds +size: 33554432, step: 524288 and time Elapsed: 70 milliseconds +size: 33554432, step: 1048576 and time Elapsed: 48 milliseconds +size: 33554432, step: 2097152 and time Elapsed: 93 milliseconds +size: 33554432, step: 4194304 and time Elapsed: 63 milliseconds +size: 33554432, step: 8388608 and time Elapsed: 78 milliseconds +size: 67108864, step: 2 and time Elapsed: 71 milliseconds +size: 67108864, step: 4 and time Elapsed: 109 milliseconds +size: 67108864, step: 8 and time Elapsed: 217 milliseconds +size: 67108864, step: 16 and time Elapsed: 495 milliseconds +size: 67108864, step: 32 and time Elapsed: 951 milliseconds +size: 67108864, step: 64 and time Elapsed: 1191 milliseconds +size: 67108864, step: 128 and time Elapsed: 1440 milliseconds +size: 67108864, step: 256 and time Elapsed: 1461 milliseconds +size: 67108864, step: 512 and time Elapsed: 1636 milliseconds +size: 67108864, step: 1024 and time Elapsed: 1273 milliseconds +size: 67108864, step: 2048 and time Elapsed: 1468 milliseconds +size: 67108864, step: 4096 and time Elapsed: 1512 milliseconds +size: 67108864, step: 8192 and time Elapsed: 1566 milliseconds +size: 67108864, step: 16384 and time Elapsed: 578 milliseconds +size: 67108864, step: 32768 and time Elapsed: 268 milliseconds +size: 67108864, step: 65536 and time Elapsed: 207 milliseconds +size: 67108864, step: 131072 and time Elapsed: 203 milliseconds +size: 67108864, step: 262144 and time Elapsed: 200 milliseconds +size: 67108864, step: 524288 and time Elapsed: 113 milliseconds +size: 67108864, step: 1048576 and time Elapsed: 72 milliseconds +size: 67108864, step: 2097152 and time Elapsed: 53 milliseconds +size: 67108864, step: 4194304 and time Elapsed: 92 milliseconds +size: 67108864, step: 8388608 and time Elapsed: 66 milliseconds +size: 67108864, step: 16777216 and time Elapsed: 75 milliseconds +size: 134217728, step: 2 and time Elapsed: 73 milliseconds +size: 134217728, step: 4 and time Elapsed: 114 milliseconds +size: 134217728, step: 8 and time Elapsed: 225 milliseconds +size: 134217728, step: 16 and time Elapsed: 578 milliseconds +size: 134217728, step: 32 and time Elapsed: 995 milliseconds +size: 134217728, step: 64 and time Elapsed: 1294 milliseconds +size: 134217728, step: 128 and time Elapsed: 1671 milliseconds +size: 134217728, step: 256 and time Elapsed: 1780 milliseconds +size: 134217728, step: 512 and time Elapsed: 1947 milliseconds +size: 134217728, step: 1024 and time Elapsed: 1453 milliseconds +size: 134217728, step: 2048 and time Elapsed: 1479 milliseconds +size: 134217728, step: 4096 and time Elapsed: 1547 milliseconds +size: 134217728, step: 8192 and time Elapsed: 1329 milliseconds +size: 134217728, step: 16384 and time Elapsed: 1294 milliseconds +size: 134217728, step: 32768 and time Elapsed: 407 milliseconds +size: 134217728, step: 65536 and time Elapsed: 275 milliseconds +size: 134217728, step: 131072 and time Elapsed: 254 milliseconds +size: 134217728, step: 262144 and time Elapsed: 253 milliseconds +size: 134217728, step: 524288 and time Elapsed: 231 milliseconds +size: 134217728, step: 1048576 and time Elapsed: 152 milliseconds +size: 134217728, step: 2097152 and time Elapsed: 80 milliseconds +size: 134217728, step: 4194304 and time Elapsed: 60 milliseconds +size: 134217728, step: 8388608 and time Elapsed: 90 milliseconds +size: 134217728, step: 16777216 and time Elapsed: 80 milliseconds +size: 134217728, step: 33554432 and time Elapsed: 102 milliseconds diff --git a/jump_step.log b/jump_step.log new file mode 100644 index 0000000..240e13f --- /dev/null +++ b/jump_step.log @@ -0,0 +1,325 @@ +size: 8, step: 2 and time Elapsed: 83 milliseconds +size: 16, step: 2 and time Elapsed: 72 milliseconds +size: 32, step: 2 and time Elapsed: 93 milliseconds +size: 64, step: 2 and time Elapsed: 47 milliseconds +size: 128, step: 2 and time Elapsed: 43 milliseconds +size: 256, step: 2 and time Elapsed: 43 milliseconds +size: 512, step: 2 and time Elapsed: 73 milliseconds +size: 1024, step: 2 and time Elapsed: 57 milliseconds +size: 2048, step: 2 and time Elapsed: 52 milliseconds +size: 4096, step: 2 and time Elapsed: 49 milliseconds +size: 8192, step: 2 and time Elapsed: 48 milliseconds +size: 16384, step: 2 and time Elapsed: 48 milliseconds +size: 32768, step: 2 and time Elapsed: 48 milliseconds +size: 65536, step: 2 and time Elapsed: 48 milliseconds +size: 131072, step: 2 and time Elapsed: 48 milliseconds +size: 262144, step: 2 and time Elapsed: 48 milliseconds +size: 524288, step: 2 and time Elapsed: 52 milliseconds +size: 1048576, step: 2 and time Elapsed: 54 milliseconds +size: 2097152, step: 2 and time Elapsed: 63 milliseconds +size: 4194304, step: 2 and time Elapsed: 60 milliseconds +size: 8388608, step: 2 and time Elapsed: 66 milliseconds +size: 16777216, step: 2 and time Elapsed: 61 milliseconds +size: 33554432, step: 2 and time Elapsed: 62 milliseconds +size: 67108864, step: 2 and time Elapsed: 72 milliseconds +size: 134217728, step: 2 and time Elapsed: 81 milliseconds +size: 16, step: 4 and time Elapsed: 77 milliseconds +size: 32, step: 4 and time Elapsed: 64 milliseconds +size: 64, step: 4 and time Elapsed: 93 milliseconds +size: 128, step: 4 and time Elapsed: 47 milliseconds +size: 256, step: 4 and time Elapsed: 42 milliseconds +size: 512, step: 4 and time Elapsed: 44 milliseconds +size: 1024, step: 4 and time Elapsed: 72 milliseconds +size: 2048, step: 4 and time Elapsed: 56 milliseconds +size: 4096, step: 4 and time Elapsed: 51 milliseconds +size: 8192, step: 4 and time Elapsed: 50 milliseconds +size: 16384, step: 4 and time Elapsed: 53 milliseconds +size: 32768, step: 4 and time Elapsed: 50 milliseconds +size: 65536, step: 4 and time Elapsed: 51 milliseconds +size: 131072, step: 4 and time Elapsed: 48 milliseconds +size: 262144, step: 4 and time Elapsed: 48 milliseconds +size: 524288, step: 4 and time Elapsed: 52 milliseconds +size: 1048576, step: 4 and time Elapsed: 53 milliseconds +size: 2097152, step: 4 and time Elapsed: 56 milliseconds +size: 4194304, step: 4 and time Elapsed: 79 milliseconds +size: 8388608, step: 4 and time Elapsed: 106 milliseconds +size: 16777216, step: 4 and time Elapsed: 99 milliseconds +size: 33554432, step: 4 and time Elapsed: 102 milliseconds +size: 67108864, step: 4 and time Elapsed: 114 milliseconds +size: 134217728, step: 4 and time Elapsed: 113 milliseconds +size: 32, step: 8 and time Elapsed: 76 milliseconds +size: 64, step: 8 and time Elapsed: 64 milliseconds +size: 128, step: 8 and time Elapsed: 93 milliseconds +size: 256, step: 8 and time Elapsed: 54 milliseconds +size: 512, step: 8 and time Elapsed: 44 milliseconds +size: 1024, step: 8 and time Elapsed: 68 milliseconds +size: 2048, step: 8 and time Elapsed: 80 milliseconds +size: 4096, step: 8 and time Elapsed: 61 milliseconds +size: 8192, step: 8 and time Elapsed: 53 milliseconds +size: 16384, step: 8 and time Elapsed: 51 milliseconds +size: 32768, step: 8 and time Elapsed: 49 milliseconds +size: 65536, step: 8 and time Elapsed: 50 milliseconds +size: 131072, step: 8 and time Elapsed: 49 milliseconds +size: 262144, step: 8 and time Elapsed: 49 milliseconds +size: 524288, step: 8 and time Elapsed: 70 milliseconds +size: 1048576, step: 8 and time Elapsed: 70 milliseconds +size: 2097152, step: 8 and time Elapsed: 75 milliseconds +size: 4194304, step: 8 and time Elapsed: 120 milliseconds +size: 8388608, step: 8 and time Elapsed: 177 milliseconds +size: 16777216, step: 8 and time Elapsed: 192 milliseconds +size: 33554432, step: 8 and time Elapsed: 197 milliseconds +size: 67108864, step: 8 and time Elapsed: 225 milliseconds +size: 134217728, step: 8 and time Elapsed: 296 milliseconds +size: 64, step: 16 and time Elapsed: 77 milliseconds +size: 128, step: 16 and time Elapsed: 63 milliseconds +size: 256, step: 16 and time Elapsed: 93 milliseconds +size: 512, step: 16 and time Elapsed: 51 milliseconds +size: 1024, step: 16 and time Elapsed: 54 milliseconds +size: 2048, step: 16 and time Elapsed: 46 milliseconds +size: 4096, step: 16 and time Elapsed: 75 milliseconds +size: 8192, step: 16 and time Elapsed: 57 milliseconds +size: 16384, step: 16 and time Elapsed: 52 milliseconds +size: 32768, step: 16 and time Elapsed: 51 milliseconds +size: 65536, step: 16 and time Elapsed: 64 milliseconds +size: 131072, step: 16 and time Elapsed: 67 milliseconds +size: 262144, step: 16 and time Elapsed: 64 milliseconds +size: 524288, step: 16 and time Elapsed: 127 milliseconds +size: 1048576, step: 16 and time Elapsed: 130 milliseconds +size: 2097152, step: 16 and time Elapsed: 128 milliseconds +size: 4194304, step: 16 and time Elapsed: 257 milliseconds +size: 8388608, step: 16 and time Elapsed: 405 milliseconds +size: 16777216, step: 16 and time Elapsed: 459 milliseconds +size: 33554432, step: 16 and time Elapsed: 497 milliseconds +size: 67108864, step: 16 and time Elapsed: 508 milliseconds +size: 134217728, step: 16 and time Elapsed: 517 milliseconds +size: 128, step: 32 and time Elapsed: 80 milliseconds +size: 256, step: 32 and time Elapsed: 63 milliseconds +size: 512, step: 32 and time Elapsed: 92 milliseconds +size: 1024, step: 32 and time Elapsed: 48 milliseconds +size: 2048, step: 32 and time Elapsed: 45 milliseconds +size: 4096, step: 32 and time Elapsed: 43 milliseconds +size: 8192, step: 32 and time Elapsed: 73 milliseconds +size: 16384, step: 32 and time Elapsed: 58 milliseconds +size: 32768, step: 32 and time Elapsed: 57 milliseconds +size: 65536, step: 32 and time Elapsed: 82 milliseconds +size: 131072, step: 32 and time Elapsed: 82 milliseconds +size: 262144, step: 32 and time Elapsed: 81 milliseconds +size: 524288, step: 32 and time Elapsed: 196 milliseconds +size: 1048576, step: 32 and time Elapsed: 191 milliseconds +size: 2097152, step: 32 and time Elapsed: 197 milliseconds +size: 4194304, step: 32 and time Elapsed: 393 milliseconds +size: 8388608, step: 32 and time Elapsed: 679 milliseconds +size: 16777216, step: 32 and time Elapsed: 828 milliseconds +size: 33554432, step: 32 and time Elapsed: 857 milliseconds +size: 67108864, step: 32 and time Elapsed: 916 milliseconds +size: 134217728, step: 32 and time Elapsed: 895 milliseconds +size: 256, step: 64 and time Elapsed: 85 milliseconds +size: 512, step: 64 and time Elapsed: 66 milliseconds +size: 1024, step: 64 and time Elapsed: 93 milliseconds +size: 2048, step: 64 and time Elapsed: 47 milliseconds +size: 4096, step: 64 and time Elapsed: 42 milliseconds +size: 8192, step: 64 and time Elapsed: 43 milliseconds +size: 16384, step: 64 and time Elapsed: 73 milliseconds +size: 32768, step: 64 and time Elapsed: 56 milliseconds +size: 65536, step: 64 and time Elapsed: 103 milliseconds +size: 131072, step: 64 and time Elapsed: 102 milliseconds +size: 262144, step: 64 and time Elapsed: 99 milliseconds +size: 524288, step: 64 and time Elapsed: 230 milliseconds +size: 1048576, step: 64 and time Elapsed: 240 milliseconds +size: 2097152, step: 64 and time Elapsed: 246 milliseconds +size: 4194304, step: 64 and time Elapsed: 365 milliseconds +size: 8388608, step: 64 and time Elapsed: 856 milliseconds +size: 16777216, step: 64 and time Elapsed: 1063 milliseconds +size: 33554432, step: 64 and time Elapsed: 1119 milliseconds +size: 67108864, step: 64 and time Elapsed: 1173 milliseconds +size: 134217728, step: 64 and time Elapsed: 1209 milliseconds +size: 512, step: 128 and time Elapsed: 80 milliseconds +size: 1024, step: 128 and time Elapsed: 64 milliseconds +size: 2048, step: 128 and time Elapsed: 92 milliseconds +size: 4096, step: 128 and time Elapsed: 48 milliseconds +size: 8192, step: 128 and time Elapsed: 43 milliseconds +size: 16384, step: 128 and time Elapsed: 47 milliseconds +size: 32768, step: 128 and time Elapsed: 78 milliseconds +size: 65536, step: 128 and time Elapsed: 99 milliseconds +size: 131072, step: 128 and time Elapsed: 101 milliseconds +size: 262144, step: 128 and time Elapsed: 97 milliseconds +size: 524288, step: 128 and time Elapsed: 232 milliseconds +size: 1048576, step: 128 and time Elapsed: 254 milliseconds +size: 2097152, step: 128 and time Elapsed: 252 milliseconds +size: 4194304, step: 128 and time Elapsed: 487 milliseconds +size: 8388608, step: 128 and time Elapsed: 985 milliseconds +size: 16777216, step: 128 and time Elapsed: 1247 milliseconds +size: 33554432, step: 128 and time Elapsed: 1318 milliseconds +size: 67108864, step: 128 and time Elapsed: 1397 milliseconds +size: 134217728, step: 128 and time Elapsed: 1419 milliseconds +size: 1024, step: 256 and time Elapsed: 79 milliseconds +size: 2048, step: 256 and time Elapsed: 63 milliseconds +size: 4096, step: 256 and time Elapsed: 93 milliseconds +size: 8192, step: 256 and time Elapsed: 59 milliseconds +size: 16384, step: 256 and time Elapsed: 45 milliseconds +size: 32768, step: 256 and time Elapsed: 48 milliseconds +size: 65536, step: 256 and time Elapsed: 91 milliseconds +size: 131072, step: 256 and time Elapsed: 99 milliseconds +size: 262144, step: 256 and time Elapsed: 97 milliseconds +size: 524288, step: 256 and time Elapsed: 239 milliseconds +size: 1048576, step: 256 and time Elapsed: 249 milliseconds +size: 2097152, step: 256 and time Elapsed: 251 milliseconds +size: 4194304, step: 256 and time Elapsed: 480 milliseconds +size: 8388608, step: 256 and time Elapsed: 1046 milliseconds +size: 16777216, step: 256 and time Elapsed: 1295 milliseconds +size: 33554432, step: 256 and time Elapsed: 1460 milliseconds +size: 67108864, step: 256 and time Elapsed: 1562 milliseconds +size: 134217728, step: 256 and time Elapsed: 1657 milliseconds +size: 2048, step: 512 and time Elapsed: 86 milliseconds +size: 4096, step: 512 and time Elapsed: 68 milliseconds +size: 8192, step: 512 and time Elapsed: 92 milliseconds +size: 16384, step: 512 and time Elapsed: 48 milliseconds +size: 32768, step: 512 and time Elapsed: 44 milliseconds +size: 65536, step: 512 and time Elapsed: 53 milliseconds +size: 131072, step: 512 and time Elapsed: 100 milliseconds +size: 262144, step: 512 and time Elapsed: 95 milliseconds +size: 524288, step: 512 and time Elapsed: 207 milliseconds +size: 1048576, step: 512 and time Elapsed: 217 milliseconds +size: 2097152, step: 512 and time Elapsed: 222 milliseconds +size: 4194304, step: 512 and time Elapsed: 500 milliseconds +size: 8388608, step: 512 and time Elapsed: 1046 milliseconds +size: 16777216, step: 512 and time Elapsed: 1352 milliseconds +size: 33554432, step: 512 and time Elapsed: 1494 milliseconds +size: 67108864, step: 512 and time Elapsed: 1662 milliseconds +size: 134217728, step: 512 and time Elapsed: 1764 milliseconds +size: 4096, step: 1024 and time Elapsed: 87 milliseconds +size: 8192, step: 1024 and time Elapsed: 67 milliseconds +size: 16384, step: 1024 and time Elapsed: 92 milliseconds +size: 32768, step: 1024 and time Elapsed: 48 milliseconds +size: 65536, step: 1024 and time Elapsed: 48 milliseconds +size: 131072, step: 1024 and time Elapsed: 81 milliseconds +size: 262144, step: 1024 and time Elapsed: 145 milliseconds +size: 524288, step: 1024 and time Elapsed: 206 milliseconds +size: 1048576, step: 1024 and time Elapsed: 205 milliseconds +size: 2097152, step: 1024 and time Elapsed: 207 milliseconds +size: 4194304, step: 1024 and time Elapsed: 380 milliseconds +size: 8388608, step: 1024 and time Elapsed: 997 milliseconds +size: 16777216, step: 1024 and time Elapsed: 1118 milliseconds +size: 33554432, step: 1024 and time Elapsed: 1208 milliseconds +size: 67108864, step: 1024 and time Elapsed: 1319 milliseconds +size: 134217728, step: 1024 and time Elapsed: 1400 milliseconds +size: 8192, step: 2048 and time Elapsed: 93 milliseconds +size: 16384, step: 2048 and time Elapsed: 66 milliseconds +size: 32768, step: 2048 and time Elapsed: 93 milliseconds +size: 65536, step: 2048 and time Elapsed: 48 milliseconds +size: 131072, step: 2048 and time Elapsed: 46 milliseconds +size: 262144, step: 2048 and time Elapsed: 79 milliseconds +size: 524288, step: 2048 and time Elapsed: 201 milliseconds +size: 1048576, step: 2048 and time Elapsed: 211 milliseconds +size: 2097152, step: 2048 and time Elapsed: 204 milliseconds +size: 4194304, step: 2048 and time Elapsed: 414 milliseconds +size: 8388608, step: 2048 and time Elapsed: 433 milliseconds +size: 16777216, step: 2048 and time Elapsed: 1012 milliseconds +size: 33554432, step: 2048 and time Elapsed: 1275 milliseconds +size: 67108864, step: 2048 and time Elapsed: 1282 milliseconds +size: 134217728, step: 2048 and time Elapsed: 1387 milliseconds +size: 16384, step: 4096 and time Elapsed: 83 milliseconds +size: 32768, step: 4096 and time Elapsed: 63 milliseconds +size: 65536, step: 4096 and time Elapsed: 90 milliseconds +size: 131072, step: 4096 and time Elapsed: 47 milliseconds +size: 262144, step: 4096 and time Elapsed: 46 milliseconds +size: 524288, step: 4096 and time Elapsed: 117 milliseconds +size: 1048576, step: 4096 and time Elapsed: 213 milliseconds +size: 2097152, step: 4096 and time Elapsed: 204 milliseconds +size: 4194304, step: 4096 and time Elapsed: 201 milliseconds +size: 8388608, step: 4096 and time Elapsed: 315 milliseconds +size: 16777216, step: 4096 and time Elapsed: 438 milliseconds +size: 33554432, step: 4096 and time Elapsed: 1178 milliseconds +size: 67108864, step: 4096 and time Elapsed: 1423 milliseconds +size: 134217728, step: 4096 and time Elapsed: 1370 milliseconds +size: 32768, step: 8192 and time Elapsed: 83 milliseconds +size: 65536, step: 8192 and time Elapsed: 63 milliseconds +size: 131072, step: 8192 and time Elapsed: 93 milliseconds +size: 262144, step: 8192 and time Elapsed: 48 milliseconds +size: 524288, step: 8192 and time Elapsed: 81 milliseconds +size: 1048576, step: 8192 and time Elapsed: 124 milliseconds +size: 2097152, step: 8192 and time Elapsed: 195 milliseconds +size: 4194304, step: 8192 and time Elapsed: 197 milliseconds +size: 8388608, step: 8192 and time Elapsed: 212 milliseconds +size: 16777216, step: 8192 and time Elapsed: 278 milliseconds +size: 33554432, step: 8192 and time Elapsed: 458 milliseconds +size: 67108864, step: 8192 and time Elapsed: 1300 milliseconds +size: 134217728, step: 8192 and time Elapsed: 1810 milliseconds +size: 65536, step: 16384 and time Elapsed: 84 milliseconds +size: 131072, step: 16384 and time Elapsed: 64 milliseconds +size: 262144, step: 16384 and time Elapsed: 93 milliseconds +size: 524288, step: 16384 and time Elapsed: 48 milliseconds +size: 1048576, step: 16384 and time Elapsed: 75 milliseconds +size: 2097152, step: 16384 and time Elapsed: 143 milliseconds +size: 4194304, step: 16384 and time Elapsed: 201 milliseconds +size: 8388608, step: 16384 and time Elapsed: 201 milliseconds +size: 16777216, step: 16384 and time Elapsed: 211 milliseconds +size: 33554432, step: 16384 and time Elapsed: 388 milliseconds +size: 67108864, step: 16384 and time Elapsed: 535 milliseconds +size: 134217728, step: 16384 and time Elapsed: 1751 milliseconds +size: 131072, step: 32768 and time Elapsed: 86 milliseconds +size: 262144, step: 32768 and time Elapsed: 66 milliseconds +size: 524288, step: 32768 and time Elapsed: 94 milliseconds +size: 1048576, step: 32768 and time Elapsed: 49 milliseconds +size: 2097152, step: 32768 and time Elapsed: 74 milliseconds +size: 4194304, step: 32768 and time Elapsed: 131 milliseconds +size: 8388608, step: 32768 and time Elapsed: 200 milliseconds +size: 16777216, step: 32768 and time Elapsed: 196 milliseconds +size: 33554432, step: 32768 and time Elapsed: 273 milliseconds +size: 67108864, step: 32768 and time Elapsed: 281 milliseconds +size: 134217728, step: 32768 and time Elapsed: 426 milliseconds +size: 262144, step: 65536 and time Elapsed: 77 milliseconds +size: 524288, step: 65536 and time Elapsed: 63 milliseconds +size: 1048576, step: 65536 and time Elapsed: 93 milliseconds +size: 2097152, step: 65536 and time Elapsed: 52 milliseconds +size: 4194304, step: 65536 and time Elapsed: 80 milliseconds +size: 8388608, step: 65536 and time Elapsed: 126 milliseconds +size: 16777216, step: 65536 and time Elapsed: 194 milliseconds +size: 33554432, step: 65536 and time Elapsed: 199 milliseconds +size: 67108864, step: 65536 and time Elapsed: 205 milliseconds +size: 134217728, step: 65536 and time Elapsed: 207 milliseconds +size: 524288, step: 131072 and time Elapsed: 84 milliseconds +size: 1048576, step: 131072 and time Elapsed: 68 milliseconds +size: 2097152, step: 131072 and time Elapsed: 93 milliseconds +size: 4194304, step: 131072 and time Elapsed: 47 milliseconds +size: 8388608, step: 131072 and time Elapsed: 70 milliseconds +size: 16777216, step: 131072 and time Elapsed: 114 milliseconds +size: 33554432, step: 131072 and time Elapsed: 180 milliseconds +size: 67108864, step: 131072 and time Elapsed: 202 milliseconds +size: 134217728, step: 131072 and time Elapsed: 205 milliseconds +size: 1048576, step: 262144 and time Elapsed: 79 milliseconds +size: 2097152, step: 262144 and time Elapsed: 67 milliseconds +size: 4194304, step: 262144 and time Elapsed: 93 milliseconds +size: 8388608, step: 262144 and time Elapsed: 47 milliseconds +size: 16777216, step: 262144 and time Elapsed: 68 milliseconds +size: 33554432, step: 262144 and time Elapsed: 107 milliseconds +size: 67108864, step: 262144 and time Elapsed: 194 milliseconds +size: 134217728, step: 262144 and time Elapsed: 201 milliseconds +size: 2097152, step: 524288 and time Elapsed: 77 milliseconds +size: 4194304, step: 524288 and time Elapsed: 63 milliseconds +size: 8388608, step: 524288 and time Elapsed: 93 milliseconds +size: 16777216, step: 524288 and time Elapsed: 50 milliseconds +size: 33554432, step: 524288 and time Elapsed: 72 milliseconds +size: 67108864, step: 524288 and time Elapsed: 110 milliseconds +size: 134217728, step: 524288 and time Elapsed: 180 milliseconds +size: 4194304, step: 1048576 and time Elapsed: 75 milliseconds +size: 8388608, step: 1048576 and time Elapsed: 63 milliseconds +size: 16777216, step: 1048576 and time Elapsed: 93 milliseconds +size: 33554432, step: 1048576 and time Elapsed: 50 milliseconds +size: 67108864, step: 1048576 and time Elapsed: 70 milliseconds +size: 134217728, step: 1048576 and time Elapsed: 108 milliseconds +size: 8388608, step: 2097152 and time Elapsed: 76 milliseconds +size: 16777216, step: 2097152 and time Elapsed: 63 milliseconds +size: 33554432, step: 2097152 and time Elapsed: 93 milliseconds +size: 67108864, step: 2097152 and time Elapsed: 52 milliseconds +size: 134217728, step: 2097152 and time Elapsed: 69 milliseconds +size: 16777216, step: 4194304 and time Elapsed: 75 milliseconds +size: 33554432, step: 4194304 and time Elapsed: 63 milliseconds +size: 67108864, step: 4194304 and time Elapsed: 93 milliseconds +size: 134217728, step: 4194304 and time Elapsed: 50 milliseconds +size: 33554432, step: 8388608 and time Elapsed: 84 milliseconds +size: 67108864, step: 8388608 and time Elapsed: 65 milliseconds +size: 134217728, step: 8388608 and time Elapsed: 93 milliseconds +size: 67108864, step: 16777216 and time Elapsed: 75 milliseconds +size: 134217728, step: 16777216 and time Elapsed: 63 milliseconds +size: 134217728, step: 33554432 and time Elapsed: 82 milliseconds diff --git a/plotter.py b/plotter.py new file mode 100644 index 0000000..a09660d --- /dev/null +++ b/plotter.py @@ -0,0 +1,76 @@ +import subprocess +import tempfile +import re +import matplotlib.pyplot as plt +from collections import defaultdict +import argparse +from math import log2 +import pandas as pd + + + +parser = argparse.ArgumentParser(description='Read data from a data file and plot this.') + +parser.add_argument('--data_file', action='store', dest='data_file', default='plot_data.txt', + help='The desired data to be plotted.') +parser.add_argument('--static_n', action='store_true', + help="Is the n variable static in the data file?") +parser.add_argument('--static_step', action='store_true', + help="Is the step variable static in the data file?") + + +args = parser.parse_args() + +data = open(args.data_file).read() + + +# d = {'static variable' : {step : time, step : time}} + + +def prep_data(static_var, data): + non_static_var = (static_var + 1) % 2 # if 0 then 1, if 1 then 0 + #non_static_var = 1 - static_var #rip :( + + lines = data.split('\n') + static_vars = set() + + data = defaultdict(dict) + + for line in lines[0:-1]: + all_vars = re.findall(r"\d+", line) + + static = int(all_vars[static_var]) + non_static = int(all_vars[non_static_var]) + time = int(all_vars[2]) + + static_vars.add(static) + data[static][non_static] = time + + return data + + + + +static_var = 0 if args.static_n else 1 +plot_data = prep_data(static_var, data) +df = pd.DataFrame(data=plot_data) +print(df) + +plt.imshow(df, cmap='hot') +plt.show() + + +#first = plot_data[list(plot_data.keys())[2]] + +#plt.plot(first[0], first[1]) + +#for static, plotting_data in plot_data.items(): +# x_axis = [log2(x) for x in plotting_data[0]] +# plt.plot(x_axis, plotting_data[1], marker="o", label = static) + + +#plt.xticks([2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26], ["$log2(2^2)$", "log2(2^4)", "log2(2^6)", "log2(2^8)", "log2(2^10)", "log2(2^12)", "log2(2^14)", "log2(2^16)", "log2(2^18)", "log2(2^20)", "log2(2^22)", "log2(2^24)", "log2(2^26)"]) +#plt.legend(loc=1, borderaxespad=0.) +#plt.ylabel('time/ms') +#plt.xlabel('log(step)') +#plt.show()