Git Product home page Git Product logo

Comments (6)

Faboslav avatar Faboslav commented on September 25, 2024

I will look into that, also mentioning sparkprofiler is great for me, because i did not have any experience with debugging AI tick complexity(now i at least know what to use). Thanks, hopefully i will let you know today with some good news :).

from friends-and-foes.

Faboslav avatar Faboslav commented on September 25, 2024

@Skeithh Also can you please tell me how much Glare entities is loaded(and ticking)? As in version 1.2.2 of the mod was bug with glare persistance. So it is possible that they are overpopulated.

from friends-and-foes.

Skeithh avatar Skeithh commented on September 25, 2024

@Faboslav
No problem regarding Spark, I found out about it recently and it has been a lifesaver for the server.
I investigated some of the supposed areas but I also found some new lush caves to investigate. After waiting a bit, only a few glares spawned, and significant tick lag followed. There wasn't an excessive amount of these at all, pretty much about 10 of them in the area Before I killed them it set the server to ~220 ticks behind and growing. I ran a sparkprofiler again just for general reference before I started culling them to see it behave
https://spark.lucko.me/YszfTLJkiA

Killing them off immediately caused the tickrate to recover back to its standard 20-40 that is expected on my server.

from friends-and-foes.

Faboslav avatar Faboslav commented on September 25, 2024

So i tried to use spark for profiling and all was relatively okay(i tried it with about 20-40 glares), sadly the worst part of Glares performance is the code of WanderAround goal which is just reused code from the Parrot :D.

Now i have no idea how to approach this as i cant simulate it properly, anyway i tried to look at every goal used by glare and then tweak it somehow for better performance, so if you would be so kind and tried this dev build i released https://github.com/Faboslav/friends-and-foes/releases/tag/mc1.18.1-1.2.4dev (friendsandfoes-mc1.18.1-1.2.3.jar file) it would be great help.

from friends-and-foes.

Skeithh avatar Skeithh commented on September 25, 2024

Hey, Just letting you know I didn't forget about this! We'll be testing today and I'll get back to you with a report on how performance is doing afterwards

from friends-and-foes.

Skeithh avatar Skeithh commented on September 25, 2024

looks like it's been fixed with that dev build, haven't had any noticeable glare-related lag as far as I can tell!

from friends-and-foes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.