• GossipEd is slow

    From Oli@2:280/464.47 to All on Fri Feb 7 15:35:27 2020
    Gossiped runs not very fast on my RaspPi 2. The message list in an area with 30000 messages takes forever to appear. I know a Pi 2 is not the fastest machine, but it's much slower than other software. My guess is that it is something that could be optimized without too much trouble.

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: kakistocracy (2:280/464.47)
  • From Alexander N. Skovpen@2:5020/9696 to Oli on Fri Feb 7 21:46:12 2020
    Hello Oli!

    07 Feb 20 15:35:26, Oli wrote to All:

    Gossiped runs not very fast on my RaspPi 2. The message list in an area
    with 30000 messages takes forever to appear. I know a Pi 2 is not the fastest machine, but it's much slower than other software. My guess is that it is something that could be optimized without too much trouble.

    yes. i get full messages to create messagelist.

    Benchmark Jam GetMessages-4 30000 48524 ns/op 0.16 MB/s 55137 B/op 230 allocs/op
    Benchmark MSG GetMessages-4 30000 48800 ns/op 0.16 MB/s 59850 B/op 173 allocs/op
    Benchmark Squish GetMessages-4 50000 28610 ns/op 0.28 MB/s 44912 B/op 95 allocs/op

    i will be fix it later.

    Alexander


    --- ════════╦╦═╦╦═╗╔════
    * Origin: ═╩══╬╩═╩╩═╬╬═ (2:5020/9696)