asami 2021-11-29

Running a simple query benchmark (thousands of entities) I found durable performs order of magnitude faster than in-memory. Should I be surprised about this? entity benchmark for a deep tree showed durable to be about 4 times slower, which is what I expected.

I wonder of the in-memory was eager and the one from durable was lazy?

I don't know how I could find out, sorry ๐Ÿ˜„

The other thing to check is that the data returned from durable is correct!!! ๐Ÿ™‚

But just doing type on the data that comes back will often tell you if it's a LazySeq

Alternatively, try timing the process where the final step is (into []). That usually materializes the data

Both return LazySeq, but timing (into []) indeed shows the discrepancy. Thanks!

hey I remember somewhere to have read a comparison between Asami and Datascript. Do you guys remember where that could have been?

No, though I saw Arne Brasseur did a series of small scale tests

I wouldnโ€™t listen to that woman. She doesnโ€™t know what sheโ€™s talking about

๐Ÿ˜ 1
๐Ÿ˜Ž 1