Skip to content

Commit 692d570

Browse files
committed
update snapshots
1 parent fc495c8 commit 692d570

13 files changed

Lines changed: 161 additions & 165 deletions

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,6 +1632,14 @@ export type InstanceCompositeOptions = {
16321632
alreadyRequestedSrc?: Set<string>;
16331633
};
16341634

1635+
// @public (undocumented)
1636+
export const enum InteractionType {
1637+
// (undocumented)
1638+
CURSOR = 0,
1639+
// (undocumented)
1640+
PROXIMITY = 1
1641+
}
1642+
16351643
// 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)
16361644
//
16371645
// @public
@@ -1646,14 +1654,6 @@ export interface InternalBaseComponent<T> extends BaseComponent<T> {
16461654
iterator(): Iterable<[Entity, any]>;
16471655
}
16481656

1649-
// @public (undocumented)
1650-
export const enum InteractionType {
1651-
// (undocumented)
1652-
CURSOR = 0,
1653-
// (undocumented)
1654-
PROXIMITY = 1
1655-
}
1656-
16571657
// @public (undocumented)
16581658
export interface ISchema<T = any> {
16591659
// (undocumented)
@@ -4465,7 +4465,7 @@ export namespace ReactEcs {
44654465
useEffect: EffectHook;
44664466
const // (undocumented)
44674467
useState: StateHook;
4468-
export {};
4468+
{};
44694469
}
44704470

44714471
// Warning: (tsdoc-at-sign-in-word) The "@" character looks like part of a TSDoc tag; use a backslash to escape it

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=519.1k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=551.4k bytes
22
THE BUNDLE HAS SOURCEMAPS
33
(start empty vm 0.21.0-3680274614.commit-1808aa1)
44
OPCODES ~= 0k
@@ -10,9 +10,9 @@ EVAL test/snapshots/development-bundles/static-scene.test.js
1010
REQUIRE: ~system/Testing
1111
REQUIRE: ~system/EngineApi
1212
REQUIRE: ~system/EngineApi
13-
OPCODES ~= 55k
14-
MALLOC_COUNT = 15427
15-
ALIVE_OBJS_DELTA ~= 3.04k
13+
OPCODES ~= 57k
14+
MALLOC_COUNT = 16026
15+
ALIVE_OBJS_DELTA ~= 3.15k
1616
CALL onStart()
1717
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}
1818
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}
@@ -46,14 +46,14 @@ CALL onStart()
4646
ALIVE_OBJS_DELTA ~= 0.09k
4747
CALL onUpdate(0)
4848
~system/Testing: plan {"tests":[{"name":"ensure that cubes are in the scene on the first frame"}]}
49-
OPCODES ~= 15k
50-
MALLOC_COUNT = -61
51-
ALIVE_OBJS_DELTA ~= -0.03k
49+
OPCODES ~= 16k
50+
MALLOC_COUNT = 43
51+
ALIVE_OBJS_DELTA ~= -0.00k
5252
CALL onUpdate(0.1)
5353
LOG: ["🧪 Running test ensure that cubes are in the scene on the first frame"]
5454
LOG: ["🟢 Test passed ensure that cubes are in the scene on the first frame"]
5555
~system/Testing: logTestResult {"name":"ensure that cubes are in the scene on the first frame","ok":true,"totalFrames":0,"totalTime":0}
56-
OPCODES ~= 3k
56+
OPCODES ~= 4k
5757
MALLOC_COUNT = -5
5858
ALIVE_OBJS_DELTA ~= 0.00k
59-
MEMORY_USAGE_COUNT ~= 1328.24k bytes
59+
MEMORY_USAGE_COUNT ~= 1387.69k bytes
Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=519.6k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=551.9k bytes
22
THE BUNDLE HAS SOURCEMAPS
33
(start empty vm 0.21.0-3680274614.commit-1808aa1)
44
OPCODES ~= 0k
@@ -10,58 +10,56 @@ EVAL test/snapshots/development-bundles/testing-fw.test.js
1010
REQUIRE: ~system/Testing
1111
REQUIRE: ~system/EngineApi
1212
REQUIRE: ~system/EngineApi
13-
OPCODES ~= 56k
14-
MALLOC_COUNT = 15659
15-
ALIVE_OBJS_DELTA ~= 3.11k
13+
OPCODES ~= 57k
14+
MALLOC_COUNT = 16262
15+
ALIVE_OBJS_DELTA ~= 3.22k
1616
CALL onStart()
1717
LOG: ["Adding one to position.y=0"]
1818
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}
1919
OPCODES ~= 3k
20-
MALLOC_COUNT = 52
20+
MALLOC_COUNT = 60
2121
ALIVE_OBJS_DELTA ~= 0.02k
2222
CALL onUpdate(0)
2323
~system/Testing: plan {"tests":[{"name":"two way communication"}]}
2424
LOG: ["Adding one to position.y=0"]
25-
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}
2625
OPCODES ~= 5k
27-
MALLOC_COUNT = 15
28-
ALIVE_OBJS_DELTA ~= 0.01k
26+
MALLOC_COUNT = 10
27+
ALIVE_OBJS_DELTA ~= 0.00k
2928
CALL onUpdate(0.1)
3029
LOG: ["🧪 Running test two way communication"]
3130
LOG: ["✅ RootEntity has a transform"]
3231
LOG: ["✅ RootEntity has the correct scale"]
3332
LOG: ["⏱️ yield"]
34-
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}
33+
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}
3534
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}
3635
LOG: ["Adding one to position.y=1"]
37-
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}
36+
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}
3837
OPCODES ~= 10k
39-
MALLOC_COUNT = 51
40-
ALIVE_OBJS_DELTA ~= 0.01k
38+
MALLOC_COUNT = 80
39+
ALIVE_OBJS_DELTA ~= 0.02k
4140
CALL onUpdate(0.1)
4241
LOG: ["⏱️ yield"]
4342
Scene: DELETE_COMPONENT e=0x200 c=1 t=2 data=null
44-
Scene: DELETE_COMPONENT e=0x0 c=1 t=5 data=null
43+
Scene: DELETE_COMPONENT e=0x0 c=1 t=4 data=null
4544
Scene: DELETE_ENTITY e=0x200
46-
OPCODES ~= 7k
47-
MALLOC_COUNT = -46
48-
ALIVE_OBJS_DELTA ~= -0.02k
45+
OPCODES ~= 8k
46+
MALLOC_COUNT = -78
47+
ALIVE_OBJS_DELTA ~= -0.03k
4948
CALL onUpdate(0.1)
5049
LOG: ["⏱️ yield"]
51-
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}
50+
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}
5251
LOG: ["Adding one to position.y=0"]
53-
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}
54-
OPCODES ~= 6k
55-
MALLOC_COUNT = 32
56-
ALIVE_OBJS_DELTA ~= 0.01k
52+
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}
53+
OPCODES ~= 7k
54+
MALLOC_COUNT = 48
55+
ALIVE_OBJS_DELTA ~= 0.02k
5756
CALL onUpdate(0.1)
5857
LOG: ["✅ RootEntity has the correct position"]
5958
LOG: ["✅ RootEntity has the correct scale"]
6059
LOG: ["🟢 Test passed two way communication"]
6160
~system/Testing: logTestResult {"name":"two way communication","ok":true,"totalFrames":3,"totalTime":0.30000000000000004}
6261
LOG: ["Adding one to position.y=0"]
63-
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}
6462
OPCODES ~= 5k
65-
MALLOC_COUNT = -40
63+
MALLOC_COUNT = -53
6664
ALIVE_OBJS_DELTA ~= -0.01k
67-
MEMORY_USAGE_COUNT ~= 1330.24k bytes
65+
MEMORY_USAGE_COUNT ~= 1387.01k bytes
Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=519.6k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=551.9k bytes
22
THE BUNDLE HAS SOURCEMAPS
33
(start empty vm 0.21.0-3680274614.commit-1808aa1)
44
OPCODES ~= 0k
@@ -10,58 +10,56 @@ EVAL test/snapshots/development-bundles/two-way-crdt.test.js
1010
REQUIRE: ~system/Testing
1111
REQUIRE: ~system/EngineApi
1212
REQUIRE: ~system/EngineApi
13-
OPCODES ~= 56k
14-
MALLOC_COUNT = 15659
15-
ALIVE_OBJS_DELTA ~= 3.11k
13+
OPCODES ~= 57k
14+
MALLOC_COUNT = 16262
15+
ALIVE_OBJS_DELTA ~= 3.22k
1616
CALL onStart()
1717
LOG: ["Adding one to position.y=0"]
1818
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}
1919
OPCODES ~= 3k
20-
MALLOC_COUNT = 52
20+
MALLOC_COUNT = 60
2121
ALIVE_OBJS_DELTA ~= 0.02k
2222
CALL onUpdate(0)
2323
~system/Testing: plan {"tests":[{"name":"two way communication"}]}
2424
LOG: ["Adding one to position.y=0"]
25-
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}
2625
OPCODES ~= 5k
27-
MALLOC_COUNT = 15
28-
ALIVE_OBJS_DELTA ~= 0.01k
26+
MALLOC_COUNT = 10
27+
ALIVE_OBJS_DELTA ~= 0.00k
2928
CALL onUpdate(0.1)
3029
LOG: ["🧪 Running test two way communication"]
3130
LOG: ["✅ RootEntity has a transform"]
3231
LOG: ["✅ RootEntity has the correct scale"]
3332
LOG: ["⏱️ yield"]
34-
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}
33+
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}
3534
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}
3635
LOG: ["Adding one to position.y=1"]
37-
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}
36+
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}
3837
OPCODES ~= 10k
39-
MALLOC_COUNT = 51
40-
ALIVE_OBJS_DELTA ~= 0.01k
38+
MALLOC_COUNT = 80
39+
ALIVE_OBJS_DELTA ~= 0.02k
4140
CALL onUpdate(0.1)
4241
LOG: ["⏱️ yield"]
4342
Scene: DELETE_COMPONENT e=0x200 c=1 t=2 data=null
44-
Scene: DELETE_COMPONENT e=0x0 c=1 t=5 data=null
43+
Scene: DELETE_COMPONENT e=0x0 c=1 t=4 data=null
4544
Scene: DELETE_ENTITY e=0x200
46-
OPCODES ~= 7k
47-
MALLOC_COUNT = -46
48-
ALIVE_OBJS_DELTA ~= -0.02k
45+
OPCODES ~= 8k
46+
MALLOC_COUNT = -78
47+
ALIVE_OBJS_DELTA ~= -0.03k
4948
CALL onUpdate(0.1)
5049
LOG: ["⏱️ yield"]
51-
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}
50+
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}
5251
LOG: ["Adding one to position.y=0"]
53-
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}
54-
OPCODES ~= 6k
55-
MALLOC_COUNT = 32
56-
ALIVE_OBJS_DELTA ~= 0.01k
52+
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}
53+
OPCODES ~= 7k
54+
MALLOC_COUNT = 48
55+
ALIVE_OBJS_DELTA ~= 0.02k
5756
CALL onUpdate(0.1)
5857
LOG: ["✅ RootEntity has the correct position"]
5958
LOG: ["✅ RootEntity has the correct scale"]
6059
LOG: ["🟢 Test passed two way communication"]
6160
~system/Testing: logTestResult {"name":"two way communication","ok":true,"totalFrames":3,"totalTime":0.30000000000000004}
6261
LOG: ["Adding one to position.y=0"]
63-
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}
6462
OPCODES ~= 5k
65-
MALLOC_COUNT = -40
63+
MALLOC_COUNT = -53
6664
ALIVE_OBJS_DELTA ~= -0.01k
67-
MEMORY_USAGE_COUNT ~= 1330.24k bytes
65+
MEMORY_USAGE_COUNT ~= 1387.02k bytes

