flow-emulator icon indicating copy to clipboard operation
flow-emulator copied to clipboard

[Placeholder] Performance issues with large amount of transactions

Open janezpodhostnik opened this issue 4 years ago • 2 comments

Issue To Be Solved

I have noticed that when running the emulator locally and sending a lot (thousands) of large transactions, it seems to slow down over time.

I have no hard data to back this claim yet. I just want to open up this issue so if anyone else notices any performance issues they can 👍 the issue (or comment on it).

In case this is widely experienced. We should look into addressing the issue.

janezpodhostnik avatar Sep 20 '21 13:09 janezpodhostnik

@janezpodhostnik any chance you can retry this test with the --persist option ? I think can be memstore to blame.

bluesign avatar Oct 21 '21 18:10 bluesign

Of course! That would make sense 😄 . I never use the --persist option :). I don't have the example set up anymore, but I will definitely make the comparison next time I notice it being sluggish I will also try with --persist on.

janezpodhostnik avatar Oct 21 '21 18:10 janezpodhostnik

This is fixed with new badger InMemory backend, I tried with 10k random transactions.

bluesign avatar Sep 14 '22 13:09 bluesign