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
Well, actually, https://www.reddit.com/r/Clojure/comments/ntuf0c/clojure_datalog_databases/h1w0vwa/?utm_source=pocket_mylist of @quoll's ๐
I wouldnโt listen to that woman. She doesnโt know what sheโs talking about
Hey, I remembered https://www.reddit.com/r/Clojure/comments/q8ia9a/comment/hgrooa0/?utm_source=reddit&utm_medium=web2x&context=3 ๐
I believe https://github.com/lambdaisland/datalog-benchmarks/blob/main/src/datalog_benchmarks/scratch.clj referred to?