Skip to content

Commit ee210ee

Browse files
committed
Regenerate CRDT snapshots after merge
1 parent 6fd3174 commit ee210ee

12 files changed

Lines changed: 110 additions & 110 deletions

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=520.3k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=519.1k 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 ~= 63k
14-
MALLOC_COUNT = 15226
15-
ALIVE_OBJS_DELTA ~= 3.03k
13+
OPCODES ~= 55k
14+
MALLOC_COUNT = 15427
15+
ALIVE_OBJS_DELTA ~= 3.04k
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}
@@ -42,11 +42,11 @@ CALL onStart()
4242
main.crdt: PUT_COMPONENT e=0x200 c=1062 t=0 data={"pointerEvents":[{"eventType":1,"eventInfo":{"button":1,"hoverText":"Press E to spawn","maxDistance":100,"showFeedback":true}}]}
4343
main.crdt: PUT_COMPONENT e=0x200 c=1017 t=0 data={"material":{"$case":"pbr","pbr":{"albedoColor":{"r":1,"g":0.8500000238418579,"b":0.41999998688697815,"a":1}}}}
4444
OPCODES ~= 22k
45-
MALLOC_COUNT = 232
45+
MALLOC_COUNT = 234
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 ~= 17k
49+
OPCODES ~= 15k
5050
MALLOC_COUNT = -61
5151
ALIVE_OBJS_DELTA ~= -0.03k
5252
CALL onUpdate(0.1)
@@ -56,4 +56,4 @@ CALL onUpdate(0.1)
5656
OPCODES ~= 3k
5757
MALLOC_COUNT = -5
5858
ALIVE_OBJS_DELTA ~= 0.00k
59-
MEMORY_USAGE_COUNT ~= 1340.26k bytes
59+
MEMORY_USAGE_COUNT ~= 1328.24k bytes

test/snapshots/development-bundles/testing-fw.test.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=520.8k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=519.6k bytes
22
THE BUNDLE HAS SOURCEMAPS
33
(start empty vm 0.21.0-3680274614.commit-1808aa1)
44
OPCODES ~= 0k
@@ -10,21 +10,21 @@ EVAL test/snapshots/development-bundles/testing-fw.test.js
1010
REQUIRE: ~system/Testing
1111
REQUIRE: ~system/EngineApi
1212
REQUIRE: ~system/EngineApi
13-
OPCODES ~= 72k
14-
MALLOC_COUNT = 15756
15-
ALIVE_OBJS_DELTA ~= 3.18k
13+
OPCODES ~= 56k
14+
MALLOC_COUNT = 15659
15+
ALIVE_OBJS_DELTA ~= 3.11k
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 = 48
20+
MALLOC_COUNT = 52
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"]
2525
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}
2626
OPCODES ~= 5k
27-
MALLOC_COUNT = 17
27+
MALLOC_COUNT = 15
2828
ALIVE_OBJS_DELTA ~= 0.01k
2929
CALL onUpdate(0.1)
3030
LOG: ["🧪 Running test two way communication"]
@@ -35,23 +35,23 @@ CALL onUpdate(0.1)
3535
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}
3636
LOG: ["Adding one to position.y=1"]
3737
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}
38-
OPCODES ~= 11k
38+
OPCODES ~= 10k
3939
MALLOC_COUNT = 51
4040
ALIVE_OBJS_DELTA ~= 0.01k
4141
CALL onUpdate(0.1)
4242
LOG: ["⏱️ yield"]
4343
Scene: DELETE_COMPONENT e=0x200 c=1 t=2 data=null
4444
Scene: DELETE_COMPONENT e=0x0 c=1 t=5 data=null
4545
Scene: DELETE_ENTITY e=0x200
46-
OPCODES ~= 8k
46+
OPCODES ~= 7k
4747
MALLOC_COUNT = -46
4848
ALIVE_OBJS_DELTA ~= -0.02k
4949
CALL onUpdate(0.1)
5050
LOG: ["⏱️ yield"]
5151
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}
5252
LOG: ["Adding one to position.y=0"]
5353
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 ~= 7k
54+
OPCODES ~= 6k
5555
MALLOC_COUNT = 32
5656
ALIVE_OBJS_DELTA ~= 0.01k
5757
CALL onUpdate(0.1)
@@ -64,4 +64,4 @@ CALL onUpdate(0.1)
6464
OPCODES ~= 5k
6565
MALLOC_COUNT = -40
6666
ALIVE_OBJS_DELTA ~= -0.01k
67-
MEMORY_USAGE_COUNT ~= 1349.16k bytes
67+
MEMORY_USAGE_COUNT ~= 1330.24k bytes

