{"id":16368075,"url":"https://github.com/code-ape/regex-bench-rs","last_synced_at":"2026-02-26T10:30:17.536Z","repository":{"id":176108343,"uuid":"654975980","full_name":"code-ape/regex-bench-rs","owner":"code-ape","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-17T15:06:43.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T06:42:34.148Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/code-ape.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":"2023-06-17T13:57:45.000Z","updated_at":"2023-06-17T15:06:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"969dd029-a9ad-4218-a472-97fff4d42f84","html_url":"https://github.com/code-ape/regex-bench-rs","commit_stats":null,"previous_names":["code-ape/regex-bench-rs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-ape%2Fregex-bench-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-ape%2Fregex-bench-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-ape%2Fregex-bench-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-ape%2Fregex-bench-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-ape","download_url":"https://codeload.github.com/code-ape/regex-bench-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239868887,"owners_count":19710478,"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-10-11T02:51:35.939Z","updated_at":"2026-02-26T10:30:17.503Z","avatar_url":"https://github.com/code-ape.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# regex-bench-rs\n\nCreated by @code-ape to try and help @BurntSushi with issue: https://github.com/rust-lang/regex/issues/1013\n\nTested with rust version: `1.70.0`\n\nThis allows for testing of thread throughput for `memchr` with thread pinning to rule out OS scheduler issues.\n\nExample useage:\n\n```bash\nTARGET_CPU_CORES=\"0,1,2\"\nNUM_SECONDS=30\ncargo run --release $TARGET_CPU_CORES $NUM_SECONDS\n#     Finished release [optimized] target(s) in 0.03s\n#      Running `target/release/regex-bench-rs 0,1,2 30`\n# cpu cores available = [0, 1, 2, 3, 4, 5, 6, 7]\n# core #2, cycles = 289000, secs = 30.114256, cycles/sec = 9596.784\n# core #1, cycles = 287000, secs = 30.176537, cycles/sec = 9510.7\n# core #0, cycles = 278000, secs = 30.216137, cycles/sec = 9200.382\n# total 30.217348\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-ape%2Fregex-bench-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-ape%2Fregex-bench-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-ape%2Fregex-bench-rs/lists"}