{"id":28533999,"url":"https://github.com/vectordotdev/rust-benches","last_synced_at":"2025-07-07T21:31:54.099Z","repository":{"id":53591465,"uuid":"350398934","full_name":"vectordotdev/rust-benches","owner":"vectordotdev","description":"Stand-alone benches for profiling usage of types we use in vector","archived":false,"fork":false,"pushed_at":"2021-03-22T17:30:12.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T17:11:22.904Z","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/vectordotdev.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":"2021-03-22T15:42:30.000Z","updated_at":"2021-05-24T05:31:48.000Z","dependencies_parsed_at":"2022-09-21T20:35:14.503Z","dependency_job_id":null,"html_url":"https://github.com/vectordotdev/rust-benches","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vectordotdev/rust-benches","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectordotdev%2Frust-benches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectordotdev%2Frust-benches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectordotdev%2Frust-benches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectordotdev%2Frust-benches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vectordotdev","download_url":"https://codeload.github.com/vectordotdev/rust-benches/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vectordotdev%2Frust-benches/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264149245,"owners_count":23564426,"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":"2025-06-09T17:09:30.194Z","updated_at":"2025-07-07T21:31:54.094Z","avatar_url":"https://github.com/vectordotdev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"rust-benches\n============\n\nThis repo contains standalone benches using criterion for various Rust\ncomponents to understand their performance profiles. So far this is just\nchannels.\n\nThey can be run via:\n\n```\n$ cargo bench\n```\n\nResults on OSX with 2.3 GHz Quad-Core Intel Core i7.\n\n```\ngroup                                          base\n-----                                          ----\nchannels/data_size/async-std 1.9/100000x1      1.00     28.4±1.53ns 3274.1 GElem/sec\nchannels/data_size/async-std 1.9/100000x10     1.00     28.9±2.03ns 32190.7 GElem/sec\nchannels/data_size/async-std 1.9/100000x100    1.00    30.8±11.97ns 302132.2 GElem/sec\nchannels/data_size/async-std 1.9/1000x1        1.00     22.4±3.24ns 41.5 GElem/sec\nchannels/data_size/async-std 1.9/1000x10       1.00     21.6±2.68ns 430.9 GElem/sec\nchannels/data_size/async-std 1.9/1000x100      1.00     21.2±3.87ns 4395.5 GElem/sec\nchannels/data_size/futures 0.3/100000x1        1.00    31.9±17.70ns 2922.9 GElem/sec\nchannels/data_size/futures 0.3/100000x10       1.00     30.2±1.44ns 30876.5 GElem/sec\nchannels/data_size/futures 0.3/100000x100      1.00     30.1±2.82ns 309821.2 GElem/sec\nchannels/data_size/futures 0.3/1000x1          1.00     24.4±3.21ns 38.2 GElem/sec\nchannels/data_size/futures 0.3/1000x10         1.00     23.9±4.78ns 389.5 GElem/sec\nchannels/data_size/futures 0.3/1000x100        1.00    24.7±10.32ns 3768.6 GElem/sec\nchannels/data_size/tokio 0.2/100000x1          1.00     19.1±1.70ms  5.0 MElem/sec\nchannels/data_size/tokio 0.2/100000x10         1.00     21.3±2.66ms 44.7 MElem/sec\nchannels/data_size/tokio 0.2/100000x100        1.00     46.7±2.68ms 204.2 MElem/sec\nchannels/data_size/tokio 0.2/1000x1            1.00   175.1±19.64µs  5.4 MElem/sec\nchannels/data_size/tokio 0.2/1000x10           1.00   177.8±23.76µs 53.6 MElem/sec\nchannels/data_size/tokio 0.2/1000x100          1.00   181.8±26.66µs 524.5 MElem/sec\nchannels/data_size/tokio 1.1/100000x1          1.00     22.5±2.59ms  4.2 MElem/sec\nchannels/data_size/tokio 1.1/100000x10         1.00     23.6±1.65ms 40.5 MElem/sec\nchannels/data_size/tokio 1.1/100000x100        1.00     48.4±2.39ms 197.1 MElem/sec\nchannels/data_size/tokio 1.1/1000x1            1.00   196.5±21.58µs  4.9 MElem/sec\nchannels/data_size/tokio 1.1/1000x10           1.00   214.9±33.27µs 44.4 MElem/sec\nchannels/data_size/tokio 1.1/1000x100          1.00   214.1±23.91µs 445.4 MElem/sec\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvectordotdev%2Frust-benches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvectordotdev%2Frust-benches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvectordotdev%2Frust-benches/lists"}