{"id":20101570,"url":"https://github.com/xtensor-stack/xtensor-benchmark","last_synced_at":"2025-05-06T06:33:29.037Z","repository":{"id":75958887,"uuid":"113297457","full_name":"xtensor-stack/xtensor-benchmark","owner":"xtensor-stack","description":"Easy to use benchmarks for linear algebra frameworks","archived":false,"fork":false,"pushed_at":"2020-06-05T08:16:40.000Z","size":107,"stargazers_count":24,"open_issues_count":7,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-09T09:51:48.746Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xtensor-stack.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":"2017-12-06T09:41:17.000Z","updated_at":"2023-10-25T08:53:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc045e04-8185-41c5-bc58-ac382ae7b642","html_url":"https://github.com/xtensor-stack/xtensor-benchmark","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/xtensor-stack%2Fxtensor-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtensor-stack%2Fxtensor-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtensor-stack%2Fxtensor-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtensor-stack%2Fxtensor-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtensor-stack","download_url":"https://codeload.github.com/xtensor-stack/xtensor-benchmark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252633904,"owners_count":21779944,"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-13T17:25:47.654Z","updated_at":"2025-05-06T06:33:29.031Z","avatar_url":"https://github.com/xtensor-stack.png","language":"C++","readme":"# Benchmarks for linear algebra frameworks\n\nThis benchmarking suite allows a direct comparison of popular linear algebra frameworks in C++.\nThe libraries are easy-to-install using the conda package manager:\n\n```\nconda env create -f environment.yml\n```\n\nThe environment.yml installs the following libraries:\n\n- xtensor with xsimd\n- Eigen3\n- Armadillo\n- Blitz++\n\nAfter setting up the environment, it is advised to create a `build` directory, and execute `cmake`:\n\n```\nmkdir build\ncd build\ncmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DBENCHMARK_ALL=ON\n```\n\nYou should see a message for each found library, similar to the following:\n\n```\n          COMPILING WITH\n======================================\n\n\nFound eigen     : /home/myuser/miniconda3/envs/bench/include/eigen3\nFound Blitz     : /home/myuser/miniconda3/envs/bench/include | /home/myuser/miniconda3/envs/bench/lib/libblitz.so\nFound Armadillo : /home/myuser/miniconda3/envs/bench/include | /home/myuser/miniconda3/envs/bench/lib/libarmadillo.so\nFound xtensor   : /home/myuser/miniconda3/envs/bench/include\nFound xsimd     : /home/myuser/miniconda3/envs/bench/include\n```\n\nThis allows you to make sure you're compiling with the correct, up-to-date versions of the libraries.\n\nTo build and run the benchmarks, just use the following command:\n\n```\nmake xbenchmark\n```\n\nIf you are only interested in specific benchmarks, build with `make xtensor_benchmark` and then run manually `./xtensor_benchmark --benchmark_filter=my_benchmark`. The backend to the benchmarks is the popular google-benchmark suite, so look there for more documentation.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtensor-stack%2Fxtensor-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtensor-stack%2Fxtensor-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtensor-stack%2Fxtensor-benchmark/lists"}