{"id":27171420,"url":"https://github.com/codspeedhq/boost-benches","last_synced_at":"2025-06-16T01:39:09.181Z","repository":{"id":282285065,"uuid":"948066518","full_name":"CodSpeedHQ/boost-benches","owner":"CodSpeedHQ","description":"Boost benchmarks in C++","archived":false,"fork":false,"pushed_at":"2025-03-26T17:02:25.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T17:43:09.032Z","etag":null,"topics":["benchmark","boost","cpp"],"latest_commit_sha":null,"homepage":"https://codspeed.io/CodSpeedHQ/boost-benches","language":"C++","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/CodSpeedHQ.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":"2025-03-13T17:34:54.000Z","updated_at":"2025-03-26T17:02:28.000Z","dependencies_parsed_at":"2025-03-13T19:27:13.056Z","dependency_job_id":"9a63da48-4189-40e7-a746-007c0e8ada73","html_url":"https://github.com/CodSpeedHQ/boost-benches","commit_stats":null,"previous_names":["avalanchehq/boost-bench","codspeedhq/boost-benches"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodSpeedHQ%2Fboost-benches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodSpeedHQ%2Fboost-benches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodSpeedHQ%2Fboost-benches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodSpeedHQ%2Fboost-benches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodSpeedHQ","download_url":"https://codeload.github.com/CodSpeedHQ/boost-benches/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248003974,"owners_count":21031896,"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":["benchmark","boost","cpp"],"created_at":"2025-04-09T08:34:20.382Z","updated_at":"2025-04-09T08:34:20.903Z","avatar_url":"https://github.com/CodSpeedHQ.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Boost Benchmarks\n\nA benchmarking suite for comparing performance of various Boost C++ library components using Google Benchmark.\n\n## Requirements\n\n- CMake 3.14+\n- C++17 compiler\n- Boost 1.87.0+ (with serialization and graph components)\n\n## Building\n\n```bash\n# Create build directory\nmkdir -p build\ncd build\n\n# Configure and build\n# For regular timing-based benchmarks:\ncmake -DCODSPEED_MODE=walltime ..\n# For CodSpeed instrumentation:\ncmake -DCODSPEED_MODE=instrumentation ..\n\nmake\n```\n\n## Running benchmarks\n\nFrom the build directory:\n\n```bash\n# Run individual component benchmarks\n./string_bench\n./container_bench\n./utility_bench\n./optional_bench\n./spirit_bench\n./multiindex_bench\n./graph_bench\n./serialization_bench\n\n# Run all benchmarks with a single command\ncmake --build . --target run_all_benchmarks\n\n# Pass arguments to all benchmarks\ncmake --build . --target run_all_benchmarks -- --benchmark_filter=BM_Boost\n\n# Run with regex filter\n./string_bench --benchmark_filter=\"BM_BoostLexicalCast\"\n\n# List available benchmarks\n./string_bench --benchmark_list_tests\n```\n\n## Benchmark Categories\n\n- **string_bench**: String operations, lexical_cast, regex, format\n- **container_bench**: Container performance comparisons\n- **utility_bench**: Type-safe any, algorithms, UUID generation\n- **optional_bench**: Boost vs std::optional\n- **spirit_bench**: Parsing operations (CSV, JSON, expressions)\n- **multiindex_bench**: Multi-index container operations\n- **graph_bench**: Graph algorithms (Dijkstra, A*, BFS, DFS)\n- **serialization_bench**: Serialization performance (text, binary, XML)\n\n## Custom Boost Version\n\nSpecify a custom Boost version:\n\n```bash\ncmake -DBOOST_VERSION=1.82.0 -DCODSPEED_MODE=walltime ..\n```\n\n## CodSpeed Integration\n\nThis project integrates with [CodSpeed](https://codspeed.io/) for CI performance tracking. For local testing, use:\n\n```bash\ncmake -DCODSPEED_MODE=instrumentation ..\nmake\n./string_bench  # Will show notice about running outside CI\n```\n\nFor CI integration, ensure the `CODSPEED_TOKEN` secret is set in your GitHub repository.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodspeedhq%2Fboost-benches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodspeedhq%2Fboost-benches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodspeedhq%2Fboost-benches/lists"}