{"id":19884292,"url":"https://github.com/techempower/tfbverifier","last_synced_at":"2025-05-02T15:30:53.516Z","repository":{"id":55151845,"uuid":"276436816","full_name":"TechEmpower/TFBVerifier","owner":"TechEmpower","description":"The application which verifies and benchmarks TechEmpower Framework Benchmark test implementations.","archived":false,"fork":false,"pushed_at":"2022-02-18T17:20:59.000Z","size":291,"stargazers_count":3,"open_issues_count":2,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-07T03:03:02.682Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.techempower.com/benchmarks/","language":"Rust","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/TechEmpower.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}},"created_at":"2020-07-01T17:05:38.000Z","updated_at":"2024-06-30T22:39:42.000Z","dependencies_parsed_at":"2022-08-14T13:31:45.529Z","dependency_job_id":null,"html_url":"https://github.com/TechEmpower/TFBVerifier","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/TechEmpower%2FTFBVerifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechEmpower%2FTFBVerifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechEmpower%2FTFBVerifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechEmpower%2FTFBVerifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechEmpower","download_url":"https://codeload.github.com/TechEmpower/TFBVerifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252062718,"owners_count":21688588,"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-12T17:26:08.090Z","updated_at":"2025-05-02T15:30:53.019Z","avatar_url":"https://github.com/TechEmpower.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TFBVerifier\r\n\r\n[![Build Status](https://github.com/TechEmpower/TFBVerifier/workflows/build/badge.svg?branch=master\u0026event=push)](https://github.com/TechEmpower/TFBVerifier/actions?query=workflow%3Abuild+branch%3Amaster)\r\n\r\nThe application that verifies the response from an application running in the\r\n[TechEmpower Framework Benchmarks](https://github.com/TechEmpower/FrameworkBenchmarks).\r\n\r\nThe goal of this application is to live in isolation from \r\n[test implementations](https://github.com/TechEmpower/FrameworkBenchmarks) and \r\neven the [TFBToolset](https://github.com/TechEmpower/TFBToolset). This \r\napplication contains a Dockerfile which is how the Docker Image is created and \r\neventually published to Dockerhub.\r\n\r\nThe TFBToolset uses that published Docker image to verify test implementations\r\nin the FrameworkBenchmarks project.\r\n\r\n## Getting Started\r\n\r\nThese instructions will get you a copy of the project up and running on your \r\nlocal machine for development and testing purposes.\r\n\r\n### Prerequisites\r\n\r\n* [Rust](https://rustup.rs/)\r\n* [Docker](https://docs.docker.com/engine/install/)* or [Docker4Windows](https://docs.docker.com/docker-for-windows/install/)*\r\n* [TechEmpower Frameworks](https://github.com/TechEmpower/FrameworkBenchmarks)*\r\n* [TFBToolset](https://github.com/TechEmpower/TFBToolset)*\r\n\r\n\\* Not required for development or testing; only full-suite testing and deploying.\r\n\r\n#### Windows Only\r\n\r\n* [Expose daemon on `tcp://localhost:2375`](https://docs.docker.com/docker-for-windows/#general)*\r\n\r\n\\* Not required for development or testing; only full-suite testing and deploying.\r\n\r\n### Running the tests\r\n\r\n```\r\n$ cargo test\r\n```\r\n\r\n### Building\r\n\r\n```\r\n$ cargo build --release\r\n```\r\n\r\n### Installing\r\n\r\n```\r\n$ docker build -t techempower/tfb.verifier .\r\n```\r\n\r\n## Running\r\n\r\nTo run any verification, a test implementation must be running from the \r\nTFBToolset in `debug` mode, which will attach the test implementation to the\r\nDocker Network `TFBNetwork`.\r\n\r\n```\r\n$ docker run -it --network=TFBNetwork -e \"MODE=[probably verify, but maybe benchmark]\" -e \"CONCURRENCY_LEVELS=16,32,64,128,256,512\" -e \"PIPELINE_CONCURRENCY_LEVELS=256,1024,4096,16384\" -e \"DATABASE=[database you want to verify; this env var *can* be ignored]\" -e \"PORT=[the exposed port]\" -e \"TEST_TYPE=[the test type you want to verify]\" -e \"ENDPOINT=[the relative URL]\" tfb.verifier\r\n```\r\n\r\n## Authors\r\n\r\n* **Mike Smith** - *Initial work* - [msmith](https://github.com/msmith-techempower)\r\n\r\n## License\r\n\r\nThis project is licensed under the BSD-3-Clause License - see the [LICENSE.md](LICENSE.md) file for details\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechempower%2Ftfbverifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechempower%2Ftfbverifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechempower%2Ftfbverifier/lists"}