Skip to content

Commit 8e67b6b

Browse files
committed
update snapshots
1 parent 2e7c504 commit 8e67b6b

13 files changed

Lines changed: 379 additions & 35 deletions

packages/@dcl/playground-assets/etc/playground-assets.api.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1659,6 +1659,14 @@ export type InstanceCompositeOptions = {
16591659
alreadyRequestedSrc?: Set<string>;
16601660
};
16611661

1662+
// @public (undocumented)
1663+
export const enum InteractionType {
1664+
// (undocumented)
1665+
CURSOR = 0,
1666+
// (undocumented)
1667+
PROXIMITY = 1
1668+
}
1669+
16621670
// Warning: (ae-missing-release-tag) "InternalBaseComponent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
16631671
//
16641672
// @public
@@ -1673,14 +1681,6 @@ export interface InternalBaseComponent<T> extends BaseComponent<T> {
16731681
iterator(): Iterable<[Entity, any]>;
16741682
}
16751683

1676-
// @public (undocumented)
1677-
export const enum InteractionType {
1678-
// (undocumented)
1679-
CURSOR = 0,
1680-
// (undocumented)
1681-
PROXIMITY = 1
1682-
}
1683-
16841684
// @public (undocumented)
16851685
export interface ISchema<T = any> {
16861686
// (undocumented)

test/snapshots/development-bundles/static-scene.test.ts.crdt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<<<<<<< HEAD
22
<<<<<<< HEAD
3+
<<<<<<< HEAD
34
SCENE_COMPILED_JS_SIZE_PROD=561.4k bytes
45
=======
56
SCENE_COMPILED_JS_SIZE_PROD=502.2k bytes
@@ -9,6 +10,9 @@ THE BUNDLE HAS SOURCEMAPS
910
OPCODES ~= 72k
1011
=======
1112
SCENE_COMPILED_JS_SIZE_PROD=519.1k bytes
13+
=======
14+
SCENE_COMPILED_JS_SIZE_PROD=551.4k bytes
15+
>>>>>>> 63ddb3f8 (update snapshots)
1216
THE BUNDLE HAS SOURCEMAPS
1317
(start empty vm 0.21.0-3680274614.commit-1808aa1)
1418
OPCODES ~= 0k
@@ -23,6 +27,7 @@ EVAL test/snapshots/development-bundles/static-scene.test.js
2327
REQUIRE: ~system/EngineApi
2428
<<<<<<< HEAD
2529
<<<<<<< HEAD
30+
<<<<<<< HEAD
2631
<<<<<<< HEAD
2732
OPCODES ~= 66k
2833
MALLOC_COUNT = 16028
@@ -77,6 +82,11 @@ EVAL test/snapshots/development-bundles/static-scene.test.js
7782
MALLOC_COUNT = 15427
7883
ALIVE_OBJS_DELTA ~= 3.04k
7984
>>>>>>> 6cbc24b1 (Regenerate CRDT snapshots after merge)
85+
=======
86+
OPCODES ~= 57k
87+
MALLOC_COUNT = 16026
88+
ALIVE_OBJS_DELTA ~= 3.15k
89+
>>>>>>> 63ddb3f8 (update snapshots)
8090
CALL onStart()
8191
main.crdt: PUT_COMPONENT e=0x200 c=1 t=0 data={"position":{"x":5.880000114440918,"y":2.7916901111602783,"z":7.380000114440918},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":1,"y":1,"z":1},"parent":0}
8292
main.crdt: PUT_COMPONENT e=0x202 c=1 t=0 data={"position":{"x":4,"y":0.800000011920929,"z":8},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":1,"y":1,"z":1},"parent":0}
@@ -122,18 +132,25 @@ CALL onUpdate(0)
122132
ALIVE_OBJS_DELTA ~= 0.09k
123133
CALL onUpdate(0)
124134
~system/Testing: plan {"tests":[{"name":"ensure that cubes are in the scene on the first frame"}]}
135+
<<<<<<< HEAD
125136
OPCODES ~= 15k
126137
MALLOC_COUNT = -61
127138
ALIVE_OBJS_DELTA ~= -0.03k
128139
<<<<<<< HEAD
129140
>>>>>>> 327f7995 (fix tests)
130141
=======
131142
>>>>>>> 6cbc24b1 (Regenerate CRDT snapshots after merge)
143+
=======
144+
OPCODES ~= 16k
145+
MALLOC_COUNT = 43
146+
ALIVE_OBJS_DELTA ~= -0.00k
147+
>>>>>>> 63ddb3f8 (update snapshots)
132148
CALL onUpdate(0.1)
133149
LOG: ["🧪 Running test ensure that cubes are in the scene on the first frame"]
134150
LOG: ["🟢 Test passed ensure that cubes are in the scene on the first frame"]
135151
~system/Testing: logTestResult {"name":"ensure that cubes are in the scene on the first frame","ok":true,"totalFrames":0,"totalTime":0}
136152
<<<<<<< HEAD
153+
<<<<<<< HEAD
137154
<<<<<<< HEAD
138155
OPCODES ~= 4k
139156
MALLOC_COUNT = -5
@@ -151,3 +168,9 @@ CALL onUpdate(0.1)
151168
ALIVE_OBJS_DELTA ~= 0.00k
152169
MEMORY_USAGE_COUNT ~= 1328.24k bytes
153170
>>>>>>> 6cbc24b1 (Regenerate CRDT snapshots after merge)
171+
=======
172+
OPCODES ~= 4k
173+
MALLOC_COUNT = -5
174+
ALIVE_OBJS_DELTA ~= 0.00k
175+
MEMORY_USAGE_COUNT ~= 1387.69k bytes
176+
>>>>>>> 63ddb3f8 (update snapshots)

test/snapshots/development-bundles/testing-fw.test.ts.crdt

Lines changed: 50 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
<<<<<<< HEAD
22
<<<<<<< HEAD
3+
<<<<<<< HEAD
34
SCENE_COMPILED_JS_SIZE_PROD=561.9k bytes
45
=======
56
SCENE_COMPILED_JS_SIZE_PROD=502.8k bytes
67
>>>>>>> 327f7995 (fix tests)
78
=======
89
SCENE_COMPILED_JS_SIZE_PROD=519.6k bytes
910
>>>>>>> 6cbc24b1 (Regenerate CRDT snapshots after merge)
11+
=======
12+
SCENE_COMPILED_JS_SIZE_PROD=551.9k bytes
13+
>>>>>>> 63ddb3f8 (update snapshots)
1014
THE BUNDLE HAS SOURCEMAPS
1115
(start empty vm 0.21.0-3680274614.commit-1808aa1)
1216
OPCODES ~= 0k
@@ -20,6 +24,7 @@ EVAL test/snapshots/development-bundles/testing-fw.test.js
2024
REQUIRE: ~system/EngineApi
2125
<<<<<<< HEAD
2226
<<<<<<< HEAD
27+
<<<<<<< HEAD
2328
<<<<<<< HEAD
2429
OPCODES ~= 75k
2530
MALLOC_COUNT = 16580
@@ -74,11 +79,17 @@ EVAL test/snapshots/development-bundles/testing-fw.test.js
7479
MALLOC_COUNT = 15659
7580
ALIVE_OBJS_DELTA ~= 3.11k
7681
>>>>>>> 6cbc24b1 (Regenerate CRDT snapshots after merge)
82+
=======
83+
OPCODES ~= 57k
84+
MALLOC_COUNT = 16262
85+
ALIVE_OBJS_DELTA ~= 3.22k
86+
>>>>>>> 63ddb3f8 (update snapshots)
7787
CALL onStart()
7888
LOG: ["Adding one to position.y=0"]
7989
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}
8090
OPCODES ~= 3k
8191
<<<<<<< HEAD
92+
<<<<<<< HEAD
8293
<<<<<<< HEAD
8394
MALLOC_COUNT = 56
8495
=======
@@ -87,11 +98,15 @@ CALL onStart()
8798
=======
8899
MALLOC_COUNT = 52
89100
>>>>>>> 6cbc24b1 (Regenerate CRDT snapshots after merge)
101+
=======
102+
MALLOC_COUNT = 60
103+
>>>>>>> 63ddb3f8 (update snapshots)
90104
ALIVE_OBJS_DELTA ~= 0.02k
91105
CALL onUpdate(0)
92106
~system/Testing: plan {"tests":[{"name":"two way communication"}]}
93107
LOG: ["Adding one to position.y=0"]
94108
<<<<<<< HEAD
109+
<<<<<<< HEAD
95110
<<<<<<< HEAD
96111
OPCODES ~= 6k
97112
MALLOC_COUNT = 12
@@ -106,12 +121,18 @@ CALL onUpdate(0)
106121
MALLOC_COUNT = 15
107122
>>>>>>> 6cbc24b1 (Regenerate CRDT snapshots after merge)
108123
ALIVE_OBJS_DELTA ~= 0.01k
124+
=======
125+
OPCODES ~= 5k
126+
MALLOC_COUNT = 10
127+
ALIVE_OBJS_DELTA ~= 0.00k
128+
>>>>>>> 63ddb3f8 (update snapshots)
109129
CALL onUpdate(0.1)
110130
LOG: ["🧪 Running test two way communication"]
111131
LOG: ["✅ RootEntity has a transform"]
112132
LOG: ["✅ RootEntity has the correct scale"]
113133
LOG: ["⏱️ yield"]
114134
<<<<<<< HEAD
135+
<<<<<<< HEAD
115136
<<<<<<< HEAD
116137
Scene: PUT_COMPONENT e=0x0 c=1 t=2 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}
117138
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}
@@ -150,18 +171,28 @@ CALL onUpdate(0.1)
150171
>>>>>>> 6cbc24b1 (Regenerate CRDT snapshots after merge)
151172
MALLOC_COUNT = 51
152173
ALIVE_OBJS_DELTA ~= 0.01k
174+
=======
175+
Scene: PUT_COMPONENT e=0x0 c=1 t=2 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}
176+
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}
177+
LOG: ["Adding one to position.y=1"]
178+
Renderer: PUT_COMPONENT e=0x0 c=1 t=3 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}
179+
OPCODES ~= 10k
180+
MALLOC_COUNT = 80
181+
ALIVE_OBJS_DELTA ~= 0.02k
182+
>>>>>>> 63ddb3f8 (update snapshots)
153183
CALL onUpdate(0.1)
154184
LOG: ["⏱️ yield"]
155185
Scene: DELETE_COMPONENT e=0x200 c=1 t=2 data=null
156-
Scene: DELETE_COMPONENT e=0x0 c=1 t=5 data=null
186+
Scene: DELETE_COMPONENT e=0x0 c=1 t=4 data=null
157187
Scene: DELETE_ENTITY e=0x200
158-
OPCODES ~= 7k
159-
MALLOC_COUNT = -46
160-
ALIVE_OBJS_DELTA ~= -0.02k
188+
OPCODES ~= 8k
189+
MALLOC_COUNT = -78
190+
ALIVE_OBJS_DELTA ~= -0.03k
161191
CALL onUpdate(0.1)
162192
LOG: ["⏱️ yield"]
163-
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}
193+
Scene: PUT_COMPONENT e=0x0 c=1 t=5 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}
164194
LOG: ["Adding one to position.y=0"]
195+
<<<<<<< HEAD
165196
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}
166197
OPCODES ~= 6k
167198
MALLOC_COUNT = 32
@@ -170,13 +201,20 @@ CALL onUpdate(0.1)
170201
>>>>>>> 327f7995 (fix tests)
171202
=======
172203
>>>>>>> 6cbc24b1 (Regenerate CRDT snapshots after merge)
204+
=======
205+
Renderer: PUT_COMPONENT e=0x0 c=1 t=6 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}
206+
OPCODES ~= 7k
207+
MALLOC_COUNT = 48
208+
ALIVE_OBJS_DELTA ~= 0.02k
209+
>>>>>>> 63ddb3f8 (update snapshots)
173210
CALL onUpdate(0.1)
174211
LOG: ["✅ RootEntity has the correct position"]
175212
LOG: ["✅ RootEntity has the correct scale"]
176213
LOG: ["🟢 Test passed two way communication"]
177214
~system/Testing: logTestResult {"name":"two way communication","ok":true,"totalFrames":3,"totalTime":0.30000000000000004}
178215
LOG: ["Adding one to position.y=0"]
179216
<<<<<<< HEAD
217+
<<<<<<< HEAD
180218
<<<<<<< HEAD
181219
OPCODES ~= 6k
182220
MALLOC_COUNT = -53
@@ -191,8 +229,14 @@ CALL onUpdate(0.1)
191229
>>>>>>> 327f7995 (fix tests)
192230
=======
193231
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}
232+
=======
233+
>>>>>>> 63ddb3f8 (update snapshots)
194234
OPCODES ~= 5k
195-
MALLOC_COUNT = -40
235+
MALLOC_COUNT = -53
196236
ALIVE_OBJS_DELTA ~= -0.01k
237+
<<<<<<< HEAD
197238
MEMORY_USAGE_COUNT ~= 1330.24k bytes
198239
>>>>>>> 6cbc24b1 (Regenerate CRDT snapshots after merge)
240+
=======
241+
MEMORY_USAGE_COUNT ~= 1387.01k bytes
242+
>>>>>>> 63ddb3f8 (update snapshots)

0 commit comments

Comments
 (0)