-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathtesting-fw.test.ts.crdt
More file actions
67 lines (67 loc) · 3 KB
/
Copy pathtesting-fw.test.ts.crdt
File metadata and controls
67 lines (67 loc) · 3 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
SCENE_COMPILED_JS_SIZE_PROD=474.7k bytes
THE BUNDLE HAS SOURCEMAPS
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
ALIVE_OBJS_DELTA ~= 0.19k
EVAL test/snapshots/development-bundles/testing-fw.test.js
REQUIRE: buffer
REQUIRE: long
REQUIRE: ~system/Testing
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 64k
MALLOC_COUNT = 14564
ALIVE_OBJS_DELTA ~= 2.92k
CALL onStart()
LOG: ["Adding one to position.y=0"]
Renderer: PUT_COMPONENT e=0x0 c=1 t=1 data={"position":{"x":1,"y":0,"z":0},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":9,"y":9,"z":9},"parent":0}
OPCODES ~= 3k
MALLOC_COUNT = 48
ALIVE_OBJS_DELTA ~= 0.02k
CALL onUpdate(0)
~system/Testing: plan {"tests":[{"name":"two way communication"}]}
LOG: ["Adding one to position.y=0"]
Renderer: PUT_COMPONENT e=0x0 c=1 t=2 data={"position":{"x":1,"y":0,"z":0},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":9,"y":9,"z":9},"parent":0}
OPCODES ~= 5k
MALLOC_COUNT = 17
ALIVE_OBJS_DELTA ~= 0.01k
CALL onUpdate(0.1)
LOG: ["🧪 Running test two way communication"]
LOG: ["✅ RootEntity has a transform"]
LOG: ["✅ RootEntity has the correct scale"]
LOG: ["⏱️ yield"]
Scene: PUT_COMPONENT e=0x0 c=1 t=3 data={"position":{"x":1,"y":1,"z":0},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":9,"y":9,"z":9},"parent":0}
Scene: PUT_COMPONENT e=0x200 c=1 t=1 data={"position":{"x":0,"y":0,"z":0},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":1,"y":1,"z":1},"parent":0}
LOG: ["Adding one to position.y=1"]
Renderer: PUT_COMPONENT e=0x0 c=1 t=4 data={"position":{"x":2,"y":1,"z":0},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":9,"y":9,"z":9},"parent":0}
OPCODES ~= 10k
MALLOC_COUNT = 51
ALIVE_OBJS_DELTA ~= 0.01k
CALL onUpdate(0.1)
LOG: ["⏱️ yield"]
Scene: DELETE_COMPONENT e=0x200 c=1 t=2 data=null
Scene: DELETE_COMPONENT e=0x0 c=1 t=5 data=null
Scene: DELETE_ENTITY e=0x200
OPCODES ~= 8k
MALLOC_COUNT = -46
ALIVE_OBJS_DELTA ~= -0.02k
CALL onUpdate(0.1)
LOG: ["⏱️ yield"]
Scene: PUT_COMPONENT e=0x0 c=1 t=6 data={"position":{"x":0,"y":0,"z":0},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":1,"y":1,"z":1},"parent":0}
LOG: ["Adding one to position.y=0"]
Renderer: PUT_COMPONENT e=0x0 c=1 t=7 data={"position":{"x":1,"y":0,"z":0},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":1,"y":1,"z":1},"parent":0}
OPCODES ~= 7k
MALLOC_COUNT = 32
ALIVE_OBJS_DELTA ~= 0.01k
CALL onUpdate(0.1)
LOG: ["✅ RootEntity has the correct position"]
LOG: ["✅ RootEntity has the correct scale"]
LOG: ["🟢 Test passed two way communication"]
~system/Testing: logTestResult {"name":"two way communication","ok":true,"totalFrames":3,"totalTime":0.30000000000000004}
LOG: ["Adding one to position.y=0"]
Renderer: PUT_COMPONENT e=0x0 c=1 t=8 data={"position":{"x":1,"y":0,"z":0},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":1,"y":1,"z":1},"parent":0}
OPCODES ~= 5k
MALLOC_COUNT = -40
ALIVE_OBJS_DELTA ~= -0.01k
MEMORY_USAGE_COUNT ~= 1239.41k bytes