Skip to content

[v3.8.6] Refactor some code to reduce package size. - #18068

Merged
minggo merged 1 commit into
cocos:v3.8.6from
dumganhar:386-package-size-opt
Dec 23, 2024
Merged

[v3.8.6] Refactor some code to reduce package size.#18068
minggo merged 1 commit into
cocos:v3.8.6from
dumganhar:386-package-size-opt

Conversation

@dumganhar

Copy link
Copy Markdown
Contributor

Re: #

Changelog


Continuous Integration

This pull request:

  • needs automatic test cases check.

    Manual trigger with @cocos-robot run test cases afterward.

  • does not change any runtime related code or build configuration

    If any reviewer thinks the CI checks are needed, please uncheck this option, then close and reopen the issue.


Compatibility Check

This pull request:

  • changes public API, and have ensured backward compatibility with deprecated features.
  • affects platform compatibility, e.g. system version, browser version, platform sdk version, platform toolchain, language version, hardware compatibility etc.
  • affects file structure of the build package or build configuration which requires user project upgrade.
  • introduces breaking changes, please list all changes, affected features and the scope of violation.

@github-actions

Copy link
Copy Markdown

👍 Package size ⤵ -617 bytes, old: 5442241, new: 5441624

Interface Check Report

This pull request does not change any public interfaces !

@dumganhar
dumganhar requested a review from minggo December 20, 2024 14:41
@dumganhar

Copy link
Copy Markdown
Contributor Author

@cocos-robot run test cases

@github-actions

Copy link
Copy Markdown

@dumganhar, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS FAIL event-info,touch-event,DragonBones,dynamic-tiled-map,coordinate-ui-ui
ios PASS PASS FAIL 2d-rendering-in-3d,atlas-compress,modelPriority,AnimationEvent,EasingMethods,Morph,SwitchAnimation,load-atlas-texture,test-js-list,event-info,touch-event,planar-shadow,shadowBias,DragonBones,LoadSpine,particle-rotation,rt-read-pixels,cameraUseRenderTex,canvasUseRenderTex,deprecated,CoreJsTest,terrain,tween-clone,tween-parallel,tween-removeself,tween-repeat,tween-show-hide,tween-stop,filter,simple,sliced-sprite,sprite-grayscale,trimmed,bmfont,button-click,anim-widget,layout-basic-grid,layout-basic-horizontal,rich-text-event,graphics-mask,mask-inverted,mask,slider,progress,graphics,pageView_free_horizontal,pageView_free_verticle,coordinate-ui-3d,coordinate-ui-ui,motion-streak,visibility-changed
mac PASS PASS FAIL 2d-rendering-in-3d,EasingMethods,Morph,SwitchAnimation,event-info,planar-shadow,DragonBones,LoadSpine,particle-rotation,capture_to_web,terrain,bmfont,scroll-view-scroll-to-offset,coordinate-ui-3d,coordinate-ui-ui,motion-streak,visibility-changed

@github-actions

Copy link
Copy Markdown

@dumganhar, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
windows PASS PASS FAIL 2d-rendering-in-3d,Morph,SwitchAnimation,event-info,mouse-event,touch-event,geometry-renderer,planar-shadow,DragonBones,LoadSpine,SpineAttach,dynamic-tiled-map,particle-culling,particle-rotation,capture_to_web,raycast-mesh&model,bmfont,label-cacheMode-color,pageView_free_horizontal,coordinate-ui-3d,coordinate-ui-ui,motion-streak,visibility-changed
android PASS PASS FAIL 2d-rendering-in-3d,modelPriority,AnimationEvent,Morph,PartAnimation,SwitchAnimation,image-importer,load-atlas-texture,test-js-list,audioBuffer,dynamic-mesh,event-first,event-info,multiTouch,touch-event,planar-shadow,shadowBias,localization,material,DragonBones,DragonBonesAttach,LoadSpine,SpineAttach,SpineBoy,dynamic-tiled-map,particle-color,particle-limit-velocity,particle-rotation,particle-velocity,rt-read-pixels,render-ui-to-spriteframe,cameraUseRenderTex,use-render-texture-asset,camera,hdr-ldr,raycast,CoreJsTest,terrain,tween-clone,tween-parallel,tween-removeself,tween-repeat-forever,tween-repeat,tween-show-hide,tween-stop,tween-then,tween,fill-sprite,filter,simple,sliced-sprite,sprite-grayscale,trimmed,bmfont,button-click,anim-widget,layout-size-changed,scroll-view-bounce-back,scroll-view-scroll-to-offset,rich-text-event,graphics-mask,mask-inverted,mask-migrate,mask-nesting,slider,progress,graphics-continuous-filling,graphics-draw-before-init,graphics,pageView_free_horizontal,coordinate-ui-3d,motion-streak,particle-2d-color,particle-2d-position-type-change,opacity-multi-canvas,visibility-changed
wechatgame PASS PASS FAIL event-info,touch-event,DragonBones,LoadSpine,coordinate-ui-ui

@minggo
minggo merged commit aede027 into cocos:v3.8.6 Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants