Skip to content

b5g-ex/ping_pong_measurer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PingPongMeasurer

Getting Started

  1. add this to deps
def deps do
  [
    {:ping_pong_measurer, git: "https://github.com/b5g-ex/ping_pong_measurer.git"}
  ]
end
  1. configure data directory to store measurements
config :ping_pong_measurer, :data_directory_path, "path/to/directory"

If you use this on Nerves system, the "path/to/directory" must be under the /data directory which is rw partition.

  1. start pong node first
iex> MeasurementHelper.start_node("[email protected]", :cookie)
iex> PingPongMeasurer.start_pong_processes(_process_count = 100)
  1. start ping node and start measure
iex> MeasurementHelper.start_node("[email protected]", :cookie)
$ Node.connect(String.to_atom("[email protected]"))
$ MeasurementHelper.start_measurement(_process_count = 100, _payload_bytes = 10000, _measurement_times = 100)

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ping_pong_measurer.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages