Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf-test: Replace fileType with fileSize #46

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

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

@@ -222,11 +222,15 @@ export default function Home() {

for (let i = 0; i < _count; i++) {
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