feelpp / benchmarking

Benchmarking
https://feelpp.github.io/benchmarking/
1 stars 0 forks source link

resolves : 97 add custom cpu parametrization #99

Open JavierCladellas opened 1 week ago

JavierCladellas commented 1 week ago

Changed the parameters syntax. Supported modes are:

"linspace":{
  "min": 0.03,
  "max": 0.05,
  "n_steps": 3
}

"logspace":{
  "min": 0.03,
  "max": 0.05,
  "n_steps": 3,
  "base":10
}

"geometric":{
  "start": 8,
  "ratio": 2,
  "n_steps": 3
}

"range":{
  "min": 0.03,
  "max": 0.05,
  "step": 0.01
}

"sequence":[0.03,0.04,0.05]

"repeat":{
  "value":64
  "count"5
}

Added a "zip" parameter concept that allows to zip multiple sub-parameters given any of the previous generators :


        {
            "name": "nb_tasks",
            "zip": [
                {
                    "name":"tasks",
                    "geometric":{
                        "start":16,
                        "ratio":2,
                        "n_steps":4
                    }
                },
                {
                    "name":"nodes",
                    "sequence":[1,1,2,3]
                }
            ]
        }

The previous example will create : "nb_tasks":[{"tasks":16,"nodes":1},{"tasks":32,"nodes":1},{"tasks":64,"nodes":2},{"tasks":128,"nodes":3}]

The following (straightforward) syntax is also supported:

{
  "name": "nb_tasks",
  "sequence": [
      {"tasks" : 16, "nodes":1},
      {"tasks" : 32, "nodes":1},
      {"tasks" : 64, "nodes":2},
      {"tasks" : 128, "nodes":3}
  ]
}
netlify[bot] commented 1 week ago

Deploy Preview for benchmarking-polite-crostata-92f389 ready!

Name Link
Latest commit 93620fb2f58d9a51d84d8de19066cd7f839cae34
Latest deploy log https://app.netlify.com/sites/benchmarking-polite-crostata-92f389/deploys/671f6aead8d297000896655e
Deploy Preview https://deploy-preview-99--benchmarking-polite-crostata-92f389.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.