|
@@ -7,10 +7,11 @@ This is an implementation of our paper "Spiral: Fast, High-Rate Single-Server PI
|
|
|
## Building
|
|
|
|
|
|
- In `spiral-rs/spiral-rs`:
|
|
|
+ - To run an end-to-end test for a database with 2^20 elements of size 256 bytes, run `cargo run --release --bin e2e 20 256`.
|
|
|
- To build the library `spiral-rs`, run `cargo build --release`.
|
|
|
- To run the library tests, run `cargo test`.
|
|
|
- To build the server, run `cargo build --release --bin server --features server`.
|
|
|
- - To preprocess a database, run `cargo build --release --bin preprocess_db`.
|
|
|
+ - To preprocess a database, run `cargo run --release --bin preprocess_db dbfile.db dbfile.dbp`.
|
|
|
- To run the server, run `target/release/server dbfile.dbp` with the preprocessed database file `dbfile.dbp`
|
|
|
- In `spiral-rs/client`:
|
|
|
- To build the client for our Wikipedia demo, run `wasm-pack build --target web --out-dir static/pkg`
|