Comments (6)
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.
@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.
@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.
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.
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.
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)
- Glare Crashes HOT 2
- The Glare's texture breaks in resource pack HOT 2
- Duplication with Rascal, using Carry on HOT 1
- [Possible bug} The Iceologer can naturally spawn in cold biomes like any other hostile mob HOT 1
- Config being ignored HOT 2
- Wiki Link Broken HOT 1
- [BUG 1192] something wrong with 'friendsandfoes:totem_of_illusion'/skeleton ai HOT 7
- Totem of Illusion doesn't teleport the player or apply invisibility in the off-hand HOT 4
- Wildfire Crown stacks to 64 and has no texture when worn HOT 1
- WildFire Crown is broken HOT 1
- [1.21-Neo] Crash running around world past NeoForge version .74 and above. HOT 4
- Totem of Undying does not proc from Charm slot / No option to disable Trinkets integration HOT 1
- Rascal spawn checks are too lenient which often leads them to spawning in places where they are cornerable HOT 8
- [BUG] Lightning on Copper Golems jitters movement and plays death animation 1.21 HOT 15
- Bee's won't leave bamboo beehive | invalid for ticking (just the bamboo ones, the rest for some reason. . . are fine) HOT 6
- Illusioner won't drop Totem of Illusion HOT 4
- [new mob] Crabs. HOT 1
- Totem of Illusion and freezing dont work HOT 2
- Wildfire should take extra damage from freezing just like other hot mobs. HOT 2
- Glares won't breed HOT 2
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 friends-and-foes.