-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtesting.txt
35 lines (30 loc) · 997 Bytes
/
testing.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Example of setting 71 values in memory for performance testing of the memory panel:
function memoryValueTest() {
// Set a bunch of values in memory for performance testing.
onStep();
const oldIP = hexagony.coords;
hexagony.executeOpcode(')');
for (let q =0; q < 10; q++) {
hexagony.executeOpcode('}');
hexagony.executeOpcode(')');
hexagony.executeOpcode('{');
hexagony.executeOpcode(')');
hexagony.executeOpcode('}');
hexagony.executeOpcode(')');
hexagony.executeOpcode('{');
hexagony.executeOpcode(')');
hexagony.executeOpcode('\'');
hexagony.executeOpcode(')');
hexagony.executeOpcode('{');
hexagony.executeOpcode('{');
hexagony.executeOpcode('=');
hexagony.executeOpcode('\'');
hexagony.executeOpcode(')');
hexagony.executeOpcode('"');
hexagony.executeOpcode(')');
}
updateMemory();
hexagony.ips[0] = oldIP;
}
memoryValueTest();
Memory pointer rotation test program: '"'"...........'"'"'"'