{"id":20433760,"url":"https://github.com/intelpython/ibench","last_synced_at":"2025-04-12T21:06:41.543Z","repository":{"id":66109071,"uuid":"105714187","full_name":"IntelPython/ibench","owner":"IntelPython","description":"Benchmarks for python","archived":false,"fork":false,"pushed_at":"2024-08-16T18:33:48.000Z","size":91,"stargazers_count":27,"open_issues_count":1,"forks_count":11,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-12T21:06:36.700Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IntelPython.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-03T23:30:58.000Z","updated_at":"2024-08-16T18:33:49.000Z","dependencies_parsed_at":"2024-11-15T08:32:17.278Z","dependency_job_id":null,"html_url":"https://github.com/IntelPython/ibench","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntelPython%2Fibench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntelPython%2Fibench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntelPython%2Fibench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntelPython%2Fibench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IntelPython","download_url":"https://codeload.github.com/IntelPython/ibench/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631684,"owners_count":21136562,"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":[],"created_at":"2024-11-15T08:20:58.477Z","updated_at":"2025-04-12T21:06:41.518Z","avatar_url":"https://github.com/IntelPython.png","language":"Python","readme":"# ibench\n\nBenchmarks for Intel Distribution for Python.\n\n## Install\n```bash\n# Since you want to benchmark numpy/scipy, manually install the one you want\n# instead of letting pip install one\n# cython is needed to build native extensions in ibench_native\nconda install scipy cython scikit-learn\npip install -v --upgrade .\n```\n\n### Native versions\nIf `icc` and `cython` are available during the build, they will be used\nto build native benchmarks. To specify a different compiler, specify one\nin the environment variable `CXX`.\n\n## Run\n```bash\n# basic command\npython -m ibench run -b all --size large --runs 3 --file all.out\n```\n\n### Specifying benchmarks\n- To run one or multiple benchmarks, pass the `-b BENCHMARKS...` option.\n  Benchmarks can be specified individually, or in predefined groups\n  (e.g. `native` contains all native benchmarks)\n- To specify the problem size, use the `--size` option. This selects\n  from a list of predefined problem sizes.\n\n### Configuring output\nibench supports both JSON (default) and CSV output with collection of\nenvironment information. When using CSV format, ibench will prefix each\nline of environment information with a comment character (default `@`).\nUse the following arguments to the `run` subparser to configure its output:\n- `-f,--format FORMAT` - use the specified format (`json` or `csv`)\n- `--no-get-env-info` - don't collect environment or machine info\n- `--env-info-prefix` - prefix character to use before environment info\n\n## Running benchmarks by domain\n\n### Linear Algebra\n- To run python benchmarks: `python -m ibench run -b linalg --size large --runs 3 --file linalg.out`\n- To run native benchmarks*: `python -m ibench run -b native --size large --runs 3 --file native.out`\n\n\\* Currently, native benchmarks are only available for `det`, `dot`, `lu`, and `inv`.\n\n### Machine Learning\n- To run python benchmarks: `python -m ibench run -b sklearn --size large --runs 3 --file sklearn.out`\n- For comparable python and native benchmarks, see [scikit-learn_bench](https://github.com/IntelPython/scikit-learn_bench).\n\n### Fast Fourier Transforms\n- To run python benchmarks: `python -m ibench run -b fft --size large --runs 3 --file fft.out`\n- For comparable python and native benchmarks, see [fft_benchmark](https://github.com/IntelPython/fft_benchmark).\n\n### Random Number Generation\n- To run python benchmarks: `python -m ibench run -b rng --size large --runs 3 --file rng.out`\n- For comparable python and native benchmarks, see [optimizations_bench](https://github.com/IntelPython/optimizations_bench#random-number-generation).\n\n### Black-Scholes Formula\n- To run python Black-Scholes benchmark: `python -m ibench run -b blacksch --size large --runs 3 --file blacksch.out`\n- For comparable python and native benchmarks, see [BlackScholes_bench](https://github.com/IntelPython/BlackScholes_bench).\n\n### UMath\n- See [optimizations_bench](https://github.com/IntelPython/optimizations_bench#random-number-generation).\n\n## Help\n```bash\npython -m ibench --help\npython -m ibench run --help\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintelpython%2Fibench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintelpython%2Fibench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintelpython%2Fibench/lists"}