{"id":19899127,"url":"https://github.com/abc3/elixir_rust","last_synced_at":"2025-07-30T01:08:47.390Z","repository":{"id":135935539,"uuid":"582621746","full_name":"abc3/elixir_rust","owner":"abc3","description":"Comparison of an echo command through erlang port and rustler","archived":false,"fork":false,"pushed_at":"2024-03-31T10:19:44.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T20:44:23.941Z","etag":null,"topics":["elixir","rustler"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/abc3.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}},"created_at":"2022-12-27T11:46:19.000Z","updated_at":"2023-09-03T08:23:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"eca2a102-c823-401e-a02a-edd6a772d552","html_url":"https://github.com/abc3/elixir_rust","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/abc3%2Felixir_rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abc3%2Felixir_rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abc3%2Felixir_rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abc3%2Felixir_rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abc3","download_url":"https://codeload.github.com/abc3/elixir_rust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241329416,"owners_count":19944984,"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":["elixir","rustler"],"created_at":"2024-11-12T20:07:17.213Z","updated_at":"2025-07-30T01:08:47.358Z","avatar_url":"https://github.com/abc3.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Benchmark of echo functions from erlang port and nif via the [rustler](https://github.com/rusterlium/rustler) lib\n\n```\n$ make init \u0026\u0026 make bench\nmix run bench/echo.exs\nOperating System: macOS\nCPU Information: Apple M1 Pro\nNumber of Available Cores: 10\nAvailable memory: 16 GB\nElixir 1.14.0\nErlang 25.0.3\n\nBenchmark suite executing with the following configuration:\nwarmup: 2 s\ntime: 5 s\nmemory time: 0 ns\nreduction time: 0 ns\nparallel: 1\ninputs: none specified\nEstimated total run time: 14 s\n\nBenchmarking port echo ...\nBenchmarking rustler echo ...\n\nName                        ips        average  deviation         median         99th %\nelixir echo         121768.47 K     0.00821 μs ±44955.52%     0.00830 μs      0.0208 μs\nrustler echo          5639.88 K       0.177 μs ±15245.17%       0.125 μs        0.25 μs\nport echo              131.42 K        7.61 μs    ±75.05%           7 μs       12.79 μs\ndocker tcp socket        8.64 K      115.71 μs    ±19.07%      112.58 μs      175.71 μs\ndocker echo              4.16 K      240.56 μs    ±12.14%      238.17 μs      315.61 μs\n\nComparison:\nelixir echo         121768.47 K\nrustler echo          5639.88 K - 21.59x slower +0.169 μs\nport echo              131.42 K - 926.57x slower +7.60 μs\ndocker tcp socket        8.64 K - 14089.52x slower +115.70 μs\ndocker echo              4.16 K - 29292.60x slower +240.55 μs\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabc3%2Felixir_rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabc3%2Felixir_rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabc3%2Felixir_rust/lists"}