{"id":21401798,"url":"https://github.com/michael-michalski/benchmark_persistent_term","last_synced_at":"2026-05-19T00:36:41.687Z","repository":{"id":179406931,"uuid":"256235303","full_name":"michael-michalski/benchmark_persistent_term","owner":"michael-michalski","description":"Benchmarking :persistent_term as a way of reading static platform configuration","archived":false,"fork":false,"pushed_at":"2020-04-16T14:28:54.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T03:15:57.026Z","etag":null,"topics":["elixir","erlang"],"latest_commit_sha":null,"homepage":"https://erlang.org/doc/man/persistent_term.html","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/michael-michalski.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":"2020-04-16T14:15:42.000Z","updated_at":"2021-07-13T15:52:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf5348fc-1f16-49a4-a2e0-c4f22b0a4372","html_url":"https://github.com/michael-michalski/benchmark_persistent_term","commit_stats":null,"previous_names":["michael-michalski/benchmark_persistent_term"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-michalski%2Fbenchmark_persistent_term","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-michalski%2Fbenchmark_persistent_term/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-michalski%2Fbenchmark_persistent_term/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michael-michalski%2Fbenchmark_persistent_term/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michael-michalski","download_url":"https://codeload.github.com/michael-michalski/benchmark_persistent_term/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243893902,"owners_count":20364919,"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","erlang"],"created_at":"2024-11-22T15:29:22.164Z","updated_at":"2026-05-19T00:36:41.656Z","avatar_url":"https://github.com/michael-michalski.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BenchmarkPersistentTerm\n\nhttps://erlang.org/doc/man/persistent_term.html\n\n```\nOperating System: Linux\nCPU Information: Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz\nNumber of Available Cores: 8\nAvailable memory: 31.34 GB\nElixir 1.10.2\nErlang 22.3.2\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: 21 s\n\nBenchmarking :persistent_term.get...\nBenchmarking Application.fetch_env!...\nBenchmarking System.get_env...\n\nName                             ips        average  deviation         median         99th %\n:persistent_term.get         25.58 M       39.09 ns  ±1083.89%          28 ns         105 ns\nApplication.fetch_env!        3.68 M      271.67 ns  ±5645.43%         204 ns         549 ns\nSystem.get_env                2.08 M      481.78 ns  ±4130.15%         327 ns         708 ns\n\nComparison:\n:persistent_term.get         25.58 M\nApplication.fetch_env!        3.68 M - 6.95x slower +232.58 ns\nSystem.get_env                2.08 M - 12.33x slower +442.69 ns\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael-michalski%2Fbenchmark_persistent_term","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichael-michalski%2Fbenchmark_persistent_term","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichael-michalski%2Fbenchmark_persistent_term/lists"}