Skip to content

Commit eee89b4

Browse files
committed
update tests
1 parent 3875585 commit eee89b4

12 files changed

+35
-35
lines changed

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=462.7k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=462.9k bytes
22
THE BUNDLE HAS SOURCEMAPS
33
(start empty vm 0.21.0-3680274614.commit-1808aa1)
44
OPCODES ~= 0k
@@ -11,7 +11,7 @@ EVAL test/snapshots/development-bundles/static-scene.test.js
1111
REQUIRE: ~system/EngineApi
1212
REQUIRE: ~system/EngineApi
1313
OPCODES ~= 54k
14-
MALLOC_COUNT = 13727
14+
MALLOC_COUNT = 13735
1515
ALIVE_OBJS_DELTA ~= 2.70k
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}
@@ -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 ~= 1209.35k bytes
59+
MEMORY_USAGE_COUNT ~= 1209.94k 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=463.2k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=463.4k bytes
22
THE BUNDLE HAS SOURCEMAPS
33
(start empty vm 0.21.0-3680274614.commit-1808aa1)
44
OPCODES ~= 0k
@@ -11,7 +11,7 @@ EVAL test/snapshots/development-bundles/testing-fw.test.js
1111
REQUIRE: ~system/EngineApi
1212
REQUIRE: ~system/EngineApi
1313
OPCODES ~= 63k
14-
MALLOC_COUNT = 14248
14+
MALLOC_COUNT = 14260
1515
ALIVE_OBJS_DELTA ~= 2.85k
1616
CALL onStart()
1717
LOG: ["Adding one to position.y=0"]
@@ -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 ~= 1217.97k bytes
67+
MEMORY_USAGE_COUNT ~= 1218.62k 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=463.3k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=463.4k bytes
22
THE BUNDLE HAS SOURCEMAPS
33
(start empty vm 0.21.0-3680274614.commit-1808aa1)
44
OPCODES ~= 0k
@@ -11,7 +11,7 @@ EVAL test/snapshots/development-bundles/two-way-crdt.test.js
1111
REQUIRE: ~system/EngineApi
1212
REQUIRE: ~system/EngineApi
1313
OPCODES ~= 63k
14-
MALLOC_COUNT = 14248
14+
MALLOC_COUNT = 14260
1515
ALIVE_OBJS_DELTA ~= 2.85k
1616
CALL onStart()
1717
LOG: ["Adding one to position.y=0"]
@@ -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 ~= 1217.97k bytes
67+
MEMORY_USAGE_COUNT ~= 1218.63k 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=203k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=203.1k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/append-value-crdt.js
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
1111
OPCODES ~= 65k
12-
MALLOC_COUNT = 12773
12+
MALLOC_COUNT = 12784
1313
ALIVE_OBJS_DELTA ~= 2.85k
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}
@@ -55,4 +55,4 @@ CALL onUpdate(0.1)
5555
OPCODES ~= 14k
5656
MALLOC_COUNT = 31
5757
ALIVE_OBJS_DELTA ~= 0.01k
58-
MEMORY_USAGE_COUNT ~= 909.46k bytes
58+
MEMORY_USAGE_COUNT ~= 909.93k 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=236k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=236.1k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/billboard.js
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
1111
OPCODES ~= 66k
12-
MALLOC_COUNT = 14885
12+
MALLOC_COUNT = 14892
1313
ALIVE_OBJS_DELTA ~= 3.25k
1414
CALL onStart()
1515
OPCODES ~= 0k
@@ -77,4 +77,4 @@ CALL onUpdate(0.1)
7777
OPCODES ~= 10k
7878
MALLOC_COUNT = 0
7979
ALIVE_OBJS_DELTA ~= 0.00k
80-
MEMORY_USAGE_COUNT ~= 1051.90k bytes
80+
MEMORY_USAGE_COUNT ~= 1052.22k 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=199.2k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=199.3k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/cube-deleted.js
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
1111
OPCODES ~= 55k
12-
MALLOC_COUNT = 11927
12+
MALLOC_COUNT = 11935
1313
ALIVE_OBJS_DELTA ~= 2.63k
1414
CALL onStart()
1515
OPCODES ~= 0k
@@ -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 ~= 872.22k bytes
45+
MEMORY_USAGE_COUNT ~= 872.62k bytes

