question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Performance Optimization Discussion

See original GitHub issue

Issue type:

  • 🐌 Performance issue

Short description:

Continuing conversation from #1147. When Having large networks, performance degrades. I found some places where optimizations can be made using this performance profile

Potential Optimizations

The below were brought to my attention from the profile linked above since they were taking a significant amount of time to process/execute.

  1. org.cyclops.integrateddynamics.core.part.aspect.build.AspectBuilder lines 418 and 420 can be run in parallel since there doesn’t seem to be any order requirements in each onUpdate method.

  2. org.cyclops.integrateddynamics.core.network.Network line 441 same recommendation as 1.

  3. org.cyclops.integrateddynamics.core.network.IngredientChannelAdapterWrapperSlotted lines 52 and 55 Setting the position state to disabled then re-enabled in the same context seems unnecessary since those changes can only happen on the main thread in series anyway.

  4. org.cyclops.integrateddynamics.core.network.IngredientChannelAdapterWrapperSlotted lines 69 and 72 same recommendation as 3.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
rubensworkscommented, Apr 9, 2022

Thanks for reporting!

1reaction
rubensworkscommented, Apr 16, 2022

No worries @Geo25rey, I wasn’t trying to rush you 😃

I do want to a little more investigation on my end, especially regarding the hashCode methods being used. (And anything else I can find)

👌

Also, I noticed that you had an idea for an in-game performance monitor. Is there a way I can help with that?

Certainly! I think these issues have a high priority, but I don’t think I’ll have time for them in the near future:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Performance Optimization - an overview | ScienceDirect Topics
In this chapter, we will take a broad brush approach and, in general, discuss optimization techniques that apply to the temporalization of any...
Read more >
Mastering Performance Optimization - The Basic Metrics And ...
Performance optimization is the process of modifying a system to amplify its functionality, thus making it more efficient and effective.
Read more >
Optimizing Processes - Discussions
Improving Business Performance by addressing HOW things are Done: A Discussion on Process & Value Streams. Optimizing Processes - Discussions.
Read more >
Performance Improvement is not Performance Optimization
Performance improvement is the art of making online applications faster, while performance optimization is the art of making online ...
Read more >
Performance Optimization in Software Development - Medium
Performance Optimization of a programs and software is the process modifying a software system to make it work more efficiently and execute more...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found