Comments (12)
I agree that's probably likely, but I'd still like to see more detailed information to see if there's something that can actually be done about it.
Did you see any difference between the test page and the current live version? This would determine if we had a regression and would help pin-point the issue to a specific code change. Other than that though, I would have no idea where else to look.
from flagwaver.
Thanks for the confirmation! Unfortunately, the test version isn't an enhanced version, it's just reverting back to a really old version. Now the hard part is finding out which commit(s) caused the performance drop.
from flagwaver.
It's been over a year of no activity so I am closing this. If anyone still having issues wants to reopen this, please provide actionable information, such as identifying a specific commit or piece of code that is causing problems, or proposing a fix.
from flagwaver.
What browser are you using?
Are you using your own images in the flagwaver?
Can you open your developer console and see if there are any errors or warnings popping up?
This kind of stuff is difficult to troubleshoot without a lot of details to go off of
from flagwaver.
I am using Google Chrome,
The page opens up already laggy,
And i can open the developer control but no warnings appear.
from flagwaver.
That's really strange! Again, I don't really know what's going on as I don't see any issues on my end, but any more info you can provide would help.
-
Are you able to go into the Performance tab of the dev tools, record about 10 seconds or so (but make sure the page is finished loading first), and send me the Profile?
-
Can you also visit the test page and see if it is any better?
-
Can you provide screenshots of 1 and 2?
from flagwaver.
It's probably a hardware problem. It's not exactly the smoothest on my 5-year-old MacBook Pro; I can imagine it'd be very intense for old or low-end machines
from flagwaver.
@krikienoid sorry; I don't think I'll have time to test that out. I can make a note to check back in awhile to tell you if the now-in-test-but-will-then-have-been-the-live-version works the same or not; currently it just barely achieves full FPS for me.
from flagwaver.
Turns out I found some time! So I tested the live version, the test page you linked, and the version on master
as cloned onto and running from my machine. Here's my results!
Here's how the live version performs for me:
Here's how the test page performs for me:
Here's how the current version on master
performs for me:
Seems whatever performance enhancements you made for the test version really worked out 😁
from flagwaver.
Best of luck, @krikienoid! I'm facing the same problem at work lol
from flagwaver.
I have the same problem, It's very laggy
from flagwaver.
I've done some tests using the Chrome dev tools Performance tab. I've tried throttling the CPU 6x and comparing Profiles, however, I do not see any noticeable difference. On my machine, both sites run smoothly at 60fps. I've also tried making the main loop function run multiple times per frame, but I was not able to get the latest FlagWaver to perform worse comparatively.
So I think I'll need help from someone with an old computer to pinpoint this issue. If anyone has an old computer, can you test the following links and see which ones perform better/worse?
https://krikienoid.github.io/flagwavertest/tests/v1.0.0/
https://krikienoid.github.io/flagwavertest/tests/2499b32/
https://krikienoid.github.io/flagwavertest/tests/7c4925f/
https://krikienoid.github.io/flagwavertest/tests/af299bd/
from flagwaver.
Related Issues (20)
- is there a way to make an http GET request to the website and set the desired image url as a header? HOT 3
- Getting an "Image could not be loaded." whenever trying to load an image from any url. HOT 1
- It freezes the entire browser window! HOT 3
- Bendera HOT 1
- Image could not be loaded. HOT 6
- Self intersection HOT 4
- Flag Hoisting HOT 2
- Add transparent strip to avoid hoist edge being hidden within flagpole HOT 3
- Tried opening it but shows a WebGL error HOT 1
- Red and blue colors HOT 3
- Add "Lively Wallpaper" support HOT 1
- Add flag poles HOT 15
- Flag rotation HOT 1
- Support for nonrectangular flags? HOT 1
- A button to generate "embed" HTML code? HOT 1
- Hello krikienoid HOT 2
- add a button to let flag fly away (basically button to disconnect flag from pole) HOT 1
- Flagwaver is laggy and barely works. HOT 1
- Share options HOT 2
- Enhancement Request for Custom Backgrounds HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flagwaver.