Skip to content

Commit d863d84

Browse files
updated protocol and snapshots
1 parent 74c5caa commit d863d84

12 files changed

Lines changed: 38 additions & 38 deletions

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=621k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=621.3k bytes
22
THE BUNDLE HAS SOURCEMAPS
33
(start empty vm 0.21.0-3680274614.commit-1808aa1)
44
OPCODES ~= 0k
@@ -10,7 +10,7 @@ EVAL test/snapshots/development-bundles/static-scene.test.js
1010
REQUIRE: ~system/EngineApi
1111
REQUIRE: ~system/Runtime
1212
OPCODES ~= 74k
13-
MALLOC_COUNT = 16880
13+
MALLOC_COUNT = 16886
1414
ALIVE_OBJS_DELTA ~= 3.31k
1515
CALL onStart()
1616
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}
@@ -55,4 +55,4 @@ CALL onUpdate(0.1)
5555
OPCODES ~= 5k
5656
MALLOC_COUNT = -5
5757
ALIVE_OBJS_DELTA ~= 0.00k
58-
MEMORY_USAGE_COUNT ~= 1548.92k bytes
58+
MEMORY_USAGE_COUNT ~= 1549.19k bytes

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=621.5k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=621.8k bytes
22
THE BUNDLE HAS SOURCEMAPS
33
(start empty vm 0.21.0-3680274614.commit-1808aa1)
44
OPCODES ~= 0k
@@ -10,7 +10,7 @@ EVAL test/snapshots/development-bundles/testing-fw.test.js
1010
REQUIRE: ~system/EngineApi
1111
REQUIRE: ~system/Runtime
1212
OPCODES ~= 84k
13-
MALLOC_COUNT = 17435
13+
MALLOC_COUNT = 17441
1414
ALIVE_OBJS_DELTA ~= 3.47k
1515
CALL onStart()
1616
LOG: ["Adding one to position.y=0"]
@@ -61,4 +61,4 @@ CALL onUpdate(0.1)
6161
OPCODES ~= 6k
6262
MALLOC_COUNT = -53
6363
ALIVE_OBJS_DELTA ~= -0.01k
64-
MEMORY_USAGE_COUNT ~= 1554.69k bytes
64+
MEMORY_USAGE_COUNT ~= 1554.95k bytes

test/snapshots/development-bundles/two-way-crdt.test.ts.crdt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=621.5k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=621.8k bytes
22
THE BUNDLE HAS SOURCEMAPS
33
(start empty vm 0.21.0-3680274614.commit-1808aa1)
44
OPCODES ~= 0k
@@ -10,7 +10,7 @@ EVAL test/snapshots/development-bundles/two-way-crdt.test.js
1010
REQUIRE: ~system/EngineApi
1111
REQUIRE: ~system/Runtime
1212
OPCODES ~= 84k
13-
MALLOC_COUNT = 17435
13+
MALLOC_COUNT = 17441
1414
ALIVE_OBJS_DELTA ~= 3.47k
1515
CALL onStart()
1616
LOG: ["Adding one to position.y=0"]
@@ -61,4 +61,4 @@ CALL onUpdate(0.1)
6161
OPCODES ~= 6k
6262
MALLOC_COUNT = -53
6363
ALIVE_OBJS_DELTA ~= -0.01k
64-
MEMORY_USAGE_COUNT ~= 1554.69k bytes
64+
MEMORY_USAGE_COUNT ~= 1554.96k bytes

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

