GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rclex/rclex_bench: Benchmark collection to evaluate the performance of Rclex

BranchesTags
Open more actions menu

Latest commit

 

History

42 Commits
42 Commits

Folders and files

NameName
Last commit message
Last commit date
lib
lib
 
 
scripts
scripts
 
 
test
test
 
 
.formatter.exs
.formatter.exs
 
 
.gitignore
.gitignore
 
 
.tool-versions
.tool-versions
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
mix.exs
mix.exs
 
 

Repository files navigation

RclexBench

Usage

  1. Edit the version in mix.exs as you want to evaluate.
    defp deps do
      [
        # {:rclex, "~> 0.5.1"}
        {:rclex, path: "../rclex"}
      ]
    end
    
  2. Run the script. You need to add the version name as the argument
    $ ./scripts/string_topic.sh 0.5.1
    

Results

  • Directory structure
    • ./results/string/p1s1/<version_name>: pub1-sub1 communication
      • (cont.)/<length>: The length of string, a.k.a the size of message
    • ./results/string/p1sN/<version_name>: pub1-subN communication
      • (cont.)/<length>/<node>: The number of nodes
    • ./results/string/pNs1/<version_name>: pubN-sub1 communication
      • (cont.)/<length>/<node>: The number of nodes
  • Files
    • pub.csv, sub.csv:
      • Raw data for each measurement per line
      • Format: "{published,subscribed}_message","time"
    • time.csv:
      • Interval from sub_time to pub_time for the same message
      • Format: "message"{,"diff_time"}*

Configuration point

./lib/rclex_bench.ex

  # macro definitions for evaluation
  defmacro eval_interval, do: 100
  defmacro eval_pub_period, do: 1_000
  defmacro eval_sub_period, do: 5_000
  defmacro logger_level, do: :warn

./scripts/string_topic.sh

### Configuration part.
# The number of communication (publication) for each measurement.
NUM_COMM=5
# Time to sleep after running sub_main before running pub_main.
SUB_PUB_INTERVAL=0.1

# Maximum length of string a.k.a size of message.
MAX_STR_LENGTH=8192
# Initial value of length, that will be increased by a factor of two.
INI_STR_LENGTH=16
# Maximum number of nodes
MAX_NUM_NODES=100
# Initial number of nodes, that will be increased by 20
INI_NUM_NODES=20

About

Benchmark collection to evaluate the performance of Rclex

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.