7 releases
0.2.5 | Dec 29, 2021 |
---|---|
0.2.4 | Dec 28, 2021 |
0.1.6 | Dec 9, 2021 |
#262 in Profiling
61KB
1.5K
SLoC
Requirements
- docker
Setup
This program is meant to be run in a copy of https://github.com/PlummersSoftwareLLC/Primes
Install docker
After the installation you need to enable docker as non-root user. Take the following steps:
sudo groupadd docker
sudo usermod -aG docker $USER
Log out and log back in so that your group membership is re-evaluated.
git clone https://github.com/PlummersSoftwareLLC/Primes.git
cd Primes
cp /path/to/plummerprimes/binary ./
Running the program
USAGE:
plummerprimes [FLAGS] [OPTIONS]
FLAGS:
--compat Make json output compatible with the primes project's nodejs output
--debug Debug
-h, --help Prints help information
-l, --list-formatters List formats to output to
--only-output-report Only output report
-u, --unconfined Run with seccomp:unconfined (native performance for interpreted languages)
-V, --version Prints version information
OPTIONS:
-f, --formatter <formatter> Output formatter [default: table]
-b, --report-base <report-base> Report file base name [default: report]
-r, --report-dir <report-dir> Write report file(s) to given file [default: ./]
--save-file <save-file> Read/Write save from/to given file [default: save.db]
-s, --solution <solution> Build and run specified solution name (Does not save to the save file) [example:
primerust_solution_1]
Dependencies
~19–32MB
~491K SLoC