{"id":20080706,"url":"https://github.com/cloud8421/elixir-benchmark-test","last_synced_at":"2025-03-02T13:24:31.289Z","repository":{"id":12542271,"uuid":"15212344","full_name":"cloud8421/elixir-benchmark-test","owner":"cloud8421","description":"Repository with performance benchmarks for Elixir.","archived":false,"fork":false,"pushed_at":"2014-01-02T16:36:18.000Z","size":132,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T01:30:05.278Z","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/cloud8421.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":"2013-12-15T22:52:50.000Z","updated_at":"2022-08-22T19:25:40.000Z","dependencies_parsed_at":"2022-09-22T11:42:37.219Z","dependency_job_id":null,"html_url":"https://github.com/cloud8421/elixir-benchmark-test","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/cloud8421%2Felixir-benchmark-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud8421%2Felixir-benchmark-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud8421%2Felixir-benchmark-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud8421%2Felixir-benchmark-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloud8421","download_url":"https://codeload.github.com/cloud8421/elixir-benchmark-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241511293,"owners_count":19974387,"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-11-13T15:29:42.135Z","updated_at":"2025-03-02T13:24:31.271Z","avatar_url":"https://github.com/cloud8421.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ElixirBenchmarkTests\n\nThis repository collects benchmark tests for Elixir. The idea is that given two or more possible implementations for a single task, we want to see which is more performant.\n\n## Included tests\n\n#### Type Checker\n\nPass in a variable, the function determines the type. Current implementations:\n\n- Single function, using an internal `cond`. This is closer to a traditional if/else or switch/case implementation.\n- Single public function, multiple private functions with a guard clause for each type.\n\n#### Upcase a list\n\nGiven a list of words, upcase all of them. Current implementations:\n\n- Using `map` on the list.\n- Linear recursion on the list (i.e. where memory usage increases depending on the length of the list)\n- Iterative recursion on the list (also called tail, where each function call doesn't need any other following one to be computed).\n\nMore info on that [here](http://learnyousomeerlang.com/recursion#hello-recursion).\n\n## Setup\n\n    mix deps.get\n\n## Run\n\n    mix test\n\n## Want to help?\n\nYou can:\n\n- provide alternative implementations\n- suggest new test cases\n- build a better test output - this is very rough\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud8421%2Felixir-benchmark-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloud8421%2Felixir-benchmark-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud8421%2Felixir-benchmark-test/lists"}