{"id":20586553,"url":"https://github.com/emsig/empymod-asv","last_synced_at":"2026-06-04T17:31:49.175Z","repository":{"id":130795955,"uuid":"139660633","full_name":"emsig/empymod-asv","owner":"emsig","description":"Benchmarks using airspeed velocity.","archived":false,"fork":false,"pushed_at":"2021-11-20T15:01:54.000Z","size":723,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-16T23:25:42.762Z","etag":null,"topics":["airspeed-velocity","benchmark","empymod"],"latest_commit_sha":null,"homepage":"https://emsig.github.io/empymod-asv/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emsig.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-04T02:51:31.000Z","updated_at":"2021-07-17T05:31:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"dff85681-7284-4cf1-84e2-6b2b52fabf60","html_url":"https://github.com/emsig/empymod-asv","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emsig%2Fempymod-asv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emsig%2Fempymod-asv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emsig%2Fempymod-asv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emsig%2Fempymod-asv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emsig","download_url":"https://codeload.github.com/emsig/empymod-asv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242214934,"owners_count":20090721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airspeed-velocity","benchmark","empymod"],"created_at":"2024-11-16T07:12:04.949Z","updated_at":"2025-03-06T13:16:51.539Z","avatar_url":"https://github.com/emsig.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Benchmarks for empymod using airspeed velocity\n\n[![asv](http://img.shields.io/badge/benchmark-asv-blue.svg?style=flat)](http://emsig.github.io/empymod-asv/)\n\nCurrently there are benchmarks for:\n\n   - `kernel`: `wavenumber`, `greenfct`, `reflections`, `fields`;\n   - `transform`: `fht`, `hqwe`, `hquad`, `ffht`, `fqwe`, `fftlog`, `fft`,\n     `dlf`;\n   - `model`: `bipole`, `dipole`, `analytical`.\n\nThe benchmarks are not very extensive, but sufficiently enough to catch any\nserious regression. The results have to be interpreted carefully, taking the\nwhole modelling chain into account (calculation as well as Hankel- and Fourier\ntransforms and interpolation, if applicable). An improvement or a regression in\none of the functions does not necessarily mean an improvement or a regression\nin the overall calculation (specifically true for the functions in\n`transform`).\n\nThe benchmarks only work backwards until a bit before `v1.2.0` (`a1dbe8ef` to\nbe precise). Before, `numexpr` was a mandatory requirement but it was not in\nthe `requirements.txt` and is not installed. If you want to run the benchmarks\nfor earlier commits too, you have to install `numexpr` manually in the\nenvironment which is used by `asv` (in the `asv/env`-directory). No benchmarks\nare carried out for `numexpr`, as `numexpr` really only helps if `empymod` is\nrun in parallel; benchmarks are run single-threaded, so there is not much\ndifference between `opt=None` and `opt='parallel'`.\n\nIn theory `asv` does not know about threading, everything is run with a single\nthread. However, there are cases where `OpenMP/OpenBLAS/MKL` might try some\n\"smart\" threading. On my machine, three benchmarks immediately send the CPU\nusage to 100%. However, instead of speeding things up this attempt of using\nseveral threads slows things down. Ensure `asv` is only using one thread on\nyour machine. In my case, the following resolved the issue (see `asv`-issue\n[#671](https://github.com/airspeed-velocity/asv/issues/671).)\n\n```\nexport OMP_NUM_THREADS=1\n```\n\nThe results which are shown on\n[emsig.github.io/empymod-asv/](http://emsig.github.io/empymod-asv/) are stored in the\n[github.com/emsig/empymod-bench](http://github.com/emsig/empymod-bench)-repo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femsig%2Fempymod-asv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femsig%2Fempymod-asv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femsig%2Fempymod-asv/lists"}