test/snapshots/production-bundles/append-value-crdt.ts.crdt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=228.8k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=242.4k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -8,9 +8,9 @@ EVAL test/snapshots/production-bundles/append-value-crdt.js
88
REQUIRE: long
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
11-
OPCODES ~= 58k
12-
MALLOC_COUNT = 14083
13-
ALIVE_OBJS_DELTA ~= 3.11k
11+
OPCODES ~= 60k
12+
MALLOC_COUNT = 14611
13+
ALIVE_OBJS_DELTA ~= 3.22k
1414
CALL onStart()
1515
Renderer: APPEND_VALUE e=0x200 c=1063 t=0 data={"button":0,"hit":{"position":{"x":1,"y":2,"z":3},"globalOrigin":{"x":1,"y":2,"z":3},"direction":{"x":1,"y":2,"z":3},"normalHit":{"x":1,"y":2,"z":3},"length":10,"meshName":"mesh","entityId":512},"state":1,"timestamp":1,"analog":5,"tickNumber":0}
1616
OPCODES ~= 8k
@@ -23,8 +23,8 @@ CALL onUpdate(0)
2323
LOG: ["✅ Has DOWN command"]
2424
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}
2525
Renderer: APPEND_VALUE e=0x200 c=1063 t=0 data={"button":0,"hit":{"position":{"x":1,"y":2,"z":3},"globalOrigin":{"x":1,"y":2,"z":3},"direction":{"x":1,"y":2,"z":3},"normalHit":{"x":1,"y":2,"z":3},"length":10,"meshName":"mesh","entityId":512},"state":0,"timestamp":2,"analog":5,"tickNumber":0}
26-
OPCODES ~= 16k
27-
MALLOC_COUNT = 77
26+
OPCODES ~= 17k
27+
MALLOC_COUNT = 93
2828
ALIVE_OBJS_DELTA ~= 0.03k
2929
CALL onUpdate(0.1)
3030
LOG: ["PointerEventsResult",[{"button":0,"hit":{"position":{"x":1,"y":2,"z":3},"globalOrigin":{"x":1,"y":2,"z":3},"direction":{"x":1,"y":2,"z":3},"normalHit":{"x":1,"y":2,"z":3},"length":10,"meshName":"mesh","entityId":512},"state":1,"timestamp":1,"analog":5,"tickNumber":0},{"button":0,"hit":{"position":{"x":1,"y":2,"z":3},"globalOrigin":{"x":1,"y":2,"z":3},"direction":{"x":1,"y":2,"z":3},"normalHit":{"x":1,"y":2,"z":3},"length":10,"meshName":"mesh","entityId":512},"state":0,"timestamp":2,"analog":5,"tickNumber":0}]]
@@ -33,7 +33,7 @@ CALL onUpdate(0.1)
3333
LOG: ["✅ UP Was triggered"]
3434
LOG: ["✅ Doesn't have DOWN command"]
3535
Renderer: APPEND_VALUE e=0x200 c=1063 t=0 data={"button":0,"hit":{"position":{"x":1,"y":2,"z":3},"globalOrigin":{"x":1,"y":2,"z":3},"direction":{"x":1,"y":2,"z":3},"normalHit":{"x":1,"y":2,"z":3},"length":10,"meshName":"mesh","entityId":512},"state":1,"timestamp":3,"analog":5,"tickNumber":0}
36-
OPCODES ~= 13k
36+
OPCODES ~= 14k
3737
MALLOC_COUNT = 31
3838
ALIVE_OBJS_DELTA ~= 0.01k
3939
CALL onUpdate(0.1)
@@ -42,7 +42,7 @@ CALL onUpdate(0.1)
4242
LOG: ["✅ Was triggered"]
4343
LOG: ["✅ Has DOWN command"]
4444
Renderer: APPEND_VALUE e=0x200 c=1063 t=0 data={"button":0,"hit":{"position":{"x":1,"y":2,"z":3},"globalOrigin":{"x":1,"y":2,"z":3},"direction":{"x":1,"y":2,"z":3},"normalHit":{"x":1,"y":2,"z":3},"length":10,"meshName":"mesh","entityId":512},"state":0,"timestamp":4,"analog":5,"tickNumber":0}
45-
OPCODES ~= 13k
45+
OPCODES ~= 14k
4646
MALLOC_COUNT = 31
4747
ALIVE_OBJS_DELTA ~= 0.01k
4848
CALL onUpdate(0.1)
@@ -52,7 +52,7 @@ CALL onUpdate(0.1)
5252
LOG: ["isTriggered(RootEntity)=",false]
5353
LOG: ["getCommand(RootEntity)=",null]
5454
Renderer: APPEND_VALUE e=0x200 c=1063 t=0 data={"button":0,"hit":{"position":{"x":1,"y":2,"z":3},"globalOrigin":{"x":1,"y":2,"z":3},"direction":{"x":1,"y":2,"z":3},"normalHit":{"x":1,"y":2,"z":3},"length":10,"meshName":"mesh","entityId":512},"state":1,"timestamp":5,"analog":5,"tickNumber":0}
55-
OPCODES ~= 13k
55+
OPCODES ~= 14k
5656
MALLOC_COUNT = 31
5757
ALIVE_OBJS_DELTA ~= 0.01k
58-
MEMORY_USAGE_COUNT ~= 992.50k bytes
58+
MEMORY_USAGE_COUNT ~= 1032.30k bytes

