{"id":19381270,"url":"https://github.com/probably-not/elixir-random-benchmarks","last_synced_at":"2025-09-09T19:37:04.222Z","repository":{"id":56729413,"uuid":"190416580","full_name":"probably-not/elixir-random-benchmarks","owner":"probably-not","description":"A playground repository for checking random benchmarks in the Elixir language","archived":false,"fork":false,"pushed_at":"2021-04-18T20:12:14.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-16T16:52:28.114Z","etag":null,"topics":["benchmark","elixir","elixir-lang"],"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/probably-not.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":"2019-06-05T15:03:50.000Z","updated_at":"2021-08-03T13:30:54.000Z","dependencies_parsed_at":"2022-08-16T00:40:22.051Z","dependency_job_id":null,"html_url":"https://github.com/probably-not/elixir-random-benchmarks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/probably-not/elixir-random-benchmarks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probably-not%2Felixir-random-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probably-not%2Felixir-random-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probably-not%2Felixir-random-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probably-not%2Felixir-random-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/probably-not","download_url":"https://codeload.github.com/probably-not/elixir-random-benchmarks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/probably-not%2Felixir-random-benchmarks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274349468,"owners_count":25268979,"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-09T02:00:10.223Z","response_time":80,"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":["benchmark","elixir","elixir-lang"],"created_at":"2024-11-10T09:16:29.391Z","updated_at":"2025-09-09T19:37:04.205Z","avatar_url":"https://github.com/probably-not.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elixir Random Benchmarks\n\nA collection of functions I've been using to benchmark various Elixir functionalities.\n\nAs part of building out [Starship](https://github.com/probably-not/starship), I've been trying to use the fastest and most performant functions in Elixir.\nThis project is what I use to benchmark random functions in order to choose the best and fastest functions.\n\n## Current Benchmarks\n\nIn [random_benchmarks.ex](https://github.com/probably-not/elixir-random-benchmarks/blob/master/lib/random_benchmarks.ex) you'll find a collection of functions that run Benchee Benchmarks on functions in the Elixir Core Language. These were just random functions I wanted to compare in the core of the language in order to choose the best function to use in my project.\n\nIn [json_benchmarks.ex](https://github.com/probably-not/elixir-random-benchmarks/blob/master/lib/json_benchmarks.ex) you'll find my benchmarking of the JSON libraries in Elixir that I have used in the past. I've seen on each of these libraries home pages that they are the fastest, so I decided to find out for myself. I'll try to update this regularly as the libraries get updated or as I find others that I use regularly.\n\n**Note: I used some random documents I found on my work computer to test inputs in JSON, so I cannot upload them to public GitHib repos. I will add the file sizes here so you can see the general size differences on the different inputs.**\n\nFile Sizes:\n- tiny.json - 1,351 bytes (1 KB)\n- small.json - 4,333,998 bytes (4.3 MB)\n- medium.json - 21,347,852 bytes (21.3 MB)\n- large.json - 177,435,045 bytes (177.4 MB)\n\nTo see the output from the JSON Benchmarks, see the [outputs directory](https://github.com/probably-not/elixir-random-benchmarks/tree/master/ouputs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobably-not%2Felixir-random-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprobably-not%2Felixir-random-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprobably-not%2Felixir-random-benchmarks/lists"}