1StepCloser's Forum Posts

  • 1StepCloser Thanks! For me this also happens only in one large project.

    Is the issue intermittent in your case? One minute the editor is very slow, and the next five minutes it may be running perfectly fine?

    Yes, I think that's the puzzling part of it all.

    One moment I can drag a group to another spot in 1 second, the next time it may take 10 seconds.

    One moment I can search for an object to set an action for in 1 second, the next time it may take 5 seconds.

    There a few of these "quirks" that I can't quite isolate what's causing the issue, but there are others that I can repeat a bit more consistently.

    This also makes submitting a bug report tricky in terms of reproducibility.

    It becomes a tug of war between the time it takes to find a way to reproduce the cause vs. the time it takes to deal with the lag.

    One thing's clear though in my experience:

    The bigger the project, the more frequent these "quirks" popup, but the larger the project, the more difficult it becomes to identify the cause.

  • Je Fawk pandabear7413 birdboy And others who have this issue in Chrome - could you share your hardware config? I wonder if this happens with Intel CPUs?

    RAM: 32 gb

    GPU: RTX 3080

    CPU: i9-10900KF 3.70 GHz

    I get lag fairly often with my current project (despite the dropdown change that improved performance), so it doesn't appear to be AMD specifc.

    *Note I do tend to work with large projects

  • You do not have permission to view this post

  • Memory Footprint - Comparing Projects - Based On Time Open

    Subscribe to Construct videos now

    Almost double the memory footprint despite the projects having equal content.

    I'm curious if undo,redo,save,create,delete and related operations are potentially leaking memory to somehow?

  • Similar issue:-

    What exactly happens:-

    When I start working, in the beginning Construct 3 (editor) works fine. But after approx 1 hour, editor lags horribly (although project runs smoothly)

    What I do:-

    I have a Ryzen 5600H laptop. I tweaked settings in AMD software & selected "performance" instead of "battery optimisation". Also I noticed that issue dissapeared when I used my laptop in plugged mode.

    Maybe our issues are different but I am adding few inputs just in case

    I work on a desktop, but thanks for your input.

  • Mostly a question for Ashley,

    I've come across a performance issue involving the time it takes to change the position of event sheet elements, and it appears to be dependent on how long the project has been open.

    In general, submitting a bug report involves submitting a project that can reproduce the issue.

    However in this case, it appears to be a duration-dependent issue that might take hours to notice the performance hit.

    How would you recommend I submit a bug report for this?

    Subscribe to Construct videos now

    Alternatively, as a band-aid approach, I could of course just close the project and re-open it every few hours.

    (Main reason I don't do this is due to the time it takes to open large projects)

  • You do not have permission to view this post

  • What I want to know, is the overhead with enabling / disabling at this frequency actually going to end up making it slower than just executing everything 50 times per second?

    Enabling / disabling + the groups actions called 5.1 times per second will be more performant than executing the actions involved in said groups 50 times per second.

    However, don't take my word for it, just test it (this goes for pretty much all performance questions)

    run 5 times per second (instead of 50) for the HUD display items (scores, radars etc).

    I recommend a system that updates X when you change X, rather than updates X on a timer.

    For example,

    Timer based (Not recommended, imo)

    Character earns 1 point

    Every x Seconds:

    Score text updates to current point total

    Trigger based

    When character earns a point:

    Update score text to current point total

    Is it possible for you to work on your project from a different device to rule out if it's device specific?

    Time will tell, but r321's performance improvement for autocomplete has significantly improved autocomplete performance in my project.

    Thank you Ashley.

    Have you given it a try yet dop?

    Dop, Ashley checked the bug submission and was able to reproduce the issues I mentioned.

    If you'd like to weigh in on it, as figuring out the solution appears to be difficult:

    So I'm afraid it's not clear to me what else could realistically be done at this time.

    github.com/Scirra/Construct-3-bugs/issues/6301

    If you can reliably reproduce an issue with Construct, please file an issue. You don't need to share your whole project, you can just fill a project with dummy content.

    github.com/Scirra/Construct-3-bugs/issues/6301

    > When I'm at "choo" while typing, I'd personally only want "choose" and "chooseindex" to populate in the dropdown list, not "clocktext".

    I agree. Not only these long lists are slow, they become less and less useful when they contain hundreds of objects mixed with expressions and variables.

    Filtering them as you type is one solution. Another option would be splitting the list somehow, perhaps displaying two or three lists side-by-side - one with expressions, another with objects, and the third with variables.

    Ahh, that's a good idea too, when you are going for choose(), there is no need to populate the list with variables and objects.

    Either/both of those (dropdown limit, dropdown category) could be useful.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads

    > In your gif, once you select the choose function, the dropdown list has to clear the elements, could this be a factor?

    Not sure what you mean, which elements? Theoretically, the number of objects and variables in the project should not affect system expressions like "choose" at all.

    Another possibility is that its actually Chrome that causes these freezes (as Asmodean suggested in his comment), because it does something as I type, like performs a spell check. I disabled the spell check yesterday, but I can't tell yet if it helped or not..

    I'm referring to the # of elements in the dropdown list.

    I'm wondering if the issue lies in how each of those elements are removed from the list, and I was wondering if that removeChildCall is involved.

    To further explain:

    In my video example, the blank project has an element list of 1, while the larger project has an element list equal to the total # of groups in the entire project, as the dropdown list shows every single entry, but sorts based on the entries that match closest.

    In your gif, you see how the list remains even when you are at "choo"?

    This is why I mentioned the preference to set the specificity of the dropdown list to the top (10,20,etc) entries.

    When I'm at "choo" while typing, I'd personally only want "choose" and "chooseindex" to populate in the dropdown list, not "clocktext". This is now a list of 2, which presumably would make clearance of the dropdown list much smoother (if that's at all a factor).

    (Scrolling all the way to the bottom of the list)

    If all entries are populated in the list regardless of what's typed then as a project grows, so does this list.

    Of course this doesn't mean it's the issue, but if I had the option to set the dropdown list limit to: 20

    And then performed the same test I showed in the video, and I saw an improvement, I'd like to think that suggests the element count in the dropdown list is involved.

    1StepCloser I know what you are talking about. C3 begins to lag when populating long lists of objects or expressions/variables. But these lags are relatively small, in largest projects I've seen the lags were about a second or two. It definitely doesn't explain random 10-20 second freezes in my case. They are probably related to the same functions, but something else makes the issue much worse.

    Yeah, the 10-20 seconds lags are hard for me to reproduce and suggests a more catastrophic failure.

    You mentioned a removeChildCall, I ran a quick test comparing a large project vs. a fresh project, testing the time it takes to clear the dropdown list.

    Subscribe to Construct videos now

    In your gif, once you select the choose function, the dropdown list has to clear the elements, could this be a factor?