[GRASS-git] [OSGeo/grass] c55184: grass.benchmark: Compute speedup and enable plotti...

Chung-Yuan Liang noreply at github.com
Sun Jun 16 15:33:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: c55184d3f6fe9edcd73489f175397a84b0763b0c
      https://github.com/OSGeo/grass/commit/c55184d3f6fe9edcd73489f175397a84b0763b0c
  Author: Chung-Yuan Liang <77927944+cyliang368 at users.noreply.github.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M python/grass/benchmark/app.py
    M python/grass/benchmark/plots.py
    M python/grass/benchmark/runners.py
    M python/grass/benchmark/testsuite/test_benchmark.py
    M python/grass/benchmark/testsuite/test_benchmark_cli.py

  Log Message:
  -----------
  grass.benchmark: Compute speedup and enable plotting speedup/efficiency (#3835)

* add speedup in results, enable nprocs to plot speed or efficiency

* replace simple namespace with dictionary

* replace simplenamespace with dict in benchmark

* update tests for replacements

* revert unnecessary changes, initialize a simplenamespace result

* add a unittest for benchmark_nprocs

* Update cli and its test

* create a new axis for plot instead of using an exist one

Co-authored-by: Anna Petrasova <kratochanna at gmail.com>

* correct the formula for speedup

Co-authored-by: Anna Petrasova <kratochanna at gmail.com>

* add parameter doc in the plot function

---------

Co-authored-by: Anna Petrasova <kratochanna at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list