Skip to content

Conversation

tinyjin
Copy link
Member

@tinyjin tinyjin commented Jul 24, 2024

fileType info is useless for testers

fileType info is useless for testers
@tinyjin tinyjin added the enhancement Improve features label Jul 24, 2024
@tinyjin tinyjin requested a review from hermet July 24, 2024 05:51
@tinyjin tinyjin self-assigned this Jul 24, 2024
Copy link

vercel bot commented Jul 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thorvg-perf-test ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2024 5:51am

const _anim = animations[Math.floor(Math.random() * animations.length)];
const lottieURL = `${urlPrefix}${_anim}`;

const response = await fetch(lottieURL);
Copy link
Member

@hermet hermet Jul 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this fetching will not affect the loading time? if you think it's ignoreable, it's good to go.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It affects the loading time and light house score, will fix it soon. Thanks!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Size is not quite necessary, we can just remove the type.

@tinyjin tinyjin marked this pull request as draft August 13, 2024 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improve features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants