Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
Redirect users to wiki for instructions in README (#216)
Browse files Browse the repository at this point in the history
* redirect users to wiki for instructions

* remove old makefile targets

* remove old populate script
  • Loading branch information
goncalotomas authored Jul 17, 2019
1 parent 02261d4 commit 5ffdcab
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 328 deletions.
25 changes: 0 additions & 25 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,9 @@ all: compile rel
attach:
./_build/default/rel/fmke/bin/env attach

bench: compile
./travis.sh bench short antidote
./travis.sh bench short antidote_norm
./travis.sh bench short redis
./travis.sh bench short riak
./travis.sh bench short riak_norm

bench-antidote: rel
./travis.sh bench normal antidote

bench-antidote-norm: rel
./travis.sh bench normal antidote_norm

bench-redis: rel
./travis.sh bench normal redis

bench-results:
Rscript --vanilla _build/test/lib/lasp_bench/priv/summary.r -i tests/current

bench-riak: rel
./travis.sh bench normal riak

bench-riak-norm: rel
./travis.sh bench normal riak_norm

compile:
${REBAR} as test compile
escript -s scripts/populate_fmke.escript
Expand Down Expand Up @@ -101,9 +79,6 @@ eunit:
lint:
rebar3 as lint lint

populate: compile
./scripts/populate_fmke.erl "antidote" "../config/fmke_travis.config" "[email protected]"

rel: relclean
rm -rf _build/default/rel/
${REBAR} release -n fmke
Expand Down
27 changes: 1 addition & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,33 +54,8 @@ Before the benchmark, AntidoteDB was populated with over 1 million patient keys,

## Testing out FMKe locally
FMKe requires [Erlang/OTP][9] and [rebar3][10]. You need at least Erlang 20, FMKe will not compile in previous versions.
You can test out FMKe locally by cloning the repository:

```bash
git clone https://github.com/goncalotomas/FMKe.git
```

Once you have a local copy of the repository, the first step is to choose your target data store:

```bash
make select-TARGET_DB
```

Where TARGET_DB should be one of the supported databases. From now on let's assume that we chose `riak`.
You don't need to have any databases installed, since local benchmarks use Docker images.
Finally, you can run a micro-benchmark by using the following command:

```bash
make bench-riak
```

Alternatively, you can also validate that your FMKe copy is functional by running unit tests with your desired database as backend:

```bash
make eunit-riak
```

This command will run a battery of unit tests that ensure that all functionality related to the benchmark is able to performed in the database you have previously selected.
Please check [the wiki](https://github.com/goncalotomas/FMKe/wiki) for detailed instructions on how to run FMKe with a particular database.

[1]: https://syncfree.lip6.fr/
[2]: https://antidotedb.eu
Expand Down
277 changes: 0 additions & 277 deletions scripts/populate_fmke.escript

This file was deleted.

0 comments on commit 5ffdcab

Please sign in to comment.