{"id":13418934,"url":"https://github.com/nickbruun/hayai","last_synced_at":"2025-03-15T04:31:08.883Z","repository":{"id":2411895,"uuid":"3379786","full_name":"nickbruun/hayai","owner":"nickbruun","description":"C++ benchmarking framework","archived":true,"fork":false,"pushed_at":"2019-08-23T18:13:52.000Z","size":1152,"stargazers_count":363,"open_issues_count":9,"forks_count":54,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-07-31T22:44:47.437Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://bruun.co/2012/02/07/easy-cpp-benchmarking","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nickbruun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-02-07T17:49:39.000Z","updated_at":"2024-07-24T21:01:51.000Z","dependencies_parsed_at":"2022-09-09T16:30:08.652Z","dependency_job_id":null,"html_url":"https://github.com/nickbruun/hayai","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbruun%2Fhayai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbruun%2Fhayai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbruun%2Fhayai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbruun%2Fhayai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickbruun","download_url":"https://codeload.github.com/nickbruun/hayai/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243685506,"owners_count":20330980,"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-07-30T22:01:09.051Z","updated_at":"2025-03-15T04:31:08.379Z","avatar_url":"https://github.com/nickbruun.png","language":"C++","funding_links":[],"categories":["TODO scan for Android support in followings","Libraries"],"sub_categories":["Paid","Benchmarking"],"readme":"# hayai - the C++ benchmarking framework.\n\n[![Build Status](https://travis-ci.org/nickbruun/hayai.svg?branch=master)](https://travis-ci.org/nickbruun/hayai)\n\n_hayai_ is a C++ framework for writing benchmarks for pieces of code along the lines of the normal approach for unit testing using frameworks such as [googletest](http://code.google.com/p/googletest/). For information on the origin of and how to use _hayai_, please read the [introductory blog post](https://bruun.co/2012/02/07/easy-cpp-benchmarking) until I have the time to write a proper README.\n\n\n## Installing hayai\n\nhayai releases are made available for Mac OS X in [Homebrew](http://brew.sh/) and for Ubuntu LTS releases in an [Ubuntu PPA](https://launchpad.net/~bruun/+archive/ubuntu/hayai).\n\nTo install from Homebrew on Mac OS X:\n\n    $ brew install hayai\n\nTo install from the Ubuntu PPA:\n\n    $ apt-add-repository ppa:bruun/hayai\n    $ apt-get update\n    $ apt-get install libhayai-dev\n\n\n## Building hayai\n\n_hayai_ is fully header based, but to use the simple `main` function as described in the introducty blog post, the source code must be compiled to provide `libhayai_main`. Compiling the source code requires `CMake` to be present on the system:\n\n    $ cd hayai\n    $ cmake .\n    $ make\n\nThis will also build the sample available in the `sample/` directory of the repository.\n\n\n## Developing hayai\n\n_hayai_ includes a (currently not at all very comprehensive) test suite for development. To use the test suite, pass a boolean true value as the `BUILD_HAYAI_TESTS` CMake variable:\n\n    $ cd hayai\n    $ cmake -DBUILD_HAYAI_TESTS=true .\n    $ make\n    $ make test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickbruun%2Fhayai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickbruun%2Fhayai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickbruun%2Fhayai/lists"}