long globalsteps #2488

Open
opened 2022-07-24 23:45:29 +02:00 by cora · 0 comments
Contributor

After #2487 i have used https://git.minetest.land/MineClone2/mcl_devtest/src/branch/master/gsp to identify the globalsteps in these mods as taking excessively long compared to all other globalsteps:

  • mcl_player
  • mcl_playerplus
  • mcl_shields #2489
  • mcl_hunger / hudbars #2491

They are between e-02 and e-03 seconds while all others are at e-05 and e-06.

Of these i think mcl_shields is the most likely to have a similarly simple fix as i did in mcl_sprint (or probably a few of them because it's way more complex than sprinting).

player and playerplus just might need this, i could kind of understand that.

But I think hunger probably needs to be fixed too some time.

After #2487 i have used https://git.minetest.land/MineClone2/mcl_devtest/src/branch/master/gsp to identify the globalsteps in these mods as taking excessively long compared to all other globalsteps: - [ ] mcl_player - [ ] mcl_playerplus - [x] mcl_shields #2489 - [x] mcl_hunger / hudbars #2491 They are between e-02 and e-03 seconds while all others are at e-05 and e-06. Of these i think mcl_shields is the most likely to have a similarly simple fix as i did in mcl_sprint (or probably a few of them because it's way more complex than sprinting). player and playerplus just might need this, i could kind of understand that. But I think hunger probably needs to be fixed too some time.
chmodsayshello added the
code quality
performance
labels 2022-08-04 17:11:57 +02:00
ancientmarinerdev added the
needs research
label 2023-01-31 06:05:44 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#2488
No description provided.