{"id":13706275,"url":"https://github.com/CodeForcer/rust-pending-stream","last_synced_at":"2025-05-05T20:30:37.667Z","repository":{"id":50241036,"uuid":"372219364","full_name":"CodeForcer/rust-pending-stream","owner":"CodeForcer","description":"Pending transaction stream in rust","archived":false,"fork":false,"pushed_at":"2021-05-31T19:59:53.000Z","size":52,"stargazers_count":26,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-03T22:16:58.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/CodeForcer.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}},"created_at":"2021-05-30T13:19:11.000Z","updated_at":"2023-05-30T16:21:20.000Z","dependencies_parsed_at":"2022-09-06T10:42:05.671Z","dependency_job_id":null,"html_url":"https://github.com/CodeForcer/rust-pending-stream","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/CodeForcer%2Frust-pending-stream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForcer%2Frust-pending-stream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForcer%2Frust-pending-stream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeForcer%2Frust-pending-stream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeForcer","download_url":"https://codeload.github.com/CodeForcer/rust-pending-stream/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224465741,"owners_count":17315867,"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-08-02T22:00:53.775Z","updated_at":"2024-11-13T14:30:43.502Z","avatar_url":"https://github.com/CodeForcer.png","language":"Rust","readme":"# ethers.js vs ethers-rs mempool stream performance\n\nBased on these tests Rust appears to be approximately 62.67% faster for mempool streaming than Typescript on the same hardware and node connection\n\n## Installation\n\n```\ncargo build\n```\n\n## Run\n\nStart server\n```\ncargo run\n```\n\n## Benchmarking against Typescript code\n\nInstall Typescript\n```\ncd benchmarks\nyarn install\n```\n\nCompare benchmarks for processing over 60 seconds\n```\n# Run Typescript for 60 seconds\nts-node pending-stream.ts \u0026 sleep 60 ; kill $!\n\n# Run equivalent Rust code for 60 seconds\n./target/release/pending-stream \u0026 sleep 60 ; kill $!\n```","funding_links":[],"categories":["⛓️🧰🦀 web3 toolkit - rust edition"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCodeForcer%2Frust-pending-stream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCodeForcer%2Frust-pending-stream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCodeForcer%2Frust-pending-stream/lists"}