JGAntunes / pulsarcast-test-harness

A test harness for Pulsarcast using ipfs-testbed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pulsarcast Test Harness

A test harness for Pulsarcast to be used with IPFS Testbed and IPFS Testbed Cli

This repository consists of a CLI tool that processes datasets and generates valid output to be used in the IPFS Testbed.

Requirements

  • nodejs >=8 in order to use the cli
  • A dataset supported by our tool, currently we support:

Install

npm install

Or skip the install step entirely and just use npx

npx -p pulsarcast-test-harness pulsar-test <command>

CLI Usage

$> pulsar-test run reddit-comments --help
bin.js run reddit-comments <path>

run the reddit comments dataset

Positionals:
  path  path to the dataset file                             [string] [required]

Options:
  --version         Show version number                                [boolean]
  -h, --help        Show help                                          [boolean]
  --resize          resize the number of users to a specific value      [number]
  --remove-deleted  remove the deleted users (without id)
                                                       [boolean] [default: true]

Using together with ipt:

pulsar-test run reddit-comments <path-to-dataset> --resize 100 > ipt exec pulsarcast load

Results

The test runs executed for the purpose of my M.Sc. Thesis are stored in results. The data extracted from the IPFS Testbed has been processed into a set of spreadsheets which are available here.

Acknowledgements

A very special thank you to Microsoft Azure (and specially @palma21) for supporting our executions.

License

MIT

About

A test harness for Pulsarcast using ipfs-testbed

License:MIT License


Languages

Language:JavaScript 81.0%Language:Shell 19.0%