asami

zeitstein 2021-11-29T13:06:01.165100Z

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.

quoll 2021-11-29T13:16:17.166Z

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

zeitstein 2021-11-29T13:44:51.166500Z

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

quoll 2021-11-29T14:33:12.167400Z

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

quoll 2021-11-29T14:34:03.168700Z

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

quoll 2021-11-29T14:35:38.170400Z

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

zeitstein 2021-11-29T15:02:36.171700Z

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

Carlo 2021-11-29T14:49:43.171100Z

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

quoll 2021-11-29T14:55:49.171600Z

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

quoll 2021-11-29T15:09:33.173200Z

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

๐Ÿ˜ 1
๐Ÿ˜Ž 1