Fork me on GitHub
#asami
<
2021-11-29
>
zeitstein13:11:01

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.

quoll13:11:17

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

zeitstein13:11:51

I don't know how I could find out, sorry 😄

quoll14:11:12

The other thing to check is that the data returned from durable is correct!!! 🙂

quoll14:11:03

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

quoll14:11:38

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

zeitstein15:11:36

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

william14:11:43

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

quoll14:11:49

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

quoll15:11:33

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

😁 1
😎 1