pufferfish101007 — 8/27/2023, 5:13:26 PM

I've been working on a thing that compiles scratch projects to webassembly recently. Today I finished a couple of things that meant I could run some benchmarks - I was expecting it to run as fast as turbowarp seeing as at the moment there are so many things missing that would slow it down - turns out it was 3x slower than vanilla scratch just for incrementing a number 1000000 times 😬

I then did the loop using a < block rather than = and it ran twice as fast as scratch (and also twice as slow as turbowarp but I'm going to ignore that)

I've got a lot of work to do! 😊

♥ 8 ↩ 0 💬 2 comments

comments

lily:

oh i had that idea too, cool to see someone’s working on it

8/27/2023, 6:17:51 PM
pufferfish101007:

it seems like a lot of people have had that idea then :P

apparently people have actually done it before but I haven't been able to find any links… I also think tacodiva said she was working on something similar which is why she made https://github.com/tacodiva/wasm-spider ?

8/28/2023, 4:49:28 PM