IRC channel logs

2026-05-19.log

back to list of logs

<kestrelwx>Hahaha, more than a second for 10000 values.
<dthompson>10k... floats? something else?
<kestrelwx>Floats, yeah.
<dthompson>I would expect more throughput than that, even if performance ultimately will still not be very good
<dthompson>if you're still calling from js to scheme I imagine the procedure call overhead is the killer as it allocates a scheme vector for each call
<kestrelwx>Yeah, it's just bad. With your code I have 0.69s for 90k floats.
<kestrelwx>Well, even less.
<kestrelwx>Oh, I've had made a mistake. I now get 7.7s for 1 million floats.
<dthompson>are you copying one byte at a time or one float at a time?
<kestrelwx>One float.
<dthompson>cool
<kestrelwx>In Chromium 1 million float completes in 3s with this vs 0.45s for your code.
<kestrelwx>Well, I probably won't need bulk for this jam anyway, so this is probably fast enough.
<dthompson>what code of mine are you comparing this to? that old webgl gist I made?
<kestrelwx>Yeah, from the blog post.
<dthompson>ahhh okay
<dthompson>it's been awhile, I don't remember what I did