{"id":20862397,"url":"https://github.com/bencheeorg/benchee_erlang_try","last_synced_at":"2026-04-19T21:34:19.280Z","repository":{"id":130657759,"uuid":"91960712","full_name":"bencheeorg/benchee_erlang_try","owner":"bencheeorg","description":"Trying to use benchee from Erlang","archived":false,"fork":false,"pushed_at":"2020-07-05T09:28:40.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-12T14:49:17.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bencheeorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-05-21T13:50:58.000Z","updated_at":"2023-07-25T14:09:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"b75262be-2e0f-4998-a48a-ff1416a07661","html_url":"https://github.com/bencheeorg/benchee_erlang_try","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bencheeorg/benchee_erlang_try","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencheeorg%2Fbenchee_erlang_try","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencheeorg%2Fbenchee_erlang_try/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencheeorg%2Fbenchee_erlang_try/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencheeorg%2Fbenchee_erlang_try/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bencheeorg","download_url":"https://codeload.github.com/bencheeorg/benchee_erlang_try/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencheeorg%2Fbenchee_erlang_try/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28038930,"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-12-25T02:00:05.988Z","response_time":58,"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-18T05:23:35.378Z","updated_at":"2025-12-25T22:19:01.423Z","avatar_url":"https://github.com/bencheeorg.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"benchee_erlang\n=====\n\nAn escript trying to use benchee from Erlang. partly working, as in the escript doesn't work (issues are filed) but it works in a shell and should work with a release/in a normal project. It uses [rebar3_elixir_compile](https://github.com/barrel-db/rebar3_elixir_compile).\n\nI've had problems with old dependencies still sticking around with this, what then helped was `rm -r` on `_elixir_build` and `_build` and then doing another `rebar3 update`, `rebar3 upgrade` adn then `rebar3 shell`.\n\n```\ntobi@comfy ~/github/benchee_erlang_try $ rebar3 shell\n===\u003e Verifying dependencies...\n===\u003e Upgrading benchee ({elixir,\"benchee\",\"0.9.0\"})\nDependency benchee already exists\n\nRunning dependency resolution...\nDependency resolution completed:\n  bunt 0.2.0\n  certifi 1.2.1\n  credo 0.8.1\n  deep_merge 0.1.1\n  dialyxir 0.5.0\n  earmark 1.2.2\n  ex_doc 0.16.1\n  excoveralls 0.6.5\n  exjsx 4.0.0\n  fs 2.12.0\n  hackney 1.8.5\n  idna 5.0.2\n  inch_ex 0.5.6\n  jsx 2.8.2\n  metrics 1.0.1\n  mimerl 1.0.2\n  mix_test_watch 0.4.0\n  poison 3.1.0\n  ssl_verify_fun 1.1.1\n  unicode_util_compat 0.2.0\nAll dependencies up to date\n===\u003e Upgrading deep_merge ({elixir,\"deep_merge\",\"0.1.1\"})\n===\u003e Compiling benchee_erlang\n===\u003e Adding Elixir Libs\nErlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false]\n\nEshell V7.3  (abort with ^G)\n1\u003e benchee:run(#{myFunc =\u003e fun() -\u003e lists:sort([8, 2, 3, 4, 2, 1, 3, 4, 9, 10, 11, 12, 13, 20, 1000, -4, -5]) end}, [{warmup, 0}, {time, 2}]).\nOperating System: Linux\nCPU Information: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz\nNumber of Available Cores: 4\nAvailable memory: 8.05344 GB\nElixir 1.3.4\nErlang 18.3\nBenchmark suite executing with the following configuration:\nwarmup: 0.0 μs\ntime: 2.00 s\nparallel: 1\ninputs: none specified\nEstimated total run time: 2.00 s\n\n\nBenchmarking myFunc...\n\nName             ips        average  deviation         median\nmyFunc      289.71 K        3.45 μs   ±250.31%        3.00 μs\n#{'__struct__' =\u003e 'Elixir.Benchee.Suite',\n  configuration =\u003e #{'__struct__' =\u003e 'Elixir.Benchee.Configuration',\n    assigns =\u003e #{},\n    formatter_options =\u003e #{console =\u003e #{comparison =\u003e true,unit_scaling =\u003e best}},\n    formatters =\u003e [#Fun\u003cElixir.Benchee.Formatters.Console.output.1\u003e],\n    inputs =\u003e nil,\n    parallel =\u003e 1,\n    print =\u003e #{benchmarking =\u003e true,configuration =\u003e true,fast_warning =\u003e true},\n    time =\u003e 2000000,\n    warmup =\u003e 0},\n  jobs =\u003e #{\u003c\u003c\"myFunc\"\u003e\u003e =\u003e #Fun\u003cerl_eval.20.50752066\u003e},\n  run_times =\u003e #{'__no_input' =\u003e #{\u003c\u003c\"myFunc\"\u003e\u003e =\u003e [23,7,5,5,4,5,4,4,5,4,3,4,3,4,4,3,6,4,3,4,3,4,4|...]}},\n  statistics =\u003e #{'__no_input' =\u003e #{\u003c\u003c\"myFunc\"\u003e\u003e =\u003e #{'__struct__' =\u003e 'Elixir.Benchee.Statistics',\n        average =\u003e 3.451688546908079,\n        ips =\u003e 289713.27696867974,\n        maximum =\u003e 2936,\n        median =\u003e 3.0,\n        minimum =\u003e 3,\n        sample_size =\u003e 500223,\n        std_dev =\u003e 8.639837960818141,\n        std_dev_ips =\u003e 725174.2832791796,\n        std_dev_ratio =\u003e 2.5030757681070193}}},\n  system =\u003e #{available_memory =\u003e \u003c\u003c\"8.05344 GB\"\u003e\u003e,\n    cpu_speed =\u003e \u003c\u003c\"Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz\"\u003e\u003e,\n    elixir =\u003e \u003c\u003c\"1.3.4\"\u003e\u003e,\n    erlang =\u003e \u003c\u003c\"18.3\"\u003e\u003e,\n    num_cores =\u003e 4,\n    os =\u003e 'Linux'}}\n\n```\n\n\nBuild\n-----\n\n    $ rebar3 escriptize\n\nRun\n---\n\n    $ _build/default/bin/benchee_erlang\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencheeorg%2Fbenchee_erlang_try","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbencheeorg%2Fbenchee_erlang_try","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencheeorg%2Fbenchee_erlang_try/lists"}