{"id":17978422,"url":"https://github.com/mloskot/string_benchmark","last_synced_at":"2026-02-07T14:33:25.941Z","repository":{"id":66812285,"uuid":"60772095","full_name":"mloskot/string_benchmark","owner":"mloskot","description":"Simple benchmark comparing various operations on C-string, std::string and std::wstring, Boost algorithms and more (or less)","archived":false,"fork":false,"pushed_at":"2020-04-27T22:59:52.000Z","size":4087,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-09T12:20:31.057Z","etag":null,"topics":["benchmark","celero","performance","pycelerograph","string","string-manipulation"],"latest_commit_sha":null,"homepage":"https://mloskot.github.io/string_benchmark/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mloskot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-06-09T12:10:41.000Z","updated_at":"2022-05-25T18:23:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6e12020-7937-418b-bfc7-ab6eeaedb125","html_url":"https://github.com/mloskot/string_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/mloskot%2Fstring_benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloskot%2Fstring_benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloskot%2Fstring_benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mloskot%2Fstring_benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mloskot","download_url":"https://codeload.github.com/mloskot/string_benchmark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247099608,"owners_count":20883429,"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","celero","performance","pycelerograph","string","string-manipulation"],"created_at":"2024-10-29T17:33:36.517Z","updated_at":"2026-02-07T14:33:21.290Z","avatar_url":"https://github.com/mloskot.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# string_benchmark\n\nSimple non-academic performance comparison of various operations on C++ strings:\nC strings, character arrays, `std::string` and `std::wstring` classes\nas well as some of the Boost string algorithms.\n\nThe benchmarks use [Celero](https://github.com/DigitalInBlue/Celero) library.\n\nThe tests use [Catch](https://github.com/philsquared/Catch/).\n\n## Build Status\n\n| Branch | Travis CI | AppVeyor|\n|:--- |:--- |:--- |\n| `master` | [![status](https://travis-ci.org/mloskot/string_benchmark.svg?branch=master)](https://travis-ci.org/mloskot/string_benchmark) | [![status](https://ci.appveyor.com/api/projects/status/w07moe4jimo6cqp1/branch/master?svg=true)](https://ci.appveyor.com/project/mloskot/string-benchmark/branch/master) |\n\n## Results\n\nSee [charts](https://mloskot.github.io/string_benchmark/results) generate with [Bokeh](http://bokeh.pydata.org/).\n\nDetailed results are displayed in tabular form in the\n[Travis CI](https://travis-ci.org/mloskot/string_benchmark) and\n[AppVeyor](https://ci.appveyor.com/project/mloskot/string-benchmark)\nbuild logs.\n\n## Usage\n\nBuild and run the benchmark with:\n\n### Unix\n\n```\ncmake -DCMAKE_BUILD_TYPE=Release /path/to/string_benchmark\nmake\n```\n\n### Windows\n\n```\ncmake -G \"Visual Studio 15 2017 Win64\" -DBOOST_ROOT=C:/local/boost_1_63_0 /path/to/string_benchmark\nmsbuild /p:Configuration=Release /p:Platform=x64 string_benchmark.sln\n```\n\n### Run\n\nCMake generates `RUN` target. It runs all benchmarks automatically after successful\nbuild and tests run, saving results in CSV files named after benchmark programs.\n\n[Celero](https://github.com/DigitalInBlue/Celero#command-line) command line options are available.\n\n```\nbenchmark_iends_with -t benchmark_iends_with.csv\nbenchmark_istarts_with -t benchmark_istarts_with.csv\n```\n\n## Credits\n\n* [John Farrier](https://github.com/DigitalInBlue/) for the Celero benchmarking library.\n\n## Disclaimer\n\nThis project is driven by curiosity and for my own purposes.\nThis is not a rocket science, but a simple set of C++ programs,\nwith likelyhood of bugs, incorrectness or inconsistencies.\nFound any, please report.\nComments and improvements are always welcome!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmloskot%2Fstring_benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmloskot%2Fstring_benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmloskot%2Fstring_benchmark/lists"}