test/snapshots/production-bundles/cube.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=199.1k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=199.2k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/cube.js
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
1111
OPCODES ~= 55k
12-
MALLOC_COUNT = 11900
12+
MALLOC_COUNT = 11908
1313
ALIVE_OBJS_DELTA ~= 2.62k
1414
CALL onStart()
1515
OPCODES ~= 0k
@@ -32,4 +32,4 @@ CALL onUpdate(0.1)
3232
OPCODES ~= 1k
3333
MALLOC_COUNT = 0
3434
ALIVE_OBJS_DELTA ~= 0.00k
35-
MEMORY_USAGE_COUNT ~= 862.13k bytes
35+
MEMORY_USAGE_COUNT ~= 862.53k 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=236.4k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=236.5k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/cubes.js
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
1111
OPCODES ~= 105k
12-
MALLOC_COUNT = 18228
12+
MALLOC_COUNT = 18235
1313
ALIVE_OBJS_DELTA ~= 4.53k
1414
CALL onStart()
1515
OPCODES ~= 0k
@@ -1652,4 +1652,4 @@ CALL onUpdate(0.1)
16521652
OPCODES ~= 693k
16531653
MALLOC_COUNT = 0
16541654
ALIVE_OBJS_DELTA ~= 0.00k
1655-
MEMORY_USAGE_COUNT ~= 1187.85k bytes
1655+
MEMORY_USAGE_COUNT ~= 1188.17k bytes

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/pointer-events.js
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
1111
OPCODES ~= 56k
12-
MALLOC_COUNT = 12186
12+
MALLOC_COUNT = 12195
1313
ALIVE_OBJS_DELTA ~= 2.70k
1414
CALL onStart()
1515
OPCODES ~= 0k
@@ -43,4 +43,4 @@ CALL onUpdate(0.1)
4343
OPCODES ~= 1k
4444
MALLOC_COUNT = 0
4545
ALIVE_OBJS_DELTA ~= 0.00k
46-
MEMORY_USAGE_COUNT ~= 879.86k bytes
46+
MEMORY_USAGE_COUNT ~= 880.28k bytes

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/schema-components.js
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
1111
OPCODES ~= 59k
12-
MALLOC_COUNT = 12027
12+
MALLOC_COUNT = 12035
1313
ALIVE_OBJS_DELTA ~= 2.65k
1414
CALL onStart()
1515
OPCODES ~= 0k
@@ -31,4 +31,4 @@ CALL onUpdate(0.1)
3131
OPCODES ~= 1k
3232
MALLOC_COUNT = 0
3333
ALIVE_OBJS_DELTA ~= 0.00k
34-
MEMORY_USAGE_COUNT ~= 864.55k bytes
34+
MEMORY_USAGE_COUNT ~= 864.95k bytes

test/snapshots/production-bundles/ui.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=357.9k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=358k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -9,7 +9,7 @@ EVAL test/snapshots/production-bundles/ui.js
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
1111
OPCODES ~= 65k
12-
MALLOC_COUNT = 19552
12+
MALLOC_COUNT = 19559
1313
ALIVE_OBJS_DELTA ~= 3.88k
1414
CALL onStart()
1515
OPCODES ~= 0k
@@ -65,4 +65,4 @@ CALL onUpdate(0.1)
6565
OPCODES ~= 65k
6666
MALLOC_COUNT = 0
6767
ALIVE_OBJS_DELTA ~= 0.00k
68-
MEMORY_USAGE_COUNT ~= 1708.08k bytes
68+
MEMORY_USAGE_COUNT ~= 1708.45k bytes

test/snapshots/production-bundles/with-main-function.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=199.8k bytes
1+
SCENE_COMPILED_JS_SIZE_PROD=199.9k bytes
22
(start empty vm 0.21.0-3680274614.commit-1808aa1)
33
OPCODES ~= 0k
44
MALLOC_COUNT = 1005
@@ -9,8 +9,8 @@ EVAL test/snapshots/production-bundles/with-main-function.js
99
REQUIRE: ~system/EngineApi
1010
REQUIRE: ~system/EngineApi
1111
OPCODES ~= 55k
12-
MALLOC_COUNT = 12056
13-
ALIVE_OBJS_DELTA ~= 2.65k
12+
MALLOC_COUNT = 12064
13+
ALIVE_OBJS_DELTA ~= 2.66k
1414
CALL onStart()
1515
OPCODES ~= 0k
1616
MALLOC_COUNT = 6
@@ -37,4 +37,4 @@ CALL onUpdate(0.1)
3737
OPCODES ~= 3k
3838
MALLOC_COUNT = 5
3939
ALIVE_OBJS_DELTA ~= 0.00k
40-
MEMORY_USAGE_COUNT ~= 877.68k bytes
40+
MEMORY_USAGE_COUNT ~= 878.07k bytes

0 commit comments

Comments
 (0)