Skip to content

Loading and speed

The compiler is required on the first statement compiled for a SQL store, and its Wasm module started on that statement’s compile: about 50 to 65 ms, once a process. An application on a graph engine alone doesn’t load it, but from 5.0 loads it for loadMatching, on the first.

After that, a statement compiles in about a quarter of a millisecond, at the median, on Postgres and SQLite, much as on 3.x. On Oracle it takes about twice 3.x’s time, at the median, as the shared compiler writes some of Oracle’s temporal SQL slowly (liberation-data/drivine-cypher-spec#122). npm run bench:compiler measures it (Building from source).