Sonar Core

Sonar Core

46M Downloads

Bad performance on simulated inserts

fraenkelc opened this issue ยท 1 comments

commented

Mod versions:

  • calculator-1.12.2-5.0.2
  • sonarcore-1.12.2-5.0.4

I've tested a large setup of Atomic Multipliers (300). I'm feeding Circuits using TE Impulse Itemducts with resonant servos into these multipliers. When there's space in the machines everything is fine. When the machines fill up server TPS drops sharply.

image

for the full flamegraph see https://gist.github.com/fraenkelc/1e3cdd01a713715debe984004f151f29

The issue seems to occur because the incoming item stack is cloned every time even on simulation runs.

commented

You should see a major performance improvement in the next version.
See: ebaee60