OK @whilo… I debugged it and cleaned things up a bit. I’m onto the TripleStore part now
If you’re interested to see the code that loads data, then it occurs in a test: https://github.com/threatgrid/asami/blob/925156e20118cc8662ea68f006afc0eec95dac15/test/asami/durable/pool_test.cljc#L117
The “load” step occurs in a function on line 108, called load-strings!
. You can run that from a repl, and call time
on it. That’s what I was doing to see how things were going 🙂
This notebook computer averages at about 19 seconds to load the book (Pride and Prejudice. Now included in the resources
directory)
Reloading the book (which does nothing except check that everything is already loaded) takes about 16 seconds
Feel free to look over the code!