{"id":18622568,"url":"https://github.com/mindreframer/elixir_bench","last_synced_at":"2025-09-04T13:40:35.617Z","repository":{"id":66494682,"uuid":"415091171","full_name":"mindreframer/elixir_bench","owner":"mindreframer","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-09T10:52:27.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-17T05:38:30.455Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mindreframer.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":"2021-10-08T18:34:50.000Z","updated_at":"2021-10-09T10:52:29.000Z","dependencies_parsed_at":"2023-02-21T13:00:27.042Z","dependency_job_id":null,"html_url":"https://github.com/mindreframer/elixir_bench","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mindreframer/elixir_bench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindreframer%2Felixir_bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindreframer%2Felixir_bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindreframer%2Felixir_bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindreframer%2Felixir_bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mindreframer","download_url":"https://codeload.github.com/mindreframer/elixir_bench/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindreframer%2Felixir_bench/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273618735,"owners_count":25138233,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-07T04:17:35.099Z","updated_at":"2025-09-04T13:40:35.548Z","avatar_url":"https://github.com/mindreframer.png","language":"Elixir","readme":"# ElixirBench\n\n### Results\n\n```bash\n##### SMALL XML\n$ mix run bench/xml_parsers_small.exs\nOperating System: macOS\nCPU Information: Apple M1\nNumber of Available Cores: 8\nAvailable memory: 16 GB\nElixir 1.12.2\nErlang 24.0.4\n\nBenchmark suite executing with the following configuration:\nwarmup: 2 s\ntime: 5 s\nmemory time: 0 ns\nparallel: 1\ninputs: none specified\nEstimated total run time: 35 s\n\nBenchmarking Parser1 - SweetXml...\nBenchmarking Parser2 - SAXMap...\nBenchmarking Parser3 - Saxy.SimpleForm...\nBenchmarking ParserSAX...\nBenchmarking ParserSweet...\n\nName                                ips        average  deviation         median         99th %\nParser3 - Saxy.SimpleForm        743.04        1.35 ms     ±9.96%        1.31 ms        1.58 ms\nParser2 - SAXMap                 513.09        1.95 ms    ±10.97%        1.92 ms        2.74 ms\nParserSAX                        507.30        1.97 ms    ±10.88%        1.93 ms        2.82 ms\nParser1 - SweetXml               155.21        6.44 ms     ±9.56%        6.50 ms        7.51 ms\nParserSweet                      120.04        8.33 ms     ±2.81%        8.45 ms        8.95 ms\n\nComparison:\nParser3 - Saxy.SimpleForm        743.04\nParser2 - SAXMap                 513.09 - 1.45x slower +0.60 ms\nParserSAX                        507.30 - 1.46x slower +0.63 ms\nParser1 - SweetXml               155.21 - 4.79x slower +5.10 ms\nParserSweet                      120.04 - 6.19x slower +6.98 ms\n```\n\n```bash\n##### BIG XML\n$ mix run bench/xml_parsers_big.exs\nCompiling 1 file (.ex)\nOperating System: macOS\nCPU Information: Apple M1\nNumber of Available Cores: 8\nAvailable memory: 16 GB\nElixir 1.12.2\nErlang 24.0.4\n\nBenchmark suite executing with the following configuration:\nwarmup: 2 s\ntime: 5 s\nmemory time: 0 ns\nparallel: 1\ninputs: none specified\nEstimated total run time: 35 s\n\nBenchmarking Parser1 - SweetXml...\nBenchmarking Parser2 - SAXMap...\nBenchmarking Parser3 - Saxy.SimpleForm...\nBenchmarking ParserSAX...\nBenchmarking ParserSweet...\n\nName                                ips        average  deviation         median         99th %\nParser3 - Saxy.SimpleForm         54.35       18.40 ms     ±7.69%       18.52 ms       22.93 ms\nParser2 - SAXMap                  40.38       24.76 ms     ±6.67%       24.65 ms       28.60 ms\nParserSAX                         40.21       24.87 ms     ±3.97%       24.82 ms       27.28 ms\nParser1 - SweetXml                 5.11      195.70 ms     ±5.51%      196.54 ms      212.76 ms\nParserSweet                        3.62      276.30 ms     ±0.72%      275.74 ms      283.27 ms\n\nComparison:\nParser3 - Saxy.SimpleForm         54.35\nParser2 - SAXMap                  40.38 - 1.35x slower +6.36 ms\nParserSAX                         40.21 - 1.35x slower +6.47 ms\nParser1 - SweetXml                 5.11 - 10.64x slower +177.30 ms\nParserSweet                        3.62 - 15.02x slower +257.90 ms\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindreframer%2Felixir_bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmindreframer%2Felixir_bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindreframer%2Felixir_bench/lists"}