Skip to content

Commit

Permalink
Updated snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAlvarezMelucciDCL committed Jan 16, 2025
1 parent bbc4c81 commit 0dedd2e
Show file tree
Hide file tree
Showing 13 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion test/ecs/components/LightSource.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Engine, components } from '../../../packages/@dcl/ecs/src'
import { testComponentSerialization } from './assertion'

describe('Generated LightSource ProtoBuf', () => {
it.only('should serialize/deserialize Point LightSource', () => {
it('should serialize/deserialize Point LightSource', () => {
const newEngine = Engine()
const LightSource = components.LightSource(newEngine)

Expand Down
8 changes: 4 additions & 4 deletions test/snapshots/development-bundles/static-scene.test.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=456k bytes
SCENE_COMPILED_JS_SIZE_PROD=462.4k bytes
THE BUNDLE HAS SOURCEMAPS
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
Expand All @@ -11,8 +11,8 @@ EVAL test/snapshots/development-bundles/static-scene.test.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 54k
MALLOC_COUNT = 13705
ALIVE_OBJS_DELTA ~= 2.70k
MALLOC_COUNT = 13845
ALIVE_OBJS_DELTA ~= 2.73k
CALL onStart()
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}
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}
Expand Down Expand Up @@ -56,4 +56,4 @@ CALL onUpdate(0.1)
OPCODES ~= 3k
MALLOC_COUNT = -5
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 1199.30k bytes
MEMORY_USAGE_COUNT ~= 1210.63k bytes
8 changes: 4 additions & 4 deletions test/snapshots/development-bundles/testing-fw.test.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=456.5k bytes
SCENE_COMPILED_JS_SIZE_PROD=462.9k bytes
THE BUNDLE HAS SOURCEMAPS
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
Expand All @@ -11,8 +11,8 @@ EVAL test/snapshots/development-bundles/testing-fw.test.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 63k
MALLOC_COUNT = 14226
ALIVE_OBJS_DELTA ~= 2.85k
MALLOC_COUNT = 14366
ALIVE_OBJS_DELTA ~= 2.88k
CALL onStart()
LOG: ["Adding one to position.y=0"]
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}
Expand Down Expand Up @@ -64,4 +64,4 @@ CALL onUpdate(0.1)
OPCODES ~= 5k
MALLOC_COUNT = -40
ALIVE_OBJS_DELTA ~= -0.01k
MEMORY_USAGE_COUNT ~= 1207.91k bytes
MEMORY_USAGE_COUNT ~= 1219.25k bytes
8 changes: 4 additions & 4 deletions test/snapshots/development-bundles/two-way-crdt.test.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=456.5k bytes
SCENE_COMPILED_JS_SIZE_PROD=462.9k bytes
THE BUNDLE HAS SOURCEMAPS
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
Expand All @@ -11,8 +11,8 @@ EVAL test/snapshots/development-bundles/two-way-crdt.test.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 63k
MALLOC_COUNT = 14226
ALIVE_OBJS_DELTA ~= 2.85k
MALLOC_COUNT = 14366
ALIVE_OBJS_DELTA ~= 2.88k
CALL onStart()
LOG: ["Adding one to position.y=0"]
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}
Expand Down Expand Up @@ -64,4 +64,4 @@ CALL onUpdate(0.1)
OPCODES ~= 5k
MALLOC_COUNT = -40
ALIVE_OBJS_DELTA ~= -0.01k
MEMORY_USAGE_COUNT ~= 1207.92k bytes
MEMORY_USAGE_COUNT ~= 1219.25k bytes
8 changes: 4 additions & 4 deletions test/snapshots/production-bundles/append-value-crdt.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=199.4k bytes
SCENE_COMPILED_JS_SIZE_PROD=202.1k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -9,8 +9,8 @@ EVAL test/snapshots/production-bundles/append-value-crdt.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 65k
MALLOC_COUNT = 12753
ALIVE_OBJS_DELTA ~= 2.85k
MALLOC_COUNT = 12881
ALIVE_OBJS_DELTA ~= 2.88k
CALL onStart()
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}
OPCODES ~= 8k
Expand Down Expand Up @@ -55,4 +55,4 @@ CALL onUpdate(0.1)
OPCODES ~= 14k
MALLOC_COUNT = 31
ALIVE_OBJS_DELTA ~= 0.01k
MEMORY_USAGE_COUNT ~= 903.06k bytes
MEMORY_USAGE_COUNT ~= 911.50k bytes
10 changes: 5 additions & 5 deletions test/snapshots/production-bundles/billboard.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=232.4k bytes
SCENE_COMPILED_JS_SIZE_PROD=235.2k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -8,9 +8,9 @@ EVAL test/snapshots/production-bundles/billboard.js
REQUIRE: long
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 66k
MALLOC_COUNT = 14865
ALIVE_OBJS_DELTA ~= 3.25k
OPCODES ~= 67k
MALLOC_COUNT = 14994
ALIVE_OBJS_DELTA ~= 3.27k
CALL onStart()
OPCODES ~= 0k
MALLOC_COUNT = 4
Expand Down Expand Up @@ -77,4 +77,4 @@ CALL onUpdate(0.1)
OPCODES ~= 10k
MALLOC_COUNT = 0
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 1045.40k bytes
MEMORY_USAGE_COUNT ~= 1053.87k bytes
10 changes: 5 additions & 5 deletions test/snapshots/production-bundles/cube-deleted.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=195.6k bytes
SCENE_COMPILED_JS_SIZE_PROD=198.3k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -8,9 +8,9 @@ EVAL test/snapshots/production-bundles/cube-deleted.js
REQUIRE: long
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 55k
MALLOC_COUNT = 11907
ALIVE_OBJS_DELTA ~= 2.63k
OPCODES ~= 56k
MALLOC_COUNT = 12036
ALIVE_OBJS_DELTA ~= 2.66k
CALL onStart()
OPCODES ~= 0k
MALLOC_COUNT = 6
Expand Down Expand Up @@ -42,4 +42,4 @@ CALL onUpdate(0.1)
OPCODES ~= 5k
MALLOC_COUNT = 1
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 865.78k bytes
MEMORY_USAGE_COUNT ~= 874.25k bytes
10 changes: 5 additions & 5 deletions test/snapshots/production-bundles/cube.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=195.5k bytes
SCENE_COMPILED_JS_SIZE_PROD=198.2k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -8,9 +8,9 @@ EVAL test/snapshots/production-bundles/cube.js
REQUIRE: long
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 55k
MALLOC_COUNT = 11880
ALIVE_OBJS_DELTA ~= 2.62k
OPCODES ~= 56k
MALLOC_COUNT = 12009
ALIVE_OBJS_DELTA ~= 2.65k
CALL onStart()
OPCODES ~= 0k
MALLOC_COUNT = 6
Expand All @@ -32,4 +32,4 @@ CALL onUpdate(0.1)
OPCODES ~= 1k
MALLOC_COUNT = 0
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 855.70k bytes
MEMORY_USAGE_COUNT ~= 864.16k bytes
10 changes: 5 additions & 5 deletions test/snapshots/production-bundles/cubes.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=232.8k bytes
SCENE_COMPILED_JS_SIZE_PROD=235.5k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -8,9 +8,9 @@ EVAL test/snapshots/production-bundles/cubes.js
REQUIRE: long
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 105k
MALLOC_COUNT = 18207
ALIVE_OBJS_DELTA ~= 4.53k
OPCODES ~= 106k
MALLOC_COUNT = 18336
ALIVE_OBJS_DELTA ~= 4.56k
CALL onStart()
OPCODES ~= 0k
MALLOC_COUNT = 6
Expand Down Expand Up @@ -1652,4 +1652,4 @@ CALL onUpdate(0.1)
OPCODES ~= 692k
MALLOC_COUNT = 0
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 1181.33k bytes
MEMORY_USAGE_COUNT ~= 1189.80k bytes
10 changes: 5 additions & 5 deletions test/snapshots/production-bundles/pointer-events.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=196.4k bytes
SCENE_COMPILED_JS_SIZE_PROD=199.2k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -8,9 +8,9 @@ EVAL test/snapshots/production-bundles/pointer-events.js
REQUIRE: long
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 56k
MALLOC_COUNT = 12166
ALIVE_OBJS_DELTA ~= 2.70k
OPCODES ~= 57k
MALLOC_COUNT = 12295
ALIVE_OBJS_DELTA ~= 2.73k
CALL onStart()
OPCODES ~= 0k
MALLOC_COUNT = 6
Expand Down Expand Up @@ -43,4 +43,4 @@ CALL onUpdate(0.1)
OPCODES ~= 1k
MALLOC_COUNT = 0
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 873.43k bytes
MEMORY_USAGE_COUNT ~= 881.89k bytes
8 changes: 4 additions & 4 deletions test/snapshots/production-bundles/schema-components.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=195.5k bytes
SCENE_COMPILED_JS_SIZE_PROD=198.3k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -9,8 +9,8 @@ EVAL test/snapshots/production-bundles/schema-components.js
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 59k
MALLOC_COUNT = 12007
ALIVE_OBJS_DELTA ~= 2.65k
MALLOC_COUNT = 12136
ALIVE_OBJS_DELTA ~= 2.68k
CALL onStart()
OPCODES ~= 0k
MALLOC_COUNT = 6
Expand All @@ -31,4 +31,4 @@ CALL onUpdate(0.1)
OPCODES ~= 1k
MALLOC_COUNT = 0
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 858.12k bytes
MEMORY_USAGE_COUNT ~= 866.58k bytes
10 changes: 5 additions & 5 deletions test/snapshots/production-bundles/ui.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=353.7k bytes
SCENE_COMPILED_JS_SIZE_PROD=356.5k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -8,9 +8,9 @@ EVAL test/snapshots/production-bundles/ui.js
REQUIRE: long
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 65k
MALLOC_COUNT = 19507
ALIVE_OBJS_DELTA ~= 3.88k
OPCODES ~= 66k
MALLOC_COUNT = 19635
ALIVE_OBJS_DELTA ~= 3.91k
CALL onStart()
OPCODES ~= 0k
MALLOC_COUNT = 6
Expand Down Expand Up @@ -65,4 +65,4 @@ CALL onUpdate(0.1)
OPCODES ~= 64k
MALLOC_COUNT = 0
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 1695.42k bytes
MEMORY_USAGE_COUNT ~= 1703.86k bytes
10 changes: 5 additions & 5 deletions test/snapshots/production-bundles/with-main-function.ts.crdt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCENE_COMPILED_JS_SIZE_PROD=196.2k bytes
SCENE_COMPILED_JS_SIZE_PROD=198.9k bytes
(start empty vm 0.21.0-3680274614.commit-1808aa1)
OPCODES ~= 0k
MALLOC_COUNT = 1005
Expand All @@ -8,9 +8,9 @@ EVAL test/snapshots/production-bundles/with-main-function.js
REQUIRE: long
REQUIRE: ~system/EngineApi
REQUIRE: ~system/EngineApi
OPCODES ~= 55k
MALLOC_COUNT = 12036
ALIVE_OBJS_DELTA ~= 2.65k
OPCODES ~= 56k
MALLOC_COUNT = 12165
ALIVE_OBJS_DELTA ~= 2.68k
CALL onStart()
OPCODES ~= 0k
MALLOC_COUNT = 6
Expand All @@ -37,4 +37,4 @@ CALL onUpdate(0.1)
OPCODES ~= 3k
MALLOC_COUNT = 5
ALIVE_OBJS_DELTA ~= 0.00k
MEMORY_USAGE_COUNT ~= 871.24k bytes
MEMORY_USAGE_COUNT ~= 879.70k bytes

0 comments on commit 0dedd2e

Please sign in to comment.