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

webasm app run very slowly #5216

Open
2 tasks done
epowsal opened this issue Oct 19, 2024 · 3 comments
Open
2 tasks done

webasm app run very slowly #5216

epowsal opened this issue Oct 19, 2024 · 3 comments
Labels
unverified A bug that has been reported but not verified

Comments

@epowsal
Copy link

epowsal commented Oct 19, 2024

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

running slowly

How to reproduce

edge browser open demo.fyne.io widgets text

Screenshots

maybe cause by outpu too many:
2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122
wasm_exec.js:22 2024/10/19 15:16:26 Fyne error: Failed to load image
wasm_exec.js:22 2024/10/19 15:16:26 Cause: open ../../theme/icons/fyne.png: not implemented on js
wasm_exec.js:22 2024/10/19 15:16:26 At: /Users/andy/Code/Fyne/fyne/canvas/image.go:122

Example code

no

Fyne version

2.5.1

Go compiler version

1.23.1

Operating system and version

windows 11

Additional Information

no

@epowsal epowsal added the unverified A bug that has been reported but not verified label Oct 19, 2024
@andydotxyz
Copy link
Member

I don't think it relates to the error (though it could!) the WASM -> WebGL upload is very slow and we need to optimise to avoid this.
We may also have accidentally left debug on for the demo site!

@epowsal
Copy link
Author

epowsal commented Oct 19, 2024

Can you made a pure html driver for ui widgets.using gopherjs as event brige. It maybe very fast.

@andydotxyz
Copy link
Member

We previously did have a gopherJS driver, but the language support is many versions behind so we couldn't keep being held back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unverified A bug that has been reported but not verified
Projects
None yet
Development

No branches or pull requests

2 participants