test/snapshots/production-bundles/billboard.ts.crdt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=269.6k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=283.2k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -8,9 +8,9 @@ EVAL test/snapshots/production-bundles/billboard.js
88
REQUIRE: long
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
11-
OPCODES ~= 68k
12-
MALLOC_COUNT = 16993
13-
ALIVE_OBJS_DELTA ~= 3.69k
11+
OPCODES ~= 70k
12+
MALLOC_COUNT = 17545
13+
ALIVE_OBJS_DELTA ~= 3.80k
1414
CALL onStart()
1515
OPCODES ~= 0k
1616
MALLOC_COUNT = 4
@@ -51,30 +51,30 @@ CALL onUpdate(0)
5151
Scene: PUT_COMPONENT e=0x204 c=1018 t=1 data={"mesh":{"$case":"plane","plane":{"uvs":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0]}}}
5252
Scene: PUT_COMPONENT e=0x205 c=1018 t=1 data={"mesh":{"$case":"plane","plane":{"uvs":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0]}}}
5353
OPCODES ~= 110k
54-
MALLOC_COUNT = 59
55-
ALIVE_OBJS_DELTA ~= 0.02k
54+
MALLOC_COUNT = 363
55+
ALIVE_OBJS_DELTA ~= 0.10k
5656
CALL onUpdate(0.1)
5757
Scene: PUT_COMPONENT e=0x200 c=1 t=2 data={"position":{"x":8,"y":3.0420734882354736,"z":1},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":2,"y":2,"z":2},"parent":0}
5858
Scene: PUT_COMPONENT e=0x201 c=1 t=2 data={"position":{"x":12,"y":3.0420734882354736,"z":1},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":2,"y":2,"z":2},"parent":0}
5959
Scene: PUT_COMPONENT e=0x204 c=1 t=2 data={"position":{"x":12,"y":3.0420734882354736,"z":8},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":2,"y":2,"z":2},"parent":0}
6060
Scene: PUT_COMPONENT e=0x203 c=1 t=2 data={"position":{"x":8,"y":3.0420734882354736,"z":8},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":2,"y":2,"z":2},"parent":0}
61-
OPCODES ~= 9k
61+
OPCODES ~= 11k
6262
MALLOC_COUNT = 0
6363
ALIVE_OBJS_DELTA ~= 0.00k
6464
CALL onUpdate(0.1)
6565
Scene: PUT_COMPONENT e=0x200 c=1 t=3 data={"position":{"x":8,"y":3.087538480758667,"z":1},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":2,"y":2,"z":2},"parent":0}
6666
Scene: PUT_COMPONENT e=0x201 c=1 t=3 data={"position":{"x":12,"y":3.087538480758667,"z":1},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":2,"y":2,"z":2},"parent":0}
6767
Scene: PUT_COMPONENT e=0x204 c=1 t=3 data={"position":{"x":12,"y":3.087538480758667,"z":8},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":2,"y":2,"z":2},"parent":0}
6868
Scene: PUT_COMPONENT e=0x203 c=1 t=3 data={"position":{"x":8,"y":3.087538480758667,"z":8},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":2,"y":2,"z":2},"parent":0}
69-
OPCODES ~= 9k
69+
OPCODES ~= 12k
7070
MALLOC_COUNT = 0
7171
ALIVE_OBJS_DELTA ~= 0.00k
7272
CALL onUpdate(0.1)
7373
Scene: PUT_COMPONENT e=0x200 c=1 t=4 data={"position":{"x":8,"y":3.0945944786071777,"z":1},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":2,"y":2,"z":2},"parent":0}
7474
Scene: PUT_COMPONENT e=0x201 c=1 t=4 data={"position":{"x":12,"y":3.0945944786071777,"z":1},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":2,"y":2,"z":2},"parent":0}
7575
Scene: PUT_COMPONENT e=0x204 c=1 t=4 data={"position":{"x":12,"y":3.0945944786071777,"z":8},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":2,"y":2,"z":2},"parent":0}
7676
Scene: PUT_COMPONENT e=0x203 c=1 t=4 data={"position":{"x":8,"y":3.0945944786071777,"z":8},"rotation":{"x":0,"y":0,"z":0,"w":1},"scale":{"x":2,"y":2,"z":2},"parent":0}
77-
OPCODES ~= 9k
77+
OPCODES ~= 11k
7878
MALLOC_COUNT = 0
7979
ALIVE_OBJS_DELTA ~= 0.00k
80-
MEMORY_USAGE_COUNT ~= 1178.85k bytes
80+
MEMORY_USAGE_COUNT ~= 1226.63k bytes

0 commit comments

Comments
 (0)