Lines changed: 3 additions & 3 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=270.1k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -8,7 +8,7 @@ EVAL test/snapshots/production-bundles/append-value-crdt.js
88
REQUIRE: ~system/EngineApi
99
REQUIRE: ~system/Runtime
1010
OPCODES ~= 88k
11-
MALLOC_COUNT = 15759
11+
MALLOC_COUNT = 15765
1212
ALIVE_OBJS_DELTA ~= 3.53k
1313
CALL onStart()
1414
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}
@@ -54,4 +54,4 @@ CALL onUpdate(0.1)
5454
OPCODES ~= 15k
5555
MALLOC_COUNT = 31
5656
ALIVE_OBJS_DELTA ~= 0.01k
57-
MEMORY_USAGE_COUNT ~= 1139.07k bytes
57+
MEMORY_USAGE_COUNT ~= 1139.32k bytes

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=310.9k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=311k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -8,7 +8,7 @@ EVAL test/snapshots/production-bundles/billboard.js
88
REQUIRE: ~system/EngineApi
99
REQUIRE: ~system/Runtime
1010
OPCODES ~= 89k
11-
MALLOC_COUNT = 18265
11+
MALLOC_COUNT = 18271
1212
ALIVE_OBJS_DELTA ~= 4.00k
1313
CALL onStart()
1414
OPCODES ~= 0k
@@ -76,4 +76,4 @@ CALL onUpdate(0.1)
7676
OPCODES ~= 12k
7777
MALLOC_COUNT = 0
7878
ALIVE_OBJS_DELTA ~= 0.00k
79-
MEMORY_USAGE_COUNT ~= 1324.91k bytes
79+
MEMORY_USAGE_COUNT ~= 1325.16k bytes

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=266.2k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=266.3k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -8,7 +8,7 @@ EVAL test/snapshots/production-bundles/cube-deleted.js
88
REQUIRE: ~system/EngineApi
99
REQUIRE: ~system/Runtime
1010
OPCODES ~= 78k
11-
MALLOC_COUNT = 14876
11+
MALLOC_COUNT = 14882
1212
ALIVE_OBJS_DELTA ~= 3.30k
1313
CALL onStart()
1414
OPCODES ~= 0k
@@ -41,4 +41,4 @@ CALL onUpdate(0.1)
4141
OPCODES ~= 7k
4242
MALLOC_COUNT = 1
4343
ALIVE_OBJS_DELTA ~= 0.00k
44-
MEMORY_USAGE_COUNT ~= 1101.14k bytes
44+
MEMORY_USAGE_COUNT ~= 1101.40k bytes

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=266.1k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=266.2k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -8,8 +8,8 @@ EVAL test/snapshots/production-bundles/cube.js
88
REQUIRE: ~system/EngineApi
99
REQUIRE: ~system/Runtime
1010
OPCODES ~= 78k
11-
MALLOC_COUNT = 14849
12-
ALIVE_OBJS_DELTA ~= 3.29k
11+
MALLOC_COUNT = 14855
12+
ALIVE_OBJS_DELTA ~= 3.30k
1313
CALL onStart()
1414
OPCODES ~= 0k
1515
MALLOC_COUNT = 6
@@ -31,4 +31,4 @@ CALL onUpdate(0.1)
3131
OPCODES ~= 3k
3232
MALLOC_COUNT = 0
3333
ALIVE_OBJS_DELTA ~= 0.00k
34-
MEMORY_USAGE_COUNT ~= 1090.90k bytes
34+
MEMORY_USAGE_COUNT ~= 1091.15k bytes

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=311.3k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=311.4k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -8,7 +8,7 @@ EVAL test/snapshots/production-bundles/cubes.js
88
REQUIRE: ~system/EngineApi
99
REQUIRE: ~system/Runtime
1010
OPCODES ~= 129k
11-
MALLOC_COUNT = 21602
11+
MALLOC_COUNT = 21608
1212
ALIVE_OBJS_DELTA ~= 5.29k
1313
CALL onStart()
1414
OPCODES ~= 0k
@@ -1651,4 +1651,4 @@ CALL onUpdate(0.1)
16511651
OPCODES ~= 725k
16521652
MALLOC_COUNT = 0
16531653
ALIVE_OBJS_DELTA ~= 0.00k
1654-
MEMORY_USAGE_COUNT ~= 1549.38k bytes
1654+
MEMORY_USAGE_COUNT ~= 1549.64k bytes

test/snapshots/production-bundles/pointer-events.ts.crdt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=267.1k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=267.2k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -8,7 +8,7 @@ EVAL test/snapshots/production-bundles/pointer-events.js
88
REQUIRE: ~system/EngineApi
99
REQUIRE: ~system/Runtime
1010
OPCODES ~= 79k
11-
MALLOC_COUNT = 15142
11+
MALLOC_COUNT = 15148
1212
ALIVE_OBJS_DELTA ~= 3.38k
1313
CALL onStart()
1414
OPCODES ~= 0k
@@ -42,4 +42,4 @@ CALL onUpdate(0.1)
4242
OPCODES ~= 3k
4343
MALLOC_COUNT = 0
4444
ALIVE_OBJS_DELTA ~= 0.00k
45-
MEMORY_USAGE_COUNT ~= 1110.60k bytes
45+
MEMORY_USAGE_COUNT ~= 1110.86k bytes

test/snapshots/production-bundles/schema-components.ts.crdt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SCENE_COMPILED_JS_SIZE_PROD=266.2k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=266.3k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -7,8 +7,8 @@ EVAL test/snapshots/production-bundles/schema-components.js
77
REQUIRE: ~system/EngineApi
88
REQUIRE: ~system/EngineApi
99
REQUIRE: ~system/Runtime
10-
OPCODES ~= 81k
11-
MALLOC_COUNT = 14981
10+
OPCODES ~= 82k
11+
MALLOC_COUNT = 14987
1212
ALIVE_OBJS_DELTA ~= 3.33k
1313
CALL onStart()
1414
OPCODES ~= 0k
@@ -30,4 +30,4 @@ CALL onUpdate(0.1)
3030
OPCODES ~= 3k
3131
MALLOC_COUNT = 0
3232
ALIVE_OBJS_DELTA ~= 0.00k
33-
MEMORY_USAGE_COUNT ~= 1093.35k bytes
33+
MEMORY_USAGE_COUNT ~= 1093.60k bytes

0 commit comments

Comments
 (0)