[EMF] Entity Model Features [Fabric & Forge]

[EMF] Entity Model Features [Fabric & Forge]

28M Downloads

[Bug] Major performance regression since 0.RC.1.

RedGreenBlue09 opened this issue ยท 3 comments

commented

Describe the bug
Major performance regression since 0.RC.1.

190 FPS (beta builds) to 140 FPS (1.0) in the same test world.

To Reproduce
Profile the game performance with beta EMF and 0.RC.1+ EMF.

Expected behavior
Little performance loss.

Game info

  • Minecraft Version: 1.20.1
  • EMF version: 1.0
  • Does the issue persist with only EMF installed? Yes

Additional context
The hot code path emf$getUuid is too slow.

Profile result (beta): https://spark.lucko.me/gzAhs8OcTn
Profile result (1.0): https://spark.lucko.me/xq1rhllEnu

commented

The issue is fixed with the latest update (1.0.2).

commented

I will test the latest version soon!

commented

This was also just identified in my discord, and will be addressed next patch