From 893eb6404de1dc81255c561ad28c45bc2f70db70 Mon Sep 17 00:00:00 2001 From: "Andrii Doroshenko (Xrayez)" Date: Thu, 17 Sep 2020 18:16:23 +0300 Subject: [PATCH] Add basic performance tests for linked list Made out of curiosity. See godotengine/godot-proposals#1522. --- tests/perf/list/icon.png | Bin 0 -> 3735 bytes tests/perf/list/icon.png.import | 34 +++++++++++++++++++ tests/perf/list/list.gd | 58 ++++++++++++++++++++++++++++++++ tests/perf/list/list.tscn | 6 ++++ tests/perf/list/project.godot | 20 +++++++++++ 5 files changed, 118 insertions(+) create mode 100644 tests/perf/list/icon.png create mode 100644 tests/perf/list/icon.png.import create mode 100644 tests/perf/list/list.gd create mode 100644 tests/perf/list/list.tscn create mode 100644 tests/perf/list/project.godot diff --git a/tests/perf/list/icon.png b/tests/perf/list/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..39b4b019642bdb1dcc773b7f051a89d906b5d8ee GIT binary patch literal 3735 zcmV;I4ruX-P)<{98FWQhbW?9;ba!ELWdL_~cP?peYja~^ zaAhuUa%Y?FJQ@H14irg5K~#9!)mvw9RM!<&l1U~%l1Z6K@+V~1io#xwy!yH65T7z9YNC_x_k@KAWL&DSeN%Dzq!5dtLLIrU=#sN64xxK;HrQc15;0wHg zAQel0gf8Vz+aFjus;T(&a^3GCl44P%88C7UN`?jg@ z_>z8RYA$?n6u3@20} zgS}htMuP`i-MXWJ>xIa^hi)iGz2{E=_xj}a6I?UMPN3b>c>opd*-ebXmhAy%D2uSQaIDU;7nr>tlmbS#;=`H<$4`W}Y&O^ZQ z=3L;XZ31EC9&0ir5h7YmB1Mi-A2W~=|24qYmN22$ePj3Y2Cj~uof(@iA3PI;CAr}8 z6hKr894$uJbTR}8y1~TcfyVDdkW83l)iWOPZ?*xzz+;KWL6r6XV2hu9R~d3 z9lDn%`GYXzz!g|mSPm!3s-d!`9-5n**|=BR0QYg!H#UX;M}MCwuLj@cN|tqQj1Lo@?fKw%ZBq1o-e(-RHlI+vv}0}|t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