test/snapshots/development-bundles/two-way-crdt.test.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=520.8k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=519.6k bytes
22
THE BUNDLE HAS SOURCEMAPS
33
(start empty vm 0.21.0-3680274614.commit-1808aa1)
44
OPCODES ~= 0k
@@ -10,21 +10,21 @@ EVAL test/snapshots/development-bundles/two-way-crdt.test.js
1010
REQUIRE: ~system/Testing
1111
REQUIRE: ~system/EngineApi
1212
REQUIRE: ~system/EngineApi
13-
OPCODES ~= 72k
14-
MALLOC_COUNT = 15756
15-
ALIVE_OBJS_DELTA ~= 3.18k
13+
OPCODES ~= 56k
14+
MALLOC_COUNT = 15659
15+
ALIVE_OBJS_DELTA ~= 3.11k
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 = 48
20+
MALLOC_COUNT = 52
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"]
2525
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}
2626
OPCODES ~= 5k
27-
MALLOC_COUNT = 17
27+
MALLOC_COUNT = 15
2828
ALIVE_OBJS_DELTA ~= 0.01k
2929
CALL onUpdate(0.1)
3030
LOG: ["🧪 Running test two way communication"]
@@ -35,23 +35,23 @@ CALL onUpdate(0.1)
3535
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}
3636
LOG: ["Adding one to position.y=1"]
3737
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}
38-
OPCODES ~= 11k
38+
OPCODES ~= 10k
3939
MALLOC_COUNT = 51
4040
ALIVE_OBJS_DELTA ~= 0.01k
4141
CALL onUpdate(0.1)
4242
LOG: ["⏱️ yield"]
4343
Scene: DELETE_COMPONENT e=0x200 c=1 t=2 data=null
4444
Scene: DELETE_COMPONENT e=0x0 c=1 t=5 data=null
4545
Scene: DELETE_ENTITY e=0x200
46-
OPCODES ~= 8k
46+
OPCODES ~= 7k
4747
MALLOC_COUNT = -46
4848
ALIVE_OBJS_DELTA ~= -0.02k
4949
CALL onUpdate(0.1)
5050
LOG: ["⏱️ yield"]
5151
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}
5252
LOG: ["Adding one to position.y=0"]
5353
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 ~= 7k
54+
OPCODES ~= 6k
5555
MALLOC_COUNT = 32
5656
ALIVE_OBJS_DELTA ~= 0.01k
5757
CALL onUpdate(0.1)
@@ -64,4 +64,4 @@ CALL onUpdate(0.1)
6464
OPCODES ~= 5k
6565
MALLOC_COUNT = -40
6666
ALIVE_OBJS_DELTA ~= -0.01k
67-
MEMORY_USAGE_COUNT ~= 1349.16k bytes
67+
MEMORY_USAGE_COUNT ~= 1330.24k bytes
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=229.2k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=228.8k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -8,13 +8,13 @@ EVAL test/snapshots/production-bundles/append-value-crdt.js
88
REQUIRE: long
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
11-
OPCODES ~= 75k
12-
MALLOC_COUNT = 14163
13-
ALIVE_OBJS_DELTA ~= 3.18k
11+
OPCODES ~= 58k
12+
MALLOC_COUNT = 14083
13+
ALIVE_OBJS_DELTA ~= 3.11k
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
17-
MALLOC_COUNT = 90
17+
MALLOC_COUNT = 94
1818
ALIVE_OBJS_DELTA ~= 0.03k
1919
CALL onUpdate(0)
2020
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}]]
@@ -24,7 +24,7 @@ CALL onUpdate(0)
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}
2626
OPCODES ~= 16k
27-
MALLOC_COUNT = 79
27+
MALLOC_COUNT = 77
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 ~= 14k
36+
OPCODES ~= 13k
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 ~= 14k
45+
OPCODES ~= 13k
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 ~= 14k
55+
OPCODES ~= 13k
5656
MALLOC_COUNT = 31
5757
ALIVE_OBJS_DELTA ~= 0.01k
58-
MEMORY_USAGE_COUNT ~= 1008.84k bytes
58+
MEMORY_USAGE_COUNT ~= 992.50k 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=270k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=269.6k 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 ~= 76k
12-
MALLOC_COUNT = 16673
13-
ALIVE_OBJS_DELTA ~= 3.65k
11+
OPCODES ~= 68k
12+
MALLOC_COUNT = 16993
13+
ALIVE_OBJS_DELTA ~= 3.69k
1414
CALL onStart()
1515
OPCODES ~= 0k
1616
MALLOC_COUNT = 4
@@ -50,31 +50,31 @@ CALL onUpdate(0)
5050
Scene: PUT_COMPONENT e=0x203 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]}}}
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]}}}
53-
OPCODES ~= 113k
54-
MALLOC_COUNT = 57
53+
OPCODES ~= 110k
54+
MALLOC_COUNT = 59
5555
ALIVE_OBJS_DELTA ~= 0.02k
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 ~= 10k
61+
OPCODES ~= 9k
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 ~= 10k
69+
OPCODES ~= 9k
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 ~= 10k
77+
OPCODES ~= 9k
7878
MALLOC_COUNT = 0
7979
ALIVE_OBJS_DELTA ~= 0.00k
80-
MEMORY_USAGE_COUNT ~= 1186.90k bytes
80+
MEMORY_USAGE_COUNT ~= 1178.85k bytes

test/snapshots/production-bundles/cube-deleted.ts.crdt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=225.4k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=225k 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/cube-deleted.js
88
REQUIRE: long
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
11-
OPCODES ~= 65k
12-
MALLOC_COUNT = 13310
13-
ALIVE_OBJS_DELTA ~= 2.95k
11+
OPCODES ~= 57k
12+
MALLOC_COUNT = 13480
13+
ALIVE_OBJS_DELTA ~= 2.96k
1414
CALL onStart()
1515
OPCODES ~= 0k
1616
MALLOC_COUNT = 6
@@ -19,7 +19,7 @@ CALL onUpdate(0)
1919
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}
2020
Scene: PUT_COMPONENT e=0x201 c=1019 t=1 data={"mesh":{"$case":"box","box":{}}}
2121
OPCODES ~= 4k
22-
MALLOC_COUNT = 50
22+
MALLOC_COUNT = 52
2323
ALIVE_OBJS_DELTA ~= 0.02k
2424
CALL onUpdate(0.1)
2525
Scene: DELETE_COMPONENT e=0x201 c=1019 t=2 data=null
@@ -33,7 +33,7 @@ CALL onUpdate(0.1)
3333
Scene: PUT_COMPONENT e=0x10201 c=1019 t=1 data={"mesh":{"$case":"box","box":{}}}
3434
Scene: DELETE_ENTITY e=0x202
3535
OPCODES ~= 5k
36-
MALLOC_COUNT = 2
36+
MALLOC_COUNT = 4
3737
ALIVE_OBJS_DELTA ~= 0.00k
3838
CALL onUpdate(0.1)
3939
Scene: DELETE_COMPONENT e=0x10201 c=1019 t=2 data=null
@@ -42,4 +42,4 @@ CALL onUpdate(0.1)
4242
OPCODES ~= 5k
4343
MALLOC_COUNT = 1
4444
ALIVE_OBJS_DELTA ~= 0.00k
45-
MEMORY_USAGE_COUNT ~= 971.34k bytes
45+
MEMORY_USAGE_COUNT ~= 961.12k bytes
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=225.3k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=224.9k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -8,28 +8,28 @@ EVAL test/snapshots/production-bundles/cube.js
88
REQUIRE: long
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
11-
OPCODES ~= 65k
12-
MALLOC_COUNT = 13283
13-
ALIVE_OBJS_DELTA ~= 2.94k
11+
OPCODES ~= 57k
12+
MALLOC_COUNT = 13453
13+
ALIVE_OBJS_DELTA ~= 2.95k
1414
CALL onStart()
1515
OPCODES ~= 0k
1616
MALLOC_COUNT = 6
1717
ALIVE_OBJS_DELTA ~= 0.00k
1818
CALL onUpdate(0)
1919
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}
2020
OPCODES ~= 3k
21-
MALLOC_COUNT = 27
21+
MALLOC_COUNT = 29
2222
ALIVE_OBJS_DELTA ~= 0.01k
2323
CALL onUpdate(0.1)
24-
OPCODES ~= 2k
24+
OPCODES ~= 1k
2525
MALLOC_COUNT = 0
2626
ALIVE_OBJS_DELTA ~= 0.00k
2727
CALL onUpdate(0.1)
28-
OPCODES ~= 2k
28+
OPCODES ~= 1k
2929
MALLOC_COUNT = 0
3030
ALIVE_OBJS_DELTA ~= 0.00k
3131
CALL onUpdate(0.1)
32-
OPCODES ~= 2k
32+
OPCODES ~= 1k
3333
MALLOC_COUNT = 0
3434
ALIVE_OBJS_DELTA ~= 0.00k
35-
MEMORY_USAGE_COUNT ~= 961.25k bytes
35+
MEMORY_USAGE_COUNT ~= 950.86k bytes

0 commit comments

Comments